mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-09-12 02:54:54 +00:00
Disable IP65 abort key during active connection.
It might be welcome to be able to abort DHCP, DNS and TCP connect operations. However while we're connected to the remote host we need full control over the keyboard. If TCP send operations don't work immediately the user will just have to wait until they do (or the timeout).
This commit is contained in:
parent
1acf26849c
commit
0b0d98f88c
@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
.export start
|
.export start
|
||||||
|
|
||||||
|
.import abort_key
|
||||||
|
.importzp abort_key_default
|
||||||
|
.importzp abort_key_disable
|
||||||
.import drv_init
|
.import drv_init
|
||||||
.importzp drv_init_default
|
.importzp drv_init_default
|
||||||
.import get_filtered_input
|
.import get_filtered_input
|
||||||
@ -183,6 +186,8 @@ telnet_main_entry:
|
|||||||
sta connection_closed
|
sta connection_closed
|
||||||
sta data_received
|
sta data_received
|
||||||
sta iac_response_buffer_length
|
sta iac_response_buffer_length
|
||||||
|
lda #abort_key_disable
|
||||||
|
sta abort_key
|
||||||
ldax #cursor_on
|
ldax #cursor_on
|
||||||
jsr print_vt100
|
jsr print_vt100
|
||||||
|
|
||||||
@ -208,7 +213,9 @@ telnet_main_entry:
|
|||||||
jmp :++
|
jmp :++
|
||||||
: lda connection_closed
|
: lda connection_closed
|
||||||
beq :++
|
beq :++
|
||||||
: ldax #cursor_off
|
: lda #abort_key_default
|
||||||
|
sta abort_key
|
||||||
|
ldax #cursor_off
|
||||||
jsr print_vt100
|
jsr print_vt100
|
||||||
ldax #disconnected
|
ldax #disconnected
|
||||||
jsr print_ascii_as_native
|
jsr print_ascii_as_native
|
||||||
|
Loading…
Reference in New Issue
Block a user