Changeset 583 in xtideuniversalbios for trunk/Assembly_Library/Src/Display


Ignore:
Timestamp:
Apr 23, 2015, 4:28:47 PM (10 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Display/CgaSnow.asm

    r526 r583  
    2929;               Cleared if CGA not detected
    3030;   Corrupts registers:
    31 ;       AX
     31;       Nothing
    3232;--------------------------------------------------------------------
    3333ALIGN DISPLAY_JUMP_ALIGN
     
    3737
    3838    ; All standard CGA modes use 25 rows but only EGA and later store it to BDA.
    39     cmp     BYTE [BDA.bVidRows], 25
    40     jge     SHORT .CgaNotFound
    41     stc
     39    cmp     BYTE [BDA.bVidRows], 25     ; *FIXME* Shouldn't this be 24 (rows - 1)?
     40    jae     SHORT .CgaNotFound
    4241    ret
    4342ALIGN DISPLAY_JUMP_ALIGN
Note: See TracChangeset for help on using the changeset viewer.