aboutsummaryrefslogtreecommitdiffstats
path: root/data/bye800.asm
diff options
context:
space:
mode:
Diffstat (limited to 'data/bye800.asm')
-rw-r--r--data/bye800.asm14
1 files changed, 5 insertions, 9 deletions
diff --git a/data/bye800.asm b/data/bye800.asm
index 4b7325b..5add19e 100644
--- a/data/bye800.asm
+++ b/data/bye800.asm
@@ -3,18 +3,14 @@
;;
defc CONWRITE=000Bh
- defc IPSAV=65338
+ defc SPSAV=0FF45h
_start:
;; After this, do CHAIN "NUL:"
- ld de,chain_nul-1
- ld a,e
- sub l
- ld (hl),a
- ld a,d
- sbc h
- inc hl
- ld (hl),a
+ ld ix,(SPSAV)
+ ld de,chain_nul
+ ld (ix+4),e
+ ld (ix+5),d
ld hl,hello
ld c,hello_len