some more Z80 work
This commit is contained in:
1 parent
690b2b832d
commit
c04f3bc1ff
13 files changed
+232
-219
No files matched your search
@@ -0,0 +1,20 @@
|
||||
|
||||
;
|
||||
; Z80 Virtual Machine - I/O access
|
||||
;
|
||||
|
||||
|
||||
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
|
||||
Reference in new issue
Block a user