diff --git a/apps/telnet65.s b/apps/telnet65.s index 225b342b..4a0dd210 100644 --- a/apps/telnet65.s +++ b/apps/telnet65.s @@ -306,6 +306,12 @@ send_char: jsr tcp_send bcs :+ rts +: lda ip65_error + cmp #KPR_ERROR_CONNECTION_CLOSED + bne :+ + lda #1 + sta connection_closed + rts : ldax #send_error jsr print_ascii_as_native jmp print_error