Changeset 505 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Timestamp:
- Feb 25, 2013, 4:23:09 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeIO.asm
r503 r505 56 56 mov al, [di+DPT_ATA.bDevice] 57 57 cmp al, DEVICE_8BIT_XTIDE_REV2 58 jb SHORT .InputToALfromRegisterInDX ; Standard IDE controllers and XTIDE rev 1 59 60 %ifdef MODULE_8BIT_IDE_ADVANCED 58 61 je SHORT .ReverseA0andA3fromRegisterIndexInDX 59 jb SHORT .InputToALfromRegisterInDX ; Standard IDE controllers and XTIDE rev 1 60 61 %ifdef MODULE_8BIT_IDE_ADVANCED 62 62 63 cmp al, DEVICE_8BIT_JRIDE_ISA 63 64 jne SHORT .ShlRegisterIndexInDX ; All XT-CF modes … … 71 72 ret 72 73 %endif 73 74 74 75 .ReverseA0andA3fromRegisterIndexInDX: 75 76 mov dl, [cs:bx+g_rgbSwapA0andA3fromIdeRegisterIndex] … … 77 78 78 79 .ShlRegisterIndexInDX: 79 shldx, 180 eSHL_IM dx, 1 80 81 ; Fall to .InputToALfromRegisterInDX 81 82 … … 102 103 mov bl, [di+DPT_ATA.bDevice] 103 104 cmp bl, DEVICE_8BIT_XTIDE_REV2 105 jb SHORT .OutputALtoControlBlockRegisterInDX ; Standard IDE controllers and XTIDE rev 1 106 107 %ifdef MODULE_8BIT_IDE_ADVANCED 104 108 je SHORT .ReverseA0andA3fromRegisterIndexInDX 105 jb SHORT .OutputALtoControlBlockRegisterInDX ; Standard IDE controllers and XTIDE rev 1 106 107 %ifdef MODULE_8BIT_IDE_ADVANCED 109 108 110 cmp bl, DEVICE_8BIT_JRIDE_ISA 109 111 jne SHORT .ShlRegisterIndexInDX ; All XT-CF modes … … 125 127 126 128 .ShlRegisterIndexInDX: 127 shldx, 1129 eSHL_IM dx, 1 128 130 add dx, BYTE XTCF_CONTROL_BLOCK_OFFSET 129 131 jmp SHORT OutputALtoRegisterInDX … … 152 154 mov bl, [di+DPT_ATA.bDevice] 153 155 cmp bl, DEVICE_8BIT_XTIDE_REV2 156 jb SHORT OutputALtoRegisterInDX ; Standard IDE controllers and XTIDE rev 1 157 158 %ifdef MODULE_8BIT_IDE_ADVANCED 154 159 je SHORT .ReverseA0andA3fromRegisterIndexInDX 155 jb SHORT OutputALtoRegisterInDX ; Standard IDE controllers and XTIDE rev 1 156 157 %ifdef MODULE_8BIT_IDE_ADVANCED 160 158 161 cmp bl, DEVICE_8BIT_JRIDE_ISA 159 162 jne SHORT .ShlRegisterIndexInDX ; All XT-CF modes … … 177 180 178 181 .ShlRegisterIndexInDX: 179 shldx, 1182 eSHL_IM dx, 1 180 183 ; Fall to OutputALtoRegisterInDX 181 184
Note:
See TracChangeset
for help on using the changeset viewer.