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


Ignore:
Timestamp:
Aug 21, 2011, 4:39:58 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Old Int 13h functions can now transfer 256 sectors per call.
  • eINT 13h functions can now transfer 65535 sectors per call.
File:
1 edited

Legend:

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

    r167 r169  
    3939Idepack_ConvertDapToIdepackAndIssueCommandFromAH:
    4040    mov     [bp+IDEPACK.bCommand], ah
    41     mov     al, [es:si+DAP.wSectorCount]
     41    mov     ax, [es:si+DAP.wSectorCount]
    4242    mov     [bp+IDEPACK.bSectorCount], al
     43    mov     [bp+IDEPACK.bSectorCountHighExt], ah
    4344
    4445    mov     al, [es:si+DAP.qwLBA]       ; LBA byte 0
     
    8182ALIGN JUMP_ALIGN
    8283Idepack_TranslateOldInt13hAddressAndIssueCommandFromAH:
     84    mov     [bp+IDEPACK.bCommand], ah
     85    test    al, al
     86    eCSETZ  ah
    8387    mov     [bp+IDEPACK.bSectorCount], al
    84     mov     [bp+IDEPACK.bCommand], ah
     88    mov     [bp+IDEPACK.bSectorCountHighExt], ah
    8589
    8690    push    bx
     
    125129    mov     [bp+IDEPACK.wSectorCountAndLbaLow], dx
    126130    mov     [bp+IDEPACK.wLbaMiddleAndHigh], cx
     131    mov     BYTE [bp+IDEPACK.bSectorCountHighExt], 0
    127132
    128133    ; Drive and Head select byte
Note: See TracChangeset for help on using the changeset viewer.