Ignore:
Timestamp:
May 8, 2011, 8:02:52 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Minor size optimizations.
  • Tried to minimize the time spent with interrupts disabled in IdeIrq.asm and Int13h.asm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/AccessDPT.asm

    r158 r161  
    7171ALIGN JUMP_ALIGN
    7272AccessDPT_GetLCHSfromPCHS:
    73     xchg    ax, cx
    74     mov     cl, [di+DPT.bFlagsLow]
    75     and     cl, MASKL_DPT_CHS_SHIFT_COUNT   ; Load shift count
     73    mov     al, [di+DPT.bFlagsLow]
     74    and     al, MASKL_DPT_CHS_SHIFT_COUNT   ; Load shift count
     75    xchg    cx, ax
    7676    mov     bx, [di+DPT.wPchsCylinders]     ; Load P-CHS cylinders
    7777    shr     bx, cl                          ; Shift to L-CHS cylinders
    7878    xchg    cx, ax
    79     eMOVZX  dx, BYTE [di+DPT.bLchsHeads]    ; Load L-CHS heads
    8079    eMOVZX  ax, BYTE [di+DPT.bPchsSectors]  ; Load Sectors per track
     80    cwd
     81    mov     dl, [di+DPT.bLchsHeads]         ; Load L-CHS heads
    8182    ret
    8283
Note: See TracChangeset for help on using the changeset viewer.