4Data Telesoftware Adaptor Issue 1.2 | Routines |
Prev: 10F0 | Up: Map | Next: 1163 |
Used by the routines at enter_page, enter_subcode_and_clear, select_channel and telesoftware_number.
|
||||
get_dec_digit | 1155 | PUSH HL | Preserve HL. | |
get_dec_digit_0 | 1156 | CALL get_keypress | Get a keypress. | |
1159 | CP $30 | Loop until key code is greater than or equal to $30 and less than $3A ('0' to '9'). | ||
115B | JR C,get_dec_digit_0 | |||
115D | CP $3A | |||
115F | JR NC,get_dec_digit_0 | |||
1161 | POP HL | Restore HL and return. | ||
1162 | RET |
Prev: 10F0 | Up: Map | Next: 1163 |