From cd5ec16cefdb3f83dad10d4607f1c696351ee5e0 Mon Sep 17 00:00:00 2001 From: Neil McPhail Date: Sun, 10 Nov 2024 17:27:28 +0000 Subject: [PATCH] Split out code section for easy editing by user --- Makefile | 2 +- code.asm | 2 ++ remload.asm | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 code.asm diff --git a/Makefile b/Makefile index 1fc4eab..df5d24d 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ bodybincs: bodybin ac cp bodybin bodybincs ./ac bodybincs -bodybin: remload.asm +bodybin: remload.asm code.asm pasmo remload.asm bodybin ac: append_checksum.c diff --git a/code.asm b/code.asm new file mode 100644 index 0000000..0e7aada --- /dev/null +++ b/code.asm @@ -0,0 +1,2 @@ + ld bc, 42 + ret diff --git a/remload.asm b/remload.asm index 6ff256f..8dd920a 100644 --- a/remload.asm +++ b/remload.asm @@ -53,8 +53,7 @@ remcode: db #ea ;REM code: - ld bc, 42 ;your code goes here - ret + INCLUDE code.asm enter: db #0d