Last active
July 6, 2016 19:31
-
-
Save floooh/8d980335fe05bd5c89ca7df83a97a59d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let mut out_port = 0; | |
let mut out_byte = 0xFF; | |
let mut cpu = rz80::CPU::new(); | |
cpu.out_fn = |port, val| { | |
out_port = port; | |
out_byte = val; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment