Changeset 368 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs


Ignore:
Timestamp:
Mar 28, 2012, 6:48:58 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Minor fixes and optimizations.
File:
1 edited

Legend:

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

    r364 r368  
    9393ALIGN JUMP_ALIGN
    9494RamVars_GetSegmentToDS:
     95
     96%ifndef MODULE_ADVANCED_ATA ; Always in Full Mode when using Advanced ATA Module
    9597    test    BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE
    9698    jnz     SHORT .GetStolenSegmentToDS
     
    103105%endif
    104106    ret
     107%endif ; MODULE_ADVANCED_ATA
    105108
    106109ALIGN JUMP_ALIGN
     
    150153    mov     ax, [RAMVARS.wDrvCntAndFirst]
    151154    add     al, ah
    152     and     al, 7fh
    153     cbw
     155    and     ax, BYTE 7fh
    154156    ret
    155157
Note: See TracChangeset for help on using the changeset viewer.