Changeset 545 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/IDE/JrIdeTransfer.asm
- Timestamp:
- Apr 19, 2013, 11:44:35 AM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Device/IDE/JrIdeTransfer.asm
r538 r545 67 67 68 68 ; Get far pointer to Sector Access Window 69 mov dx, [di+DPT.wBasePort]70 69 cmp BYTE [di+DPT_ATA.bDevice], DEVICE_8BIT_JRIDE_ISA 71 jb SHORT .GetSectorAccessWindowForXTCF 72 73 ; Get Sector Access Window for JR-IDE/ISA and ADP50L 74 mov ds, dx ; Segment for JR-IDE/ISA and ADP50L 75 mov di, JRIDE_SECTOR_ACCESS_WINDOW_OFFSET 76 je SHORT .SectorAccessWindowLoadedToDSDI 70 mov ds, [di+DPT.wBasePort] ; Segment for JR-IDE/ISA and ADP50L 77 71 mov di, ADP50L_SECTOR_ACCESS_WINDOW_OFFSET 78 jmp SHORT .SectorAccessWindowLoadedToDSDI 79 80 .GetSectorAccessWindowForXTCF: 81 xor di, di 82 add dl, XTCF_CONTROL_REGISTER 83 in al, dx ; Read high byte for Sector Access Window segment 84 xchg ah, al 85 mov ds, ax 72 eCMOVE di, JRIDE_SECTOR_ACCESS_WINDOW_OFFSET 86 73 87 74 ; Are we reading or writing?
Note:
See TracChangeset
for help on using the changeset viewer.