Changeset 137 in xtideuniversalbios


Ignore:
Timestamp:
Mar 13, 2011, 6:38:37 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to XTIDE Universal BIOS:

  • Menu selection timeout is now specified in timer ticks.
Location:
trunk/XTIDE_Universal_BIOS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS/Inc/RomVars.inc

    r99 r137  
    1616
    1717    .wFlags         resb    2   ; Word for ROM flags
     18    .wBootTimeout   resb    2   ; Boot Menu selection timeout in system timer ticks
    1819    .bIdeCnt        resb    1   ; Number of available IDE controllers
    1920    .bBootDrv       resb    1   ; Boot Menu default drive
    20     .bBootDelay     resb    1   ; Boot Menu selection delay in seconds
    2121    .bMinFddCnt     resb    1   ; Minimum number of Floppy Drives
    2222    .bStealSize     resb    1   ; Number of 1kB blocks stolen from 640kB base RAM
  • trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenuEvent.asm

    r135 r137  
    6161    call    BootMenu_GetHeightToAHwithItemCountInAL
    6262    mov     [si+MENUINIT.bHeight], ah
    63     mov     al, TICKS_PER_SECOND
    64     mul     BYTE [cs:ROMVARS.bBootDelay]
     63    mov     ax, [cs:ROMVARS.wBootTimeout]
    6564    CALL_MENU_LIBRARY StartSelectionTimeoutWithTicksInAX
    6665    stc
  • trunk/XTIDE_Universal_BIOS/Src/Main.asm

    r121 r137  
    5353%ifdef USE_AT
    5454    at  ROMVARS.wFlags,         dw  FLG_ROMVARS_FULLMODE | FLG_ROMVARS_DRVXLAT
     55    at  ROMVARS.wBootTimeout,   dw  30 * TICKS_PER_SECOND   ; Boot Menu selection timeout
    5556    at  ROMVARS.bIdeCnt,        db  3                       ; Number of supported controllers
    5657    at  ROMVARS.bBootDrv,       db  80h                     ; Boot Menu default drive
    57     at  ROMVARS.bBootDelay,     db  30                      ; Boot Menu selection delay (secs)
    5858    at  ROMVARS.bMinFddCnt,     db  0                       ; Do not force minimum number of floppy drives
    5959    at  ROMVARS.bStealSize,     db  1                       ; Steal 1kB from base memory
     
    8484;-----------------------------------;
    8585    at  ROMVARS.wFlags,         dw  FLG_ROMVARS_DRVXLAT
     86    at  ROMVARS.wBootTimeout,   dw  30 * TICKS_PER_SECOND   ; Boot Menu selection timeout
    8687    at  ROMVARS.bIdeCnt,        db  1                       ; Number of supported controllers
    8788    at  ROMVARS.bBootDrv,       db  80h                     ; Boot Menu default drive
    88     at  ROMVARS.bBootDelay,     db  30                      ; Boot Menu selection delay (secs)
    8989    at  ROMVARS.bMinFddCnt,     db  1                       ; Assume at least 1 floppy drive present if autodetect fails
    9090    at  ROMVARS.bStealSize,     db  1                       ; Steal 1kB from base memory in full mode
Note: See TracChangeset for help on using the changeset viewer.