Changeset 212 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm


Ignore:
Timestamp:
Jan 16, 2012, 8:50:39 PM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Fixed a bug where DL was always zero when transitioning control to the MBR (boot sector), where it should have been the drive number. This was preventing FreeDOS from booting. Also took the opportunity to fold two code paths together, jump to boot sector and jump to rom boot, resulting in a savings of 20 bytes for the XT build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm

    r202 r212  
    128128    cmp     ah, ROM_BOOT_HOTKEY_SCANCODE
    129129    jne     SHORT .CheckDriveHotkeys
    130     jmp     Int19hMenu_RomBoot
     130    ;; NOTE: carry flag will be clear after compare above that resulted in zero
     131    jmp     Int19hMenu_JumpToBootSector_or_RomBoot     
    131132ALIGN JUMP_ALIGN
    132133.CheckDriveHotkeys:
Note: See TracChangeset for help on using the changeset viewer.