Changeset 568 in xtideuniversalbios for trunk/Assembly_Library/Src/Menu/Dialog/DialogWord.asm
- Timestamp:
- Dec 21, 2014, 5:37:53 PM (10 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Menu/Dialog/DialogWord.asm
r526 r568 93 93 ; Nothing (User input stored to WORD_DIALOG_IO) 94 94 ; Corrupts registers: 95 ; AX, BX, DX, SI, DI95 ; AX, BX, CX, DX, SI, DI 96 96 ;-------------------------------------------------------------------- 97 97 ALIGN JUMP_ALIGN … … 100 100 eMOVZX bx, [si+WORD_DIALOG_IO.bNumericBase] 101 101 ALIGN JUMP_ALIGN 102 .GetUserInput IntilValidOrCancelled:102 .GetUserInputUntilValidOrCancelled: 103 103 call Keyboard_ReadUserInputtedWordWhilePrinting 104 104 jz SHORT .UserCancellation … … 116 116 .InputtedWordNotInRange: 117 117 call Keyboard_PlayBellForUnwantedKeystroke 118 call .ClearInputtedWordFromDialog 119 jmp SHORT .GetUserInputIntilValidOrCancelled 120 121 ;-------------------------------------------------------------------- 122 ; .ClearInputtedWordFromDialog 123 ; Parameters 124 ; SS:BP: Ptr to DIALOG 125 ; Returns: 126 ; Nothing 127 ; Corrupts registers: 128 ; AX, CX, DX, DI 129 ;-------------------------------------------------------------------- 130 ALIGN JUMP_ALIGN 131 .ClearInputtedWordFromDialog: 118 ; Clear inputted word from dialog 132 119 CALL_DISPLAY_LIBRARY GetSoftwareCoordinatesToAX 133 120 xchg dx, ax … … 138 125 139 126 xchg ax, dx 140 JMP_DISPLAY_LIBRARY SetCursorCoordinatesFromAX141 127 CALL_DISPLAY_LIBRARY SetCursorCoordinatesFromAX 128 jmp SHORT .GetUserInputUntilValidOrCancelled
Note:
See TracChangeset
for help on using the changeset viewer.