Changeset 181 in xtideuniversalbios for trunk/Configurator/Src/Libraries/menu
- Timestamp:
- Nov 13, 2011, 3:38:40 PM (13 years ago)
- google:author:
- krille_n_@hotmail.com
- Location:
- trunk/Configurator/Src/Libraries/menu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Configurator/Src/Libraries/menu/menudraw.asm
r170 r181 287 287 test BYTE [bp+MENUVARS.bFlags], FLG_MNU_HIDENFO ; Information hidden? 288 288 jnz SHORT .JumpToBottomBorder 289 test cx, cx ; Any info strings? 290 jz SHORT MenuDraw_BottomBorder 289 jcxz MenuDraw_BottomBorder ; Any info strings? 291 290 push cx 292 291 call MenuDraw_MiddleBorder ; Draw middle border -
trunk/Configurator/Src/Libraries/menu/menumsg.asm
r2 r181 1 ; File name : menumsg.asm2 1 ; Project name : Menu library 3 ; Created date : 13.11.2009 4 ; Last update : 10.1.2010 5 ; Author : Tomi Tilli 6 ; Description : ASM library to menu system. 2 ; Description : ASM library for menu system. 7 3 ; Contains functions for displaying messages. 8 4 … … 156 152 ALIGN JUMP_ALIGN 157 153 MenuMsg_GetTokenForLine: 158 test cx, cx ; Line 0 wanted? 159 jz .GetFirst ; If so, just get token length 154 jcxz .GetFirst ; Line 0 wanted? If so, just get token length 160 155 push bp 161 156 push si … … 218 213 jnc .EndOfString ; Return if no tokens 219 214 eMOVZX dx, BYTE [bp+MENUVARS.bWidth] ; Menu width 220 sub dl, SIZE_MSG_HBRDR ; To line length 215 sub dl, SIZE_MSG_HBRDR ; To line length 221 216 mov bl, ' ' ; Space character 222 217 ALIGN JUMP_ALIGN
Note:
See TracChangeset
for help on using the changeset viewer.