- Timestamp:
- Feb 27, 2012, 3:19:35 PM (13 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/FloppyDrive.asm
r258 r270 130 130 %ifdef MODULE_SERIAL_FLOPPY 131 131 call RamVars_UnpackFlopCntAndFirstToAL 132 js .UseBIOSorBDA ; We didn't add in any drives, counts here are not valid 133 132 134 adc al,1 ; adds in the drive count bit, and adds 1 for count vs. 0-index, 133 ; but still won't impact SF134 jns .UseInternalNumber ; need to clear CH on the way out, and add in additional drive numbers 135 135 jmp .FinishCalc ; need to clear AH on the way out, and add in minimum drive numbers 136 137 .UseBIOSorBDA: 136 138 %endif 137 139 call FloppyDrive_GetCountFromBIOS_or_BDA 138 139 . UseInternalNumber:140 141 .FinishCalc: 140 142 mov ah, [cs:ROMVARS.bMinFddCnt] 141 143 MAX_U al, ah -
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm
r262 r270 174 174 ; AL: First floppy drive number supported 175 175 ; CF: Number of floppy drives supported (clear = 1, set = 2) 176 ; SF: Emulating drives (clear = yes, set = no) 176 177 ; Corrupts registers: 177 178 ; Nothing
Note:
See TracChangeset
for help on using the changeset viewer.