Ignore:
Timestamp:
Nov 17, 2011, 2:59:13 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Space optimizations in AccessDPT.asm, transfer one routine to a macro (retaining some encapsulation), and transfer the unique part of another routine to the one place it was being called (which also makes what it was doing more transparent).

File:
1 edited

Legend:

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

    r181 r193  
    8686.StoreAddressing:
    8787    ; Check if CHS defined in ROMVARS
    88     mov     al, FLG_DRVPARAMS_USERCHS   ; User specified CHS?
    89     call    AccessDPT_TestIdeVarsFlagsForMasterOrSlaveDrive
     88    call    AccessDPT_GetPointerToDRVPARAMStoCSBX
     89    test    byte [cs:bx+DRVPARAMS.wFlags], FLG_DRVPARAMS_USERCHS    ; User specified CHS?
    9090    jnz     SHORT .StoreUserDefinedCHSaddressing
    9191
Note: See TracChangeset for help on using the changeset viewer.