From 665e1cabd8acee86ea3865e0a38467dec52e6f66 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 26 Aug 2006 00:50:13 +0000 Subject: Updates --- emucpm.z80 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'emucpm.z80') diff --git a/emucpm.z80 b/emucpm.z80 index befecee..e8edb2a 100644 --- a/emucpm.z80 +++ b/emucpm.z80 @@ -7,14 +7,22 @@ org 5 jp cpm - org $ff00 + org $f000 cpm: + push af + push bc + push de + push hl ld a,9 cp c - jr z,print_string + call z,print_string ld a,2 cp c - jr z,print_char + call z,print_char + pop hl + pop de + pop bc + pop af ret print_string: -- cgit v1.2.3