summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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