Changeset 583 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2


Ignore:
Timestamp:
Apr 23, 2015, 4:28:47 PM (9 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Changed BOOT_MENU_DEFAULT_TIMEOUT to reduce rounding error.
  • Minor optimizations and fixes, mostly to the menu library code.
Location:
trunk/XTIDE_Universal_BIOS_Configurator_v2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Inc/Variables.inc

    r526 r583  
    2222
    2323; Equates and defines
    24 BOOT_MENU_DEFAULT_TIMEOUT           EQU (30 * TICKS_PER_SECOND)
     24BOOT_MENU_DEFAULT_TIMEOUT           EQU     (TICKS_PER_MINUTE / 2)
    2525MAX_ALLOWED_IDE_CONTROLLERS         EQU     4   ; Maximum number of IDE controllers
    2626MAX_LITE_MODE_CONTROLLERS           EQU     2
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/MasterSlaveMenu.asm

    r567 r583  
    399399    push    dx
    400400
    401     mov     ax, [es:di]
    402     mov     dx, [es:di+2]       ; DX:AX now holds user defined LBA28 limit
    403     add     ax, BYTE 1          ; Increment by one
    404     adc     dx, BYTE 0
     401    mov     ax, 1
     402    cwd                         ; DX:AX = 1
     403    add     ax, [es:di]
     404    adc     dx, [es:di+2]       ; User defined LBA28 limit added
    405405
    406406    xchg    ax, dx              ; SHR 16
Note: See TracChangeset for help on using the changeset viewer.