Changeset 558 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm
- Timestamp:
- Jun 23, 2013, 3:52:31 PM (12 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/CreateDPT.asm
r550 r558 34 34 ; ES: BDA Segment 35 35 ; Returns: 36 ; DS:DI: Ptr to Disk Parameter Table (if successful) 37 ; CF: Cleared if DPT created successfully 38 ; Set if any error 36 ; DS:DI: Ptr to Disk Parameter Table 37 ; CF: Cleared 39 38 ; Corrupts registers: 40 39 ; AX, BX, CX, DX … … 167 166 xor bx, bx 168 167 jmp SHORT .StoreTotalSectorsFromBXDXAX 169 ; Fall to .StoreNumberOfLbaSectors 168 170 169 171 170 ;-------------------------------------------------------------------- … … 209 208 ; Update drive counts (hard and floppy) 210 209 ;---------------------------------------------------------------------- 211 210 %ifdef MODULE_SERIAL 211 ; Device_FinalizeDPT returns with CF set only when a floppy was found which can't happen without MODULE_SERIAL 212 212 %ifdef MODULE_SERIAL_FLOPPY 213 213 ; … … 224 224 adc byte [RAMVARS.xlateVars+XLATEVARS.bFlopCreateCnt], 0 225 225 jnz .AllDone 226 %else 226 %else ; ~MODULE_SERIAL_FLOPPY 227 227 ; 228 228 ; Even without floppy support enabled, we shouldn't try to mount a floppy image as a hard disk, which … … 231 231 ; 232 232 jc .AllDone 233 %endif 233 %endif ; MODULE_SERIAL_FLOPPY 234 %endif ; MODULE_SERIAL 234 235 235 236 inc BYTE [RAMVARS.bDrvCnt] ; Increment drive count to RAMVARS 236 237 238 %ifdef MODULE_SERIAL 237 239 .AllDone: 238 240 clc 241 %endif 242 239 243 ret 240 244
Note:
See TracChangeset
for help on using the changeset viewer.