Split out code section for easy editing by user

This commit is contained in:
Neil McPhail 2024-11-10 17:27:28 +00:00
parent f560e63a50
commit cd5ec16cef
3 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ bodybincs: bodybin ac
cp bodybin bodybincs cp bodybin bodybincs
./ac bodybincs ./ac bodybincs
bodybin: remload.asm bodybin: remload.asm code.asm
pasmo remload.asm bodybin pasmo remload.asm bodybin
ac: append_checksum.c ac: append_checksum.c

2
code.asm Normal file
View File

@ -0,0 +1,2 @@
ld bc, 42
ret

View File

@ -53,8 +53,7 @@ remcode:
db #ea ;REM db #ea ;REM
code: code:
ld bc, 42 ;your code goes here INCLUDE code.asm
ret
enter: enter:
db #0d db #0d