From 1696a9c76bfb277f373d3d319d2df4eba5d18be8 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Sun, 4 Jun 2017 00:13:08 +0200 Subject: [PATCH] Allow Apple II slot setting. The user can set the Apple II slot of his Ethernet card by patching the fourth byte of the binary. --- apps/telnet65.s | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/telnet65.s b/apps/telnet65.s index 154f169..1e95bc2 100644 --- a/apps/telnet65.s +++ b/apps/telnet65.s @@ -6,6 +6,8 @@ .export start +.import drv_init +.importzp drv_init_default .import get_filtered_input .import get_key .import get_key_if_available @@ -51,6 +53,13 @@ buffer_ptr = sreg .segment "STARTUP" + jmp start +drv_init_value: + .byte drv_init_default + + +.code + start: jsr vt100_init_terminal @@ -61,6 +70,8 @@ start: jsr print_vt100 ldax #initializing jsr print_ascii_as_native + lda drv_init_value + jsr drv_init jsr ip65_init bcc :+ ldax #device_not_found