x86实模式Memory Map和Port Address Assignments

来源:互联网 发布:linux创建txt文件 编辑:程序博客网 时间:2024/05/18 02:59

转自:http://hi.baidu.com/xshaonan/blog/item/443c8b091ff8bbc53bc763b7.html

 

General x86 Real Mode Memory Map:

  • 0x00000000 - 0x000003FF - Real Mode Interrupt Vector Table
  • 0x00000400 - 0x000004FF - BIOS Data Area
  • 0x00000500 - 0x00007BFF - Unused
  • 0x00007C00 - 0x00007DFF - Our Bootloader
  • 0x00007E00 - 0x0009FFFF - Unused
  • 0x000A0000 - 0x000BFFFF - Video RAM (VRAM) Memory
  • 0x000B0000 - 0x000B7777 - Monochrome Video Memory
  • 0x000B8000 - 0x000BFFFF - Color Video Memory
  • 0x000C0000 - 0x000C7FFF - Video ROM BIOS
  • 0x000C8000 - 0x000EFFFF - BIOS Shadow Area
  • 0x000F0000 - 0x000FFFFF - System BIOS

Default x86 Port Address Assignments Address RangeFirst QWORDSecond QWORDThird QWORDFourth QWORD0x000-0x00FDMA Controller Channels 0-30x010-0x01FSystem Use0x020-0x02FInterrupt Controller 1System Use0x030-0x03FSystem Use0x040-0x04FSystem TimersSystem Use0x050-0x05FSystem Use0x060-0x06FKeyboard/PS2 Moude (Port 0x60)
Speaker (0x61)Keyboard/PS2 Mouse (0x64)System Use0x070-0x07FRTC/CMOS/NMI (0x70, 0x71)DMA Controller Channels 0-30x080-0x08FDMA Page Register 0-2 (0x81 - 0x83)DMA Page Register 3 (0x87)DMA Page Register 4-6 (0x89-0x8B)DMA Page Register 7 (0x8F)0x090-0x09FSystem Use0x0A0-0x0AFInterrupt Controller 2 (0xA0-0xA1)System Use0x0B0-0x0BFSystem Use0x0C0-0x0CFDMA Controller Channels 4-7 (0x0C0-0x0DF), bytes 1-160x0D0-0x0DFDMA Controller Channels 4-7 (0x0C0-0x0DF), bytes 16-320x0E0-0x0EFSystem Use0x0F0-0x0FFFloating Point Unit (FPU/NPU/Mah Copprocessor)0x100-0x10FSystem Use0x110-0x11FSystem Use0x120-0x12FSystem Use0x130-0x13FSCSI Host Adapter (0x130-0x14F), bytes 1-160x140-0x14FSCSI Host Adapter (0x130-0x14F), bytes 17-32SCSI Host Adapter (0x140-0x15F), bytes 1-160x150-0x15FSCSI Host Adapter (0x140-0x15F), bytes 17-320x160-0x16FSystem UseQuaternary IDE Controller, master slave0x170-0x17FSecondary IDE Controller, Master driveSystem Use0x180-0x18FSystem Use0x190-0x19FSystem Use0x1A0-0x1AFSystem Use0x1B0-0x1BFSystem Use0x1C0-0x1CFSystem Use0x1D0-0x1DFSystem Use0x1E0-0x1EFSystem UseTertiary IDE Controller, master slave0x1F0-0x1FFPrimary IDE Controller, master slaveSystem Use0x200-0x20FJoystick PortSystem Use0x210-0x21FSystem Use0x220-0x22FSound CardNon-NE2000 Network CardSystem Use0x230-0x23FSCSI Host Adapter (0x220-0x23F), bytes 17-32)0x240-0x24F Sound CardNon-NE2000 Network CardSystem UseNE2000 Network Card (0x240-0x25F) Bytes 1-160x250-0x25FNE2000 Network Card (0x240-0x25F) Bytes 17-320x260-0x26F Sound CardNon-NE2000 Network CardSystem UseNE2000 Network Card (0x240-0x27F) Bytes 1-160x270-0x27F System UsePlug and Play System DevicesLPT2 - Second Parallel PortSystem UseLPT3 - Third Parallel Port (Monochrome Systems)NE2000 Network Card (0x260-0x27F) Bytes 17-320x280-0x28F Sound CardNon NE2000 Network CardSystem UseNE2000 Network Card (0x280-0x29F) Bytes 1-160x290-0x29FNE2000 Network Card (0x280-0x29F) Bytes 17-320x2A0-0x2AF Non NE2000 Network CardSystem UseNE2000 Network Card (0x280-0x29F) Bytes 1-160x2B0-0x2BFNE2000 Network Card (0x280-0x29F) Bytes 17-320x2C0-0x2CFSystem Use0x2D0-0x2DFSystem Use0x2E0-0x2EFSystem UseCOM4 - Fourth Serial Port0x2F0-0x2FFSystem UseCOM2 - Second Serial Port0x300-0x30F Sound Card / MIDI PortSystem UseNon NE2000 Network CardSystem UseNE2000 Network Card (0x300-0x31F) Bytes 1-160x310-0x31FNE2000 Network Card (0x300-0x32F) Bytes 17-320x320-0x32F Sound Card / MIDI Port (0x330, 0x331)System UseNE2000 Network Card (0x300-0x31F) Bytes 17-32SCSI Host Adapter (0x330-0x34F) Bytes 1-160x330-0x33F Sound Card / MIDI PortSystem UseNon NE2000 Network CardSystem UseNE2000 Network Card (0x300-0x31F) Bytes 1-160x340-0x34F SCSI Host Adapter (0x330-0x34F) Bytes 17-32SCSI Host Adapter (0x340-0x35F) Bytes 1-16Non NE2000 Network CardSystem UseNE2000 Network Card (0x340-0x35F) Bytes 1-160x350-0x35F SCSI Host Adapter (0x340-0x35F) Bytes 17-32NE2000 Network Card (0x300-0x31F) Bytes 1-160x360-0x36F Tape Accelerator Card (0x360)System UseQuaternary IDE Controller (Slave Drive)(0x36E-0x36F)Non NE2000 Network CardSystem UseNE2000 Network Card (0x300-0x31F) Bytes 1-160x370-0x37F Tape Accelerator Card (0x370)Secondary IDE Controller (Slave Drive)LPT1 - First Parallel Port (Color systems)System UseLPT2 - Second Parallel Port (Monochrome Systems)NE2000 Network Card (0x360-0x37F) Bytes 1-160x380-0x38FSystem UseSound Card (FM Synthesizer)System Use0x390-0x39FSystem Use0x3A0-0x3AFSystem Use0x3B0-0x3BFVGA/Monochrome VideoLPT1 - First Parallel Port (Monochrome Systems)0x3C0-0x3CFVGA/CGA Video0x3D0-0x3DFVGA/CGA Video0x3E0-0x3EF Tape Accelerator Card (0x370)System UseCOM3 - Third Serial PortSystem UseTertiary IDE Controller (Slave Drive)(0x3EE-0x3EF)0x3F0-0x3FF Floppy Disk ControllerCOM1 - First Serial PortTape Accelerator Card (0x3F0)Primary IDE Controller (Slave Drive)(0x3F6-0x3F7)System Use

 

原创粉丝点击