Changeset 161 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Timestamp:
- May 8, 2011, 8:02:52 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/XTIDE_Universal_BIOS/Src/Device/IDE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeIrq.asm
r160 r161 44 44 stc ; Set CF since wait done by OS 45 45 .ReturnFromWaitNotify: 46 sti ; Enable interrupts 46 47 pop ds 47 sti ; Enable interrupts48 48 ret 49 49 -
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/IdeTransfer.asm
r158 r161 223 223 ALIGN JUMP_ALIGN 224 224 DualByteReadForXtide: 225 %ifdef USE_186 226 shr cx, 2 ; Smaller but slower on 186/286 227 %else 225 228 times 2 shr cx, 1 ; Loop unrolling 229 %endif 226 230 mov bx, 8 ; Bit mask for toggling data low/high reg 227 231 ALIGN JUMP_ALIGN … … 311 315 push ds 312 316 push bx 317 %ifdef USE_186 318 shr cx, 2 ; Smaller but slower on 186/286 319 %else 313 320 times 2 shr cx, 1 ; Loop unrolling 321 %endif 314 322 mov bx, 8 ; Bit mask for toggling data low/high reg 315 323 push es ; Copy ES... … … 357 365 WordWriteForXTIDEmod: 358 366 push ds 367 %ifdef USE_186 368 shr cx, 2 ; Smaller but slower on 186/286 369 %else 359 370 times 2 shr cx, 1 ; Loop unrolling 371 %endif 360 372 push es ; Copy ES... 361 373 pop ds ; ...to DS
Note:
See TracChangeset
for help on using the changeset viewer.