Changeset 545 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm
- Timestamp:
- Apr 19, 2013, 11:44:35 AM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm
r544 r545 122 122 123 123 %ifdef MODULE_EBIOS 124 %ifdef CREATE_COMPATIBLE_DPT125 124 ; Store P-Cylinders here for Compatible DPTs when FLGL_DPT_LBA is not set 126 125 ; or when drive has over 15,482,880 sectors 127 126 mov [di+DPT.wPchsCylinders], ax 128 %endif129 127 test cl, FLGL_DPT_LBA 130 128 jz SHORT .NoLbaSoNoEBIOS … … 263 261 CreateDPT_StoreIdevarsOffsetAndBasePortFromCSBPtoDPTinDSDI: 264 262 mov [di+DPT.bIdevarsOffset], bp ; IDEVARS must start in first 256 bytes of ROM 265 266 %ifdef MODULE_8BIT_IDE_ADVANCED267 call DetectDrives_DoesIdevarsInCSBPbelongToXTCF268 jne SHORT .DeviceUsesPortSpecifiedInIDEVARS269 mov [di+DPT.wBasePort], dx270 ret271 .DeviceUsesPortSpecifiedInIDEVARS:272 %endif ; MODULE_8BIT_IDE_ADVANCED273 274 263 mov ax, [cs:bp+IDEVARS.wBasePort] 275 264 mov [di+DPT.wBasePort], ax
Note:
See TracChangeset
for help on using the changeset viewer.