Changeset 117 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootVars.asm


Ignore:
Timestamp:
Feb 28, 2011, 12:16:21 PM (14 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to the XTIDE Universal BIOS:

  • Bugfix: The stack swapping in BootVars_SwitchBackToPostStack wasn't really an atomic operation anymore (on 186 and 286 CPUs) so I reverted the change I did in the previous revision.
  • A very small size optimization in AH15h_HSize.asm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootVars.asm

    r116 r117  
    7474BootVars_SwitchBackToPostStack:
    7575    pop     ax                          ; Pop return address
    76 %ifndef USE_186
     76%ifndef USE_386
    7777    cli                                 ; Disable interrupts
    78 %endif
    7978    LOAD_BDA_SEGMENT_TO ss, sp
    80 %ifndef USE_386
    8179    mov     sp, [ss:BOOTVARS.dwPostStack]
    8280    mov     ss, [ss:BOOTVARS.dwPostStack+2]
     81    sti                                 ; Enable interrupts
    8382%else
     83    LOAD_BDA_SEGMENT_TO ss, sp
    8484    lss     sp, [ss:BOOTVARS.dwPostStack]
    8585%endif
    86 %ifndef USE_186
    87     sti                                 ; Enable interrupts
    88 %endif
    8986    jmp     ax
Note: See TracChangeset for help on using the changeset viewer.