Changeset 560 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization


Ignore:
Timestamp:
Jul 3, 2013, 6:56:05 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Very late init handler is now in MODULE_VERY_LATE_INITIALIZATION
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Initialization/Initialize.asm

    r558 r560  
    3737    sti                                 ; Enable interrupts for keystrokes
    3838    push    ds
    39 
    40 %ifdef USE_AT
    41     push    BYTE 0
    42     pop     ds
    43 %else
    4439    push    ax                          ; We use AX to install very late init handler
    4540    LOAD_BDA_SEGMENT_TO ds, ax
    46 %endif
    4741
    4842    test    BYTE [BDA.bKBFlgs1], (1<<2) ; Clears ZF if CTRL is held down
     
    5347    mov     [BIOS_BOOT_LOADER_INTERRUPT_19h*4+2], cs
    5448
    55     ; Very late initialization for XT builds only
    56 %ifndef USE_AT
     49%ifdef MODULE_VERY_LATE_INITIALIZATION
    5750    push    es
    5851    ; Install special INT 13h hander that initializes XTIDE Universal BIOS
     
    6760
    6861.SkipRomInitialization:
    69 %ifndef USE_AT
    7062    pop     ax
    71 %endif
    7263    pop     ds
    7364    popf
Note: See TracChangeset for help on using the changeset viewer.