Changeset 439 in xtideuniversalbios
- Timestamp:
- Aug 18, 2012, 12:07:44 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeCommand.asm
r437 r439 86 86 call Idepack_FakeToSSBP 87 87 88 %ifdef MODULE_8BIT_IDE 88 89 ; Enable 8-bit PIO mode for Lo-tech XT-CF 89 90 call AH9h_Enable8bitPioModeForXTCF 91 jc SHORT .FailedToSet8bitMode 92 %endif 90 93 91 94 ; Prepare to output Identify Device command … … 96 99 97 100 ; Clean stack and return 101 .FailedToSet8bitMode: 98 102 lea sp, [bp+EXTRA_BYTES_FOR_INTPACK] ; This assumes BP hasn't changed between Idepack_FakeToSSBP and here 99 103 pop bp -
trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/AH9h_HInit.asm
r437 r439 127 127 128 128 129 %ifdef MODULE_8BIT_IDE 129 130 ;;; Enable 8-bit PIO Transfer Mode for Lo-tech XT-CF (CF and Microdrives only) 130 131 call AH9h_Enable8bitPioModeForXTCF 131 132 STORE_ERROR_FLAG_TO_DPT FLG_INITERROR_FAILED_TO_ENABLE_8BIT_PIO_MODE 133 %endif 132 134 133 135 … … 255 257 256 258 259 %ifdef MODULE_8BIT_IDE 257 260 ;-------------------------------------------------------------------- 258 261 ; AH9h_Enable8bitPioModeForXTCF … … 263 266 ; CF: 0 if successful, 1 if error 264 267 ; Corrupts registers: 265 ; AL, BX, CX, DX 268 ; AL, BX, CX, DX, SI 266 269 ;-------------------------------------------------------------------- 267 270 AH9h_Enable8bitPioModeForXTCF: … … 274 277 mov si, FEATURE_ENABLE_8BIT_PIO_TRANSFER_MODE 275 278 jmp AH23h_SetControllerFeatures 279 %endif ; MODULE_8BIT_IDE
Note:
See TracChangeset
for help on using the changeset viewer.