Changeset 181 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Boot/BootMenu.asm


Ignore:
Timestamp:
Nov 13, 2011, 3:38:40 PM (12 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to all parts of the project:

  • Size optimizations.
  • Added a define (EXCLUDE_FROM_XTIDECFG) to exclude unused library code from XTIDECFG.
  • Tried to minimize time spent with interrupts disabled.
  • Some minor attempts to improve speed (reordering instructions etc).
  • Tried to improve readability, did some cleanup and fixed some errors in comments.
File:
1 edited

Legend:

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

    r130 r181  
    102102    CALL_DISPLAY_LIBRARY GetColumnsToALandRowsToAH
    103103    sub     ah, MENU_SCREEN_BOTTOM_LINES*2  ; Leave space for bottom info
    104     MIN_U   ah, cl
     104    cmp     ah, cl
     105    jb      SHORT .Return
     106    mov     ah, cl
     107ALIGN JUMP_ALIGN, ret
     108.Return:
    105109    ret
    106110
     
    148152    call    FloppyDrive_GetCountToCX
    149153    add     cl, 'A'
    150     MAX_U   cl, 'C'
     154    cmp     cl, 'C'
     155    ja      .Return
     156    mov     cl, 'C'
     157ALIGN JUMP_ALIGN, ret
     158.Return:
    151159    ret
    152160
Note: See TracChangeset for help on using the changeset viewer.