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


Ignore:
Timestamp:
Mar 11, 2013, 3:22:21 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • INT 13h stack is now at the beginning of RAMVARS.
  • RELOCATE_INT13H_STACK is now allowed only for AT builds. This saves few bytes from interrupt table when lite mode is used.
Location:
trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs
Files:
2 edited

Legend:

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

    r521 r522  
    116116
    117117    mul     dl
    118     add     ax, BYTE RAMVARS_size       ; Clears CF (will not overflow)
     118    add     ax, RAMVARS_size            ; Clears CF (will not overflow)
    119119
    120120    pop     dx
  • trunk/XTIDE_Universal_BIOS/Src/VariablesAndDPTs/RamVars.asm

    r505 r522  
    7777    mov     WORD [RAMVARS.wDrvDetectSignature], RAMVARS_DRV_DETECT_SIGNATURE
    7878    mov     WORD [RAMVARS.wSignature], RAMVARS_RAM_SIGNATURE
    79     ; Fall to .InitializeInt13hStackChangeVariables
    80 
    81 ;--------------------------------------------------------------------
    82 ; .InitializeInt13hStackChangeVariables
    83 ;   Parameters:
    84 ;       DS:     RAMVARS segment
    85 ;   Returns:
    86 ;       Nothing
    87 ;   Corrupts registers:
    88 ;       AX
    89 ;--------------------------------------------------------------------
    90 %ifdef RELOCATE_INT13H_STACK
    91 .InitializeInt13hStackChangeVariables:
    92     eMOVZX  ax, BYTE [cs:ROMVARS.bStealSize]
    93     eSHL_IM ax, 10          ; kiB to Bytes = Top of stack offset
    94     mov     [RAMVARS.wNewStackOffset], ax
    95 %endif
    96 
    9779;; There used to be a DriveXlate_Reset call here.  It isn't necessary, as we reset
    9880;; when entering the boot menu and also before transferring control at boot time and
Note: See TracChangeset for help on using the changeset viewer.