From 580d915873a9851b527e71beb057d53e165e410f Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 21 Nov 2021 22:35:03 +0000 Subject: Updated to use casm for CP/M emulation --- Makefile | 2 +- emucpm.z80 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3