Changeset 124 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization
- Timestamp:
- Mar 2, 2011, 7:42:19 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/FloppyDrive.asm
r102 r124 120 120 ; Returns number of Floppy Drives in system. 121 121 ; 122 ; FloppyDrive_GetCount 122 ; FloppyDrive_GetCountToCX 123 123 ; Parameters: 124 124 ; Nothing … … 129 129 ;-------------------------------------------------------------------- 130 130 ALIGN JUMP_ALIGN 131 FloppyDrive_GetCount :131 FloppyDrive_GetCountToCX: 132 132 push es 133 133 %ifdef USE_AT 134 call FloppyDrive_GetCountFromBIOS134 call GetCountFromBIOS 135 135 %else 136 call FloppyDrive_GetCountFromBDA136 call GetCountFromBDA 137 137 %endif 138 138 MAX_U cl, [cs:ROMVARS.bMinFddCnt] … … 147 147 ; if this function fails. 148 148 ; 149 ; FloppyDrive_GetCountFromBIOS149 ; GetCountFromBIOS 150 150 ; Parameters: 151 151 ; Nothing … … 159 159 %ifdef USE_AT 160 160 ALIGN JUMP_ALIGN 161 FloppyDrive_GetCountFromBIOS:161 GetCountFromBIOS: 162 162 push di 163 163 push dx … … 182 182 ; This function should be used only if FloppyDrive_GetCountFromBIOS fails. 183 183 ; 184 ; FloppyDrive_GetCountFromBDA184 ; GetCountFromBDA 185 185 ; Parameters: 186 186 ; Nothing … … 192 192 %ifndef USE_AT 193 193 ALIGN JUMP_ALIGN 194 FloppyDrive_GetCountFromBDA:194 GetCountFromBDA: 195 195 LOAD_BDA_SEGMENT_TO es, cx 196 196 mov cl, [es:BDA.wEquipment] ; Load Equipment WORD low byte
Note:
See TracChangeset
for help on using the changeset viewer.