mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-10-11 01:23:42 +00:00
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.
This commit is contained in:
parent
b8f8c3085d
commit
1696a9c76b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user