mirror of
https://github.com/FranLMSP/rmg-001.git
synced 2024-11-23 10:12:11 +00:00
Start modeling graphics
This commit is contained in:
parent
d2bf668bdc
commit
3abdbbde85
@ -1716,7 +1716,6 @@ impl CPU {
|
|||||||
self.registers.increment(Register::PC, 2);
|
self.registers.increment(Register::PC, 2);
|
||||||
},
|
},
|
||||||
Opcode::NOP => self.registers.increment(Register::PC, 1),
|
Opcode::NOP => self.registers.increment(Register::PC, 1),
|
||||||
// _ => println!("Illegal instruction"),
|
|
||||||
Opcode::IllegalInstruction => {panic!("Illegal instruction");},
|
Opcode::IllegalInstruction => {panic!("Illegal instruction");},
|
||||||
_ => {panic!("Illegal instruction");},
|
_ => {panic!("Illegal instruction");},
|
||||||
};
|
};
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
struct ColorPalette(u8, u8, u8, u8);
|
||||||
|
|
||||||
|
struct Tile {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
struct Sprite {
|
||||||
|
}
|
||||||
|
|
||||||
pub struct PPU;
|
pub struct PPU;
|
||||||
|
|
||||||
impl PPU {
|
impl PPU {
|
||||||
|
Loading…
Reference in New Issue
Block a user