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


Ignore:
Timestamp:
May 9, 2012, 7:12:53 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Addressing modes are now NORMAL, LARGE and LBA.
  • L-CHS parameters are now generated differently for drives with 8192 or less cylinders.
File:
1 edited

Legend:

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

    r376 r421  
    7070
    7171    and     ah, 0Fh                     ; Limit bits for LBA28
    72     call    AccessDPT_GetDriveSelectByteToAL
     72    call    AccessDPT_GetDriveSelectByteForEbiosToAL
    7373    or      al, ah
    7474    mov     [bp+IDEPACK.bDrvAndHead], al
     
    8383    and     si, BYTE 0Fh                        ; Offset normalized
    8484    jmp     SHORT GetDeviceControlByteToIdepackAndStartTransfer
    85 %endif
     85%endif ; MODULE_EBIOS
    8686
    8787
     
    114114    push    bx
    115115    call    Address_OldInt13hAddressToIdeAddress
    116     call    AccessDPT_GetDriveSelectByteToAL
     116    call    AccessDPT_GetDriveSelectByteForOldInt13hToAL
    117117    or      al, bh          ; AL now has Drive and Head Select Byte
    118118    mov     [bp+IDEPACK.bDrvAndHead], al
     
    156156    ; Drive and Head select byte
    157157    and     ah, MASK_DRVNHEAD_HEAD      ; Keep head bits only
    158     call    AccessDPT_GetDriveSelectByteToAL
     158    call    AccessDPT_GetDriveSelectByteForOldInt13hToAL
    159159    or      al, ah
    160160    mov     [bp+IDEPACK.bDrvAndHead], al
Note: See TracChangeset for help on using the changeset viewer.