Changeset 54 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuText.asm


Ignore:
Timestamp:
Oct 24, 2010, 11:01:17 AM (14 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:
Drive selection moved to own dialog from File Dialog.
File Dialog now displays loading text for better usability in slow systems.
Moved some functions from Memory.asm to new Registers.asm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/MenuText.asm

    r52 r54  
    22; Project name  :   Assembly Library
    33; Created date  :   21.7.2010
    4 ; Last update   :   12.10.2010
     4; Last update   :   24.10.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Functions for drawing menu texts by the user.
     
    2727ALIGN JUMP_ALIGN
    2828MenuText_ClearInformationArea:
    29     call    PrepareToDrawInformationArea
     29    call    MenuText_PrepareToDrawInformationArea
    3030    mov     cl, [bp+MENUINIT.bInfoLines]
    3131ClearCLlinesOfText:
    3232    mov     al, [bp+MENUINIT.bWidth]
    33     sub     al, MENU_HORIZONTAL_BORDER_LINES+MENU_TEXT_COLUMN_OFFSET
     33    sub     al, MENU_HORIZONTAL_BORDER_LINES+(MENU_TEXT_COLUMN_OFFSET/2)
    3434    mul     cl
    3535    xchg    cx, ax
     
    6060    cmp     BYTE [bp+MENUINIT.bInfoLines], 0
    6161    jz      SHORT NothingToRefresh
    62     call    PrepareToDrawInformationArea
     62    call    MenuText_PrepareToDrawInformationArea
    6363    jmp     MenuEvent_RefreshInformation
    6464
     
    8080
    8181ALIGN JUMP_ALIGN
    82 PrepareToDrawInformationArea:
     82MenuText_PrepareToDrawInformationArea:
    8383    mov     si, ATTRIBUTE_CHARS.cInformation
    8484    call    MenuLocation_GetInformationTextTopLeftCoordinatesToAX
Note: See TracChangeset for help on using the changeset viewer.