Last active
December 30, 2022 00:27
-
-
Save sean3z/0b671e817e9de4087b363ebd8588ed06 to your computer and use it in GitHub Desktop.
Example main
This file contains 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
use cpu::Cpu; | |
mod cpu; | |
mod keypad; | |
mod display; | |
fn main() { | |
let mut cpu = Cpu::new(); | |
cpu.load_game("/home/sean/www/chip8-emulator-rust/roms/pong"); | |
'main : loop { | |
cpu.emulate_cycle(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment