Changeset 493 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers
- Timestamp:
- Dec 21, 2012, 8:44:25 AM (12 years ago)
- google:author:
- gregli@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Handlers
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h.asm
r471 r493 93 93 call RamVars_GetSegmentToDS 94 94 95 %ifdef MODULE_ HOTKEYS95 %ifdef MODULE_DRIVEXLATE 96 96 call DriveXlate_ToOrBack 97 97 mov [RAMVARS.xlateVars+XLATEVARS.bXlatedDrv], dl … … 179 179 mov [bp+IDEPACK.intpack+INTPACK.si], si 180 180 mov [bp+IDEPACK.intpack+INTPACK.bx], bx 181 %ifdef MODULE_ HOTKEYS181 %ifdef MODULE_DRIVEXLATE 182 182 mov [bp+IDEPACK.intpack+INTPACK.dh], dh 183 183 %else … … 190 190 call RamVars_GetSegmentToDS 191 191 192 %ifdef MODULE_ HOTKEYS192 %ifdef MODULE_DRIVEXLATE 193 193 cmp dl, [RAMVARS.xlateVars+XLATEVARS.bXlatedDrv] ; DL is still drive number? 194 194 je SHORT .ExchangeInt13hHandlers … … 395 395 dw UnsupportedFunction ; 1Ch, ESDI Special Functions (PS/2) 396 396 dw UnsupportedFunction ; 1Dh, 397 %ifdef MODULE_8BIT_IDE 397 %ifdef MODULE_8BIT_IDE_ADVANCED 398 398 dw AH1Eh_HandlerForXTCFfeatures ; 1Eh, Lo-tech XT-CF features (XTIDE Universal BIOS) 399 399 %else -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH23h_HFeatures.asm
r474 r493 76 76 77 77 78 %ifdef MODULE_8BIT_IDE79 78 ;-------------------------------------------------------------------- 80 79 ; AH23h_Enable8bitPioMode … … 88 87 ; AL, BX, CX, DX, SI 89 88 ;-------------------------------------------------------------------- 89 %ifdef MODULE_8BIT_IDE 90 90 AH23h_Enable8bitPioMode: 91 91 mov si, FEATURE_ENABLE_8BIT_PIO_TRANSFER_MODE 92 92 jmp SHORT AH23h_SetControllerFeatures 93 %endif ; MODULE_8BIT_IDE93 %endif -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH24h_HSetBlocks.asm
r491 r493 59 59 ;-------------------------------------------------------------------- 60 60 AH24h_SetBlockSize: 61 %ifdef MODULE_8BIT_IDE 61 %ifdef MODULE_8BIT_IDE_ADVANCED 62 62 ; XT-CF does not support largest block size in DMA mode. 63 63 cmp al, XTCF_DMA_MODE_MAX_BLOCK_SIZE … … 66 66 je SHORT AH1Eh_LoadInvalidCommandToAHandSetCF 67 67 .NoNeedToLimitBlockSize: 68 %endif ; MODULE_8BIT_IDE 68 %endif ; MODULE_8BIT_IDE_ADVANCED 69 69 70 70 push bx -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r480 r493 107 107 108 108 ;;; Set XT-CF mode 109 %ifdef MODULE_8BIT_IDE 109 %ifdef MODULE_8BIT_IDE_ADVANCED 110 110 call AccessDPT_GetIdevarsToCSBX 111 111 mov al, [cs:bx+IDEVARS.bXTCFcontrolRegister] … … 113 113 STORE_ERROR_FLAG_TO_DPT FLG_INITERROR_FAILED_TO_SET_XTCF_MODE 114 114 .DoNotSetXTCFmode: 115 116 115 %endif ; MODULE_8BIT_IDE_ADVANCED 116 117 %ifdef MODULE_8BIT_IDE 117 118 ;;; Set 8-bit PIO mode 118 119 call AH9h_Enable8bitModeForDevice8bitAta … … 266 267 267 268 268 %ifdef MODULE_8BIT_IDE 269 %ifdef MODULE_8BIT_IDE_ADVANCED 269 270 ;-------------------------------------------------------------------- 270 271 ; AH9h_SetModeFromALtoXTCF … … 284 285 jne SHORT IgnoreInvalidCommandError 285 286 jmp AH1Eh_ChangeXTCFmodeBasedOnControlRegisterInAL 286 287 287 %endif ; MODULE_8BIT_IDE_ADVANCED 288 289 %ifdef MODULE_8BIT_IDE 288 290 ;-------------------------------------------------------------------- 289 291 ; AH9h_Enable8bitModeForDevice8bitAta … … 302 304 jne SHORT IgnoreInvalidCommandError 303 305 jmp AH23h_Enable8bitPioMode 304 %endif ; MODULE_8BIT_IDE306 %endif -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm
r492 r493 121 121 call HotkeyBar_ScanHotkeysFromKeyBufferAndStoreToBootvars 122 122 cmp al, ROM_BOOT_HOTKEY_SCANCODE 123 jz JumpToBootSector_or_RomBoot; CF clear so ROM boot123 jz .RomBoot ; CF clear so ROM boot 124 124 %ifdef MODULE_BOOT_MENU 125 125 cmp al, BOOT_MENU_HOTKEY_SCANCODE … … 135 135 .BootMenu: 136 136 call BootMenu_DisplayAndReturnDriveInDLRomBootClearCF 137 jnc JumpToBootSector_or_RomBoot; CF clear so ROM boot137 jnc .RomBoot ; CF clear so ROM boot 138 138 139 139 mov dh, dl ; Setup for secondary drive … … 158 158 %endif 159 159 160 %ifndef MODULE_BOOT_MENU 161 clc ; fall through with flag for ROM boot. Boot Menu goes back to menu and doesn't fall through. 162 %endif 160 .RomBoot: 161 %ifdef MODULE_DRIVEXLATE 162 call DriveXlate_Reset ; Clean up any drive mappings before Rom Boot 163 %endif 164 clc 165 ;; fall through to JumpToBootSector_or_RomBoot 163 166 164 167 ;--------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.