Ignore:
Timestamp:
Jan 29, 2012, 1:33:44 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • EBIOS functions now work in lite mode.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int13h/Tools/Address.asm

    r200 r227  
    5353    ; LHead / PHeadCount and LHead % PHeadCount
    5454    eMOVZX  ax, bh                  ; Copy L-CHS Head number to AX
    55     div     BYTE [di+DPT.bHeads]    ; AL = LHead / PHeadCount, AH = LHead % PHeadCount
     55    div     BYTE [di+DPT.bPchsHeads]; AL = LHead / PHeadCount, AH = LHead % PHeadCount
    5656    mov     bh, ah                  ; Copy P-CHS Head number to BH
    5757    xor     ah, ah                  ; AX = LHead / PHeadCount
     
    129129    ; cylToSeek*headsPerCyl (18-bit result)
    130130    mov     ax, cx                  ; Copy Cylinder number to AX
    131     eMOVZX  dx, BYTE [di+DPT.bHeads]
     131    eMOVZX  dx, BYTE [di+DPT.bLbaHeads]
    132132    mul     dx                      ; DX:AX = cylToSeek*headsPerCyl
    133133
Note: See TracChangeset for help on using the changeset viewer.