Changeset 542 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Device/Idepack.asm


Ignore:
Timestamp:
Apr 15, 2013, 4:03:33 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Fixed a bug that allowed EBIOS functions for user defined CHS.
  • Simplified user defined CHS and LBA setup a little.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Device/Idepack.asm

    r526 r542  
    7070
    7171    and     ah, 0Fh                     ; Limit bits for LBA28
    72     call    AccessDPT_GetDriveSelectByteForEbiosToAL
     72    call    AccessDPT_GetDriveSelectByteToAL
    7373    or      al, ah
    7474    mov     [bp+IDEPACK.bDrvAndHead], al
     
    108108    push    bx
    109109    call    Address_OldInt13hAddressToIdeAddress
    110     call    AccessDPT_GetDriveSelectByteForOldInt13hToAL
     110    call    AccessDPT_GetDriveSelectByteToAL
    111111    or      al, bh          ; AL now has Drive and Head Select Byte
    112112    mov     [bp+IDEPACK.bDrvAndHead], al
     
    150150    ; Drive and Head select byte
    151151    and     ah, MASK_DRVNHEAD_HEAD      ; Keep head bits only
    152     call    AccessDPT_GetDriveSelectByteForOldInt13hToAL
     152    call    AccessDPT_GetDriveSelectByteToAL
    153153    or      al, ah
    154154    mov     [bp+IDEPACK.bDrvAndHead], al
Note: See TracChangeset for help on using the changeset viewer.