Changeset 250 in xtideuniversalbios


Ignore:
Timestamp:
Feb 16, 2012, 2:50:29 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • INT 19h reset handler is now properly installed.
File:
1 edited

Legend:

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

    r249 r250  
    2929ALIGN JUMP_ALIGN
    3030Int19h_BootLoaderHandler:
     31    ; Install INT 19h handler for proper reboot
    3132    LOAD_BDA_SEGMENT_TO es, ax
    32     call    Initialize_AndDetectDrives      ; Installs new boot menu loader
     33    mov     bx, BIOS_BOOT_LOADER_INTERRUPT_19h  ; INT 19h interrupt vector offset
     34    mov     si, Int19h_ResetHandler             ; INT 19h handler to reboot the system
     35    call    Interrupts_InstallHandlerToVectorInBXFromCSSI
     36    call    Initialize_AndDetectDrives          ; Installs new boot menu loader
    3337    ; Fall to .PrepareStackAndSelectDriveFromBootMenu
    3438
     
    140144    push    cx          ; sgment address for MBR
    141145    push    bx          ; offset address for MBR
    142     mov     bx, BIOS_BOOT_LOADER_INTERRUPT_19h  ; INT 19h interrupt vector offset
    143     mov     si, Int19h_ResetHandler             ; INT 19h handler to reboot the system
    144     call    Interrupts_InstallHandlerToVectorInBXFromCSSI
    145146    retf                ; NOTE: DL is set to the drive number
    146147
Note: See TracChangeset for help on using the changeset viewer.