Changeset 496 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS
- Timestamp:
- Dec 30, 2012, 6:32:58 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Inc/Controllers/XTCF.inc
r491 r496 23 23 %define XTCF_INC 24 24 25 OFFSET_TO_CONTROL_BLOCK_REGISTERS EQU 826 25 DEFAULT_XTCF_SECTOR_WINDOW_SEGMENT EQU 0D800h 27 26 -
trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc
r493 r496 118 118 %endif 119 119 120 STANDARD_CONTROL_BLOCK_OFFSET EQU 200h 121 XTIDE_CONTROL_BLOCK_OFFSET EQU 8h 122 XTCF_CONTROL_BLOCK_OFFSET EQU XTIDE_CONTROL_BLOCK_OFFSET 123 120 124 ; Default values for Port and PortCtrl, shared with the configurator 121 125 ; 122 126 DEVICE_XTIDE_DEFAULT_PORT EQU 300h 123 DEVICE_XTIDE_DEFAULT_PORTCTRL EQU (DEVICE_XTIDE_DEFAULT_PORT + 8h)127 DEVICE_XTIDE_DEFAULT_PORTCTRL EQU (DEVICE_XTIDE_DEFAULT_PORT + XTIDE_CONTROL_BLOCK_OFFSET) 124 128 125 DEVICE_ATA_PRIMARY_PORT EQU 300h126 DEVICE_ATA_PRIMARY_PORTCTRL EQU (DEVICE_ATA_PRIMARY_PORT + 8h)129 DEVICE_ATA_PRIMARY_PORT EQU 1F0h 130 DEVICE_ATA_PRIMARY_PORTCTRL EQU (DEVICE_ATA_PRIMARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET) 127 131 128 132 DEVICE_ATA_SECONDARY_PORT EQU 170h 129 DEVICE_ATA_SECONDARY_PORTCTRL EQU (DEVICE_ATA_SECONDARY_PORT + 200h)133 DEVICE_ATA_SECONDARY_PORTCTRL EQU (DEVICE_ATA_SECONDARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET) 130 134 131 135 DEVICE_ATA_TERTIARY_PORT EQU 1E8h 132 DEVICE_ATA_TERTIARY_PORTCTRL EQU (DEVICE_ATA_TERTIARY_PORT + 200h)136 DEVICE_ATA_TERTIARY_PORTCTRL EQU (DEVICE_ATA_TERTIARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET) 133 137 134 138 DEVICE_ATA_QUATERNARY_PORT EQU 168h 135 DEVICE_ATA_QUATERNARY_PORTCTRL EQU (DEVICE_ATA_QUATERNARY_PORT + 200h)139 DEVICE_ATA_QUATERNARY_PORTCTRL EQU (DEVICE_ATA_QUATERNARY_PORT + STANDARD_CONTROL_BLOCK_OFFSET) 136 140 137 141 -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeIO.asm
r493 r496 106 106 cmp bl, DEVICE_8BIT_XTIDE_REV2 107 107 jbe SHORT .OutputALtoControlBlockRegisterInDX ; Standard IDE controllers and XTIDE rev 1 108 108 109 109 %ifdef MODULE_8BIT_IDE_ADVANCED 110 110 cmp bl, DEVICE_8BIT_JRIDE_ISA … … 115 115 mov bx, JRIDE_CONTROL_BLOCK_REGISTER_WINDOW_OFFSET 116 116 jmp SHORT IdeIO_OutputALtoIdeRegisterInDL.OutputALtoMemoryMappedRegisterInDXwithWindowOffsetInBX 117 %endif 117 118 118 119 .ShlRegisterIndexInDX: 119 add dl, OFFSET_TO_CONTROL_BLOCK_REGISTERS120 add dl, XTCF_CONTROL_BLOCK_OFFSET 120 121 eSHL_IM dx, 1 121 122 jmp SHORT OutputALtoRegisterInDX 122 %endif123 123 124 124 .OutputALtoControlBlockRegisterInDX:
Note:
See TracChangeset
for help on using the changeset viewer.