Changeset 133 in xtideuniversalbios for trunk/Assembly_Library/Src/Keyboard
- Timestamp:
- Mar 12, 2011, 1:48:48 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Keyboard/Keyboard.asm
r131 r133 10 10 ; Reads user inputted word. 11 11 ; Function returns when ENTER or ESC will be pressed. 12 ; 12 ; 13 13 ; Keyboard_ReadUserInputtedWordWhilePrinting 14 14 ; Parameters … … 51 51 ; supported to ignore unwanted characters. 52 52 ; Function returns when ENTER or ESC will be pressed. 53 ; 53 ; 54 54 ; Keyboard_ReadUserInputtedStringToESDIWhilePrinting 55 55 ; Parameters: … … 249 249 ; AX 250 250 ;-------------------------------------------------------------------- 251 %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS ; Only used when debugging 251 252 ALIGN JUMP_ALIGN 252 253 Keyboard_RemoveAllKeystrokesFromBuffer: … … 254 255 jnz SHORT Keyboard_RemoveAllKeystrokesFromBuffer 255 256 ret 257 %endif 256 258 257 259 … … 271 273 ;-------------------------------------------------------------------- 272 274 ALIGN JUMP_ALIGN 273 Keyboard_GetKeystrokeToAX:274 call Keyboard_GetKeystrokeToAXandLeaveItToBuffer275 jnz SHORT Keyboard_GetKeystrokeToAXandWaitIfNecessary276 ret277 ALIGN JUMP_ALIGN278 275 Keyboard_GetKeystrokeToAXandLeaveItToBuffer: 279 276 mov ah, CHECK_FOR_KEYSTROKE 280 277 int BIOS_KEYBOARD_INTERRUPT_16h 281 278 ret 279 ALIGN JUMP_ALIGN 280 Keyboard_GetKeystrokeToAX: 281 call Keyboard_GetKeystrokeToAXandLeaveItToBuffer 282 jz SHORT Keyboard_GetKeystrokeToAXReturn 283 ; Fall to Keyboard_GetKeystrokeToAXandWaitIfNecessary 282 284 ALIGN JUMP_ALIGN 283 285 Keyboard_GetKeystrokeToAXandWaitIfNecessary: … … 285 287 int BIOS_KEYBOARD_INTERRUPT_16h 286 288 test ax, ax ; Clear ZF 287 ret 289 Keyboard_GetKeystrokeToAXReturn: 290 ret
Note:
See TracChangeset
for help on using the changeset viewer.