mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-07-06 03:28:59 +00:00
- Simplify Makefile by allowing to use suffix '_tcp' to denote the requirement to link against TCP-capable IP65 lib. - Remove 'test' or 'test_' prefix from test program names - every program in 'test' is a test program. - Have some more test programs switch to lower case charset on the C64. - I'm no Ruby guy so don't rely on Ruby for building disk images.
31 lines
746 B
ArmAsm
31 lines
746 B
ArmAsm
.include "../inc/common.i"
|
|
.include "../inc/commonprint.i"
|
|
.include "../inc/net.i"
|
|
|
|
.import cfg_get_configuration_ptr
|
|
.import copymem
|
|
.importzp copy_src
|
|
.importzp copy_dest
|
|
.import exit_to_basic
|
|
|
|
|
|
.import __CODE_LOAD__
|
|
.import __CODE_SIZE__
|
|
.import __RODATA_SIZE__
|
|
.import __DATA_SIZE__
|
|
.import __IP65_DEFAULTS_SIZE__
|
|
.segment "EXEHDR" ;this is what gets put an the start of the file on the Apple 2
|
|
.addr __CODE_LOAD__-$03 ; Start address
|
|
.word __CODE_SIZE__+__RODATA_SIZE__+__DATA_SIZE__+__IP65_DEFAULTS_SIZE__+4 ; file size
|
|
jmp init
|
|
|
|
.code
|
|
|
|
init:
|
|
cld
|
|
jsr print_cr
|
|
init_ip_via_dhcp
|
|
jsr print_ip_config
|
|
jsr print_cr
|
|
jmp exit_to_basic
|
|
|