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


Ignore:
Timestamp:
May 5, 2012, 4:01:03 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • AT builds now relocate INT 13h stack to top of stolen conventional memory.
  • Some small fixes here and there.
File:
1 edited

Legend:

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

    r400 r417  
    7676    call    Memory_ZeroESDIwithSizeInCX
    7777    mov     WORD [RAMVARS.wSignature], RAMVARS_SIGNATURE
     78    ; Fall to .InitializeInt13hStackChangeVariables
     79
     80;--------------------------------------------------------------------
     81; .InitializeInt13hStackChangeVariables
     82;   Parameters:
     83;       DS:     RAMVARS segment
     84;   Returns:
     85;       Nothing
     86;   Corrupts registers:
     87;       AX
     88;--------------------------------------------------------------------
     89%ifdef RELOCATE_INT13H_STACK
     90.InitializeInt13hStackChangeVariables:
     91    eMOVZX  ax, BYTE [cs:ROMVARS.bStealSize]
     92    eSHL_IM ax, 10          ; kiB to Bytes = Top of stack offset
     93    mov     [RAMVARS.wNewStackOffset], ax
     94%endif
    7895    ; Fall to .InitializeDriveTranslationAndReturn
    7996
Note: See TracChangeset for help on using the changeset viewer.