IN/OUT Z80 instructions implemented

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent 635ed2f0bb
commit efa2227d9d
9 files changed
+103 -26

No files matched your search

+2 -1
View File
@@ -40,11 +40,12 @@ Z80_instr_37: ; SCF
Z80_instr_76: ; HALT
; Used to call BIOS routines
; XXX probably not the besta idea, GENCPC seems to do some relocations
ldx #$01 ; default BIOS function, warm start
lda REG_PC+1
cmp #$FE
cmp #$FE ;
bne @1
lda REG_PC+0
sec