IN/OUT Z80 instructions implemented

This commit is contained in:
FeralChild64 committed 2020-12-21 20:16:15 +01:00
1 parent 8a54fdbd5c
commit db14831515
9 files changed
+103 -26

No files matched your search

+14
View File
@@ -124,6 +124,20 @@ ZVM_set_bank_1:
rts
ZVM_fetch_IO:
; XXX fetch addresses via ADDR_IO - but which ones are safe? Should we have a whitelist?
lda #$00
sta REG_A
rts
ZVM_store_IO:
; XXX again, we should have a whitelist of addresses
rts
ZVM_fetch_opcode_bank_0:
; XXX implement, should return byte in .A