summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-11-21 22:35:03 +0000
committerIan C <ianc@noddybox.co.uk>2021-11-21 22:35:03 +0000
commit580d915873a9851b527e71beb057d53e165e410f (patch)
treec1f58843fbbeebb3f16a89b7d4a55484cbd9dcc7
parent3b2f4e3a0f8c1541331ff5030836f03f5402d5ea (diff)
Updated to use casm for CP/M emulation
-rw-r--r--Makefile2
-rw-r--r--emucpm.z803
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 447bbd6..6795e88 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ emma: $(BASE_O) $(EMMA_O)
test: emucpm.hex
emucpm.hex: emucpm.z80
- tpasm -P Z80 -o intel emucpm.hex emucpm.z80
+ casm emucpm.z80
clean:
rm -f emma $(BASE_O) $(EMMA_O) core *.hex *.lbl
diff --git a/emucpm.z80 b/emucpm.z80
index e8edb2a..495afc9 100644
--- a/emucpm.z80
+++ b/emucpm.z80
@@ -1,6 +1,9 @@
;
; Quick hack to emulate some CPM bdos calls (well, enough to make it work)
;
+ option output-file, emucpm.hex
+ option output-format, hex
+
org 0
halt