diff options
Diffstat (limited to 'emucpm.z80')
-rw-r--r-- | emucpm.z80 | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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: |