It is currently Sat Nov 18, 2017 1:39 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Thu Aug 03, 2017 12:39 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5822
Location: Canada
tokumaru wrote:
GradualGames wrote:
What could cause an unpaired write except for improper locking of nmi vs. main thread?

I can't think of many things...

If you restrict the possibilities to things you intend your code to do, there's no accounting for bugs at all. ;P

STA (pointer), Y can write anywhere depending on what's in the pointer. Accidental execution of data or RAM as can end up writing anywhere as well. Don't forget the PPU registers aren't just at $2000-2007, they are mirrored, so the target for a stray write is fairly wide.


It's true that a lot of bugs will simply crash the game or otherwise leave it totally failed, but I find (maybe surprisingly?) that quite a lot are relatively benign and often totally recoverable.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group