Changeset 386 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Handlers


Ignore:
Timestamp:
Apr 12, 2012, 2:07:46 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to XTIDE Universal BIOS:

  • Boot menu is now an optional module (MODULE_BOOT_MENU).
File:
1 edited

Legend:

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

    r376 r386  
    4343;       Never returns (loads operating system)
    4444;--------------------------------------------------------------------
    45 ALIGN JUMP_ALIGN
    4645Int19h_BootLoaderHandler:
    4746    sti
     
    9291.SelectDriveToBootFrom:
    9392    call    RamVars_GetSegmentToDS
     93%ifdef MODULE_BOOT_MENU
    9494    cmp     WORD [cs:ROMVARS.wfDisplayBootMenu], BYTE 0
    9595    jne     SHORT ProcessBootMenuSelectionsUntilBootableDriveSelected   ; Display boot menu
     96%endif
    9697    ; Fall to BootFromDriveAthenTryDriveC
    9798
     
    112113
    113114
     115%ifdef MODULE_BOOT_MENU
    114116;--------------------------------------------------------------------
    115117; ProcessBootMenuSelectionsUntilBootableDriveSelected
     
    126128    ; Fall to Int19hMenu_JumpToBootSector_or_RomBoot
    127129    ; (CF is set or we wouldn't be here, see "jnc" immediately above)
     130%endif
    128131
    129132;--------------------------------------------------------------------
     
    143146;       Never returns
    144147;--------------------------------------------------------------------
    145 ALIGN JUMP_ALIGN
    146148Int19hMenu_JumpToBootSector_or_RomBoot:
    147149    mov     cx, es      ; Preserve MBR segment (can't push because of stack change)
Note: See TracChangeset for help on using the changeset viewer.