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


Ignore:
Timestamp:
Apr 20, 2012, 2:30:16 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Moved 8-bit device support to MODULE_8BIT_IDE.
  • JR-IDE/ISA support requires a lot less bytes.
  • AT builds now always use full operating mode.
File:
1 edited

Legend:

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

    r395 r400  
    4747;--------------------------------------------------------------------
    4848.StealMemoryForRAMVARS:
    49     ; Always steal memory when using Advanced ATA module since it
    50     ; uses larger DPTs
    51 %ifndef MODULE_ADVANCED_ATA
     49%ifndef USE_AT
    5250    mov     ax, LITE_MODE_RAMVARS_SEGMENT
    5351    test    BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE
     
    114112RamVars_GetSegmentToDS:
    115113
    116 %ifndef MODULE_ADVANCED_ATA ; Always in Full Mode when using Advanced ATA Module
     114%ifndef USE_AT  ; Always in Full Mode for AT builds
    117115    test    BYTE [cs:ROMVARS.wFlags], FLG_ROMVARS_FULLMODE
    118116    jnz     SHORT .GetStolenSegmentToDS
    119 %ifndef USE_186
    120     mov     di, LITE_MODE_RAMVARS_SEGMENT
    121     mov     ds, di
    122 %else
    123     push    LITE_MODE_RAMVARS_SEGMENT
    124     pop     ds
    125 %endif
    126     ret
    127 %endif ; MODULE_ADVANCED_ATA
     117    %ifndef USE_186
     118        mov     di, LITE_MODE_RAMVARS_SEGMENT
     119        mov     ds, di
     120    %else
     121        push    LITE_MODE_RAMVARS_SEGMENT
     122        pop     ds
     123    %endif
     124    ret
     125%endif
    128126
    129127ALIGN JUMP_ALIGN
Note: See TracChangeset for help on using the changeset viewer.