It is currently Tue Dec 18, 2018 3:57 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Aug 21, 2006 6:39 am 
Offline
User avatar

Joined: Mon Aug 21, 2006 4:19 am
Posts: 77
This solve the problem of mirror of the IO registers ?

if (endereco >= 0x2000 && endereco <= 0x2007) //Resolvendo o segundo problema. Quando estou escrevendo nos I/O.
{
memoria[endereco >> 8,endereco % V256] = dado;
for (int i = 0; i < 0x3FFF; i += 8) //fazendo o espelhamento somente no byte que se escreve.
{
memoria[(endereco + i) >> 8,(endereco + i) % V256] = dado;
}
}


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 21, 2006 1:34 pm 
Offline
User avatar

Joined: Sat Jul 22, 2006 12:06 pm
Posts: 96
Location: USA
Portuguese(?)-language discussion should probably go in the NESdev International forum section, but somebody might be able to help you here if you explain what your variable names/comments mean.

_________________
Warning: I am not a serious developer (yet), but CS and EE really interest me.
I was -_pentium5.1_- until I screwed up. This is why I screwed up. ^_^


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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