Changeset 60 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/MenuLocation.asm
- Timestamp:
- Nov 25, 2010, 2:17:45 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/MenuLocation.asm
r41 r60 2 2 ; Project name : Assembly Library 3 3 ; Created date : 14.7.2010 4 ; Last update : 11.8.20104 ; Last update : 25.11.2010 5 5 ; Author : Tomi Tilli 6 6 ; Description : Functions for calculation menu window dimensions. … … 160 160 sub ax, BYTE MENU_HORIZONTAL_BORDER_LINES + MENU_TEXT_COLUMN_OFFSET 161 161 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 ;-------------------------------------------------------------------- 175 ALIGN JUMP_ALIGN 176 MenuLocation_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.