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


Ignore:
Timestamp:
Dec 21, 2012, 8:44:25 AM (11 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Separated MODULE_8BIT_IDE into the basic part used by XTIDE rev 1 and rev 2 which is PIO based, and MODULE_8BIT_IDE_ADVANCED for JRIDE and XTCF support which requires memory mapping and/or DMA. This allows for creating an 8KB image with boot menu support (but no hotkeys) for the XTIDE rev 1. Cleaned up how we reset the drive translation information, ensuring it is properly set between boot attempt on a primary and secondary drive - as a result we clean it when needed, rather than trying to always keep it clean. Also fixed translation bugs in int13h.asm where I had previously missed converting some MODULE_HOTKEYS into MODULE_DRIVEXLATE.

File:
1 edited

Legend:

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

    r492 r493  
    121121    call    HotkeyBar_ScanHotkeysFromKeyBufferAndStoreToBootvars       
    122122    cmp     al, ROM_BOOT_HOTKEY_SCANCODE
    123     jz      JumpToBootSector_or_RomBoot         ; CF clear so ROM boot
     123    jz      .RomBoot                            ; CF clear so ROM boot
    124124%ifdef MODULE_BOOT_MENU
    125125    cmp     al, BOOT_MENU_HOTKEY_SCANCODE
     
    135135.BootMenu:     
    136136    call    BootMenu_DisplayAndReturnDriveInDLRomBootClearCF
    137     jnc     JumpToBootSector_or_RomBoot         ; CF clear so ROM boot
     137    jnc     .RomBoot                            ; CF clear so ROM boot
    138138
    139139    mov     dh, dl                              ; Setup for secondary drive
     
    158158%endif
    159159
    160 %ifndef MODULE_BOOT_MENU
    161     clc     ;  fall through with flag for ROM boot.  Boot Menu goes back to menu and doesn't fall through.
    162 %endif     
     160.RomBoot:
     161%ifdef MODULE_DRIVEXLATE
     162    call    DriveXlate_Reset                    ; Clean up any drive mappings before Rom Boot
     163%endif
     164    clc     
     165    ;; fall through to JumpToBootSector_or_RomBoot
    163166
    164167;--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.