Start modeling graphics

This commit is contained in:
Franco Colmenarez 2021-10-21 11:06:25 -05:00
parent d2bf668bdc
commit 3abdbbde85
2 changed files with 9 additions and 1 deletions

View File

@ -1716,7 +1716,6 @@ impl CPU {
self.registers.increment(Register::PC, 2);
},
Opcode::NOP => self.registers.increment(Register::PC, 1),
// _ => println!("Illegal instruction"),
Opcode::IllegalInstruction => {panic!("Illegal instruction");},
_ => {panic!("Illegal instruction");},
};

View File

@ -1,3 +1,12 @@
struct ColorPalette(u8, u8, u8, u8);
struct Tile {
}
struct Sprite {
}
pub struct PPU;
impl PPU {