diff options
author | B. Watson <urchlay@slackware.uk> | 2025-04-23 17:41:47 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-04-23 17:41:47 -0400 |
commit | 291f6ba7b54fb01053c8927d526bec5b3a1a111f (patch) | |
tree | 15dc6b5f3159f3182e7ac54d481d475235425fb7 | |
parent | ad84188c66a3f1112a8c6df444cc2b814fca0386 (diff) | |
download | atari8-self-relocator-291f6ba7b54fb01053c8927d526bec5b3a1a111f.tar.gz |
reloc.s: shave off 4 bytes.
-rw-r--r-- | autorun.sys | bin | 1117 -> 1113 bytes | |||
-rw-r--r-- | hello.s | 2 | ||||
-rw-r--r-- | reloc.s | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/autorun.sys b/autorun.sys Binary files differindex 2ef3512..8aedd8b 100644 --- a/autorun.sys +++ b/autorun.sys @@ -144,6 +144,8 @@ end_str: .byte "My code ends at $",0 memlo_str: .byte EOL, "MEMLO is currently set to $",0 relax_str: .byte EOL, EOL, "Watchen das blinkenlights...",EOL,0 + .out .sprintf("hello.s code size $%04x (%d)", (* - start_addr), (* - start_addr)) + .ifndef RAW end_addr: .word INITAD @@ -165,9 +165,7 @@ move_loop: bcc do_init ; fix up RUNAD - lda RUNAD+1 - sec - sbc offset_pages + sbc offset_pages ; carry already set by the cmp above sta RUNAD+1 do_init: |