Changeset 60 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuLocation.asm


Ignore:
Timestamp:
Nov 25, 2010, 2:17:45 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Timeout count down is now stopped when any key pressed.
File:
1 edited

Legend:

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

    r41 r60  
    22; Project name  :   Assembly Library
    33; Created date  :   14.7.2010
    4 ; Last update   :   11.8.2010
     4; Last update   :   25.11.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Functions for calculation menu window dimensions.
     
    160160    sub     ax, BYTE MENU_HORIZONTAL_BORDER_LINES + MENU_TEXT_COLUMN_OFFSET
    161161    ret
     162
     163
     164;--------------------------------------------------------------------
     165; MenuLocation_MoveCursorByALcolumnsAndAHrows
     166;   Parameters
     167;       AL:     Number of columns to move
     168;       AH:     Numver of rows to move
     169;       SS:BP:  Ptr to MENU
     170;   Returns:
     171;       Nothing
     172;   Corrupts registers:
     173;       AX, DI
     174;--------------------------------------------------------------------
     175ALIGN JUMP_ALIGN
     176MenuLocation_MoveCursorByALcolumnsAndAHrows:
     177    push    ax
     178    CALL_DISPLAY_LIBRARY GetSoftwareCoordinatesToAX
     179    pop     di
     180    add     ax, di
     181    CALL_DISPLAY_LIBRARY SetCursorCoordinatesFromAX
     182    ret
Note: See TracChangeset for help on using the changeset viewer.