Follow

okay - I feel much better about this now - I'm, ready for @Tanuki​ to solve all my PPU and speed issues for me now that I'm fairly confident in the CPU and debugger

@Tanuki its checking the vblank bit in ppustatus register. It waits for two full frame redraws to resync the ppu and cpu after a reset. The third inf loop at 8057 is after nmi is enabled and the next vblank after that causes the handler to be called

@Tanuki btw updateframe, drawsprites, drawbackground and drawnametable are probable totally wrong

You could scrap all of those if you wanted.
I just spit them out as best i could then went to getting stuff running so i could debug visually

@Tanuki it seriously is, except I found that writing the full symbolic execution engine for x86/x64 was easier to get right in some way because I knew all the quirks going in

Doing the PPU has been a bit of trouble so far

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!