Changeset 560 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm


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/Handlers/Int19h.asm

    r556 r560  
    3131    sti                                         ; Enable interrupts
    3232    cld                                         ; String instructions to increment pointers
    33 %ifndef USE_AT
    34     call    Int13hBiosInit_RestoreSystemHandler ; Needed if initialization was started on INT 13h instead on 19h
    35 %endif
    3633    LOAD_BDA_SEGMENT_TO es, ax                  ; Load BDA segment (zero) to ES
     34%ifdef MODULE_VERY_LATE_INITIALIZATION
     35    lds     ax, [es:TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4]
     36    mov     [es:BIOS_DISK_INTERRUPT_13h*4], ax
     37    mov     [es:BIOS_DISK_INTERRUPT_13h*4+2], ds
     38%endif
    3739    ; Fall to .PrepareBootLoaderStack
    3840
Note: See TracChangeset for help on using the changeset viewer.