Changeset 170 in xtideuniversalbios for trunk/Configurator


Ignore:
Timestamp:
Aug 22, 2011, 2:25:51 PM (13 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes to all parts of the project:

  • Minor size optimizations
  • Commented away some ALIGN JUMP_ALIGN directives in the Int13h handler (they are either in init procedures, procedures that are rarely called or are unnecessary due to conditional assembly)
  • Fixed what appears to be a typo in EBIOS.inc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Configurator/Src/Libraries/menu/menudraw.asm

    r78 r170  
    1 ; File name     :   menudraw.asm
    21; Project name  :   Menu library
    3 ; Created date  :   9.11.2009
    4 ; Last update   :   4.1.2011
    5 ; Author        :   Tomi Tilli,
    6 ;               :   Krister Nordvall (optimizations)
    72; Description   :   ASM library to menu system.
    83;                   Contains menu drawing functions.
     
    164159;   call    MenuDraw_ItemBorders            ; Draw borders to clear old strings
    165160ALIGN JUMP_ALIGN
    166 MenuDraw_AllItemsNoBord:   
     161MenuDraw_AllItemsNoBord:
    167162    cmp     WORD [bp+MENUVARS.wItemCnt], 0  ; Any items to draw?
    168163    jz      MenuDraw_NothingToDraw          ;  If not, return
     
    358353    mov     dh, B_TR
    359354    jmp     SHORT MenuDraw_BorderChars
    360    
     355
    361356ALIGN JUMP_ALIGN
    362357MenuDraw_StringBorder:
     
    447442    cmp     ax, bx                      ; Need scroll bars?
    448443    jbe     .Return                     ;  If not, return
    449    
     444
    450445    ; Calculate last menuitem index for thumb char on this line
    451446    push    bx                          ; Store number of visible menuitems
     
    462457    jc      .Return                     ;  If so, draw thumb
    463458    mov     dh, T_V                     ; Load track character
    464 ALIGN JUMP_ALIGN
     459ALIGN JUMP_ALIGN, ret
    465460.Return:
    466461    ret
Note: See TracChangeset for help on using the changeset viewer.