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


Ignore:
Timestamp:
Jul 9, 2013, 6:00:38 PM (11 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • MODULE_VERY_LATE_INITIALIZATION is not included on AT builds by default.
  • Very late initialization now uses 32h instead of 20h for temporary vector (untested but 20h might cause problems with ROM DOS).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Handlers/Int19h.asm

    r560 r561  
    3131    sti                                         ; Enable interrupts
    3232    cld                                         ; String instructions to increment pointers
     33%ifdef MODULE_VERY_LATE_INITIALIZATION
     34    LOAD_BDA_SEGMENT_TO ds, ax                  ; Load BDA segment (zero) to DS
     35    les     ax, [TEMPORARY_VECTOR_FOR_SYSTEM_INT13h*4]
     36    mov     [BIOS_DISK_INTERRUPT_13h*4], ax
     37    mov     [BIOS_DISK_INTERRUPT_13h*4+2], es
     38    push    ds                                  ; BDA segment (zero)...
     39    pop     es                                  ; ...to ES
     40%else
    3341    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
    3842%endif
    3943    ; Fall to .PrepareBootLoaderStack
Note: See TracChangeset for help on using the changeset viewer.