mirror of
https://github.com/FranLMSP/rmg-001.git
synced 2024-11-23 10:12:11 +00:00
Refactor enums
This commit is contained in:
parent
253da76fd5
commit
b2190d1868
@ -2,11 +2,8 @@ use rust_boy::rom::ROM;
|
||||
use rust_boy::console::Console;
|
||||
|
||||
fn main() -> std::io::Result<()> {
|
||||
/* let myrom = ROM::load_file("roms/cpu_instrs.gb".to_string())?;
|
||||
myrom.print_content(); */
|
||||
let mut console = Console::new();
|
||||
console.cpu_run();
|
||||
/* let val: u8 = 0b00000010;
|
||||
println!("{:08b}", val.rotate_left(7)); */
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
996
src/cpu.rs
996
src/cpu.rs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user