implemented background tile fetching
This commit is contained in:
parent
f4e6198a99
commit
e7b78f281f
9 changed files with 474 additions and 131 deletions
src
|
@ -52,6 +52,15 @@ uint8_t Bus::Tick()
|
|||
return result;
|
||||
}
|
||||
|
||||
void Bus::PPUTick()
|
||||
{
|
||||
if (ppuClock == 0)
|
||||
cpu.Tick();
|
||||
|
||||
ppu.Tick();
|
||||
ppuClock = (ppuClock + 1) % 3;
|
||||
}
|
||||
|
||||
bool Bus::Instruction()
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue