It is currently Wed Apr 25, 2018 1:37 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Feb 24, 2018 7:14 am 
Offline
User avatar

Joined: Thu Feb 02, 2006 7:07 am
Posts: 119
Location: Chile (South America), Quilpué
Hi!

Im developing a nes emulator. I can run NROM and UxROM succesfully. CNROM seems easy, and i can "play" CNROM games but all my CNROMS (circus charlie, friday13th and more) are experimenting graphical problems (glitches). I think my routine (8kb bankswitching is Ok)...

Only one detail. Im not using pointers for it, so im doing bankswitching by "copying 8kb chunks" to vram. Could be it?

So in your experience, Why CNROMS could experiment graphical glitches?

_________________
Good day to nesdev people. Lord..
Author of nothing =P
UTFSM Sansano programmer.. lord_Chile
Saludos a la Sede JMC de la UTFSM... Viña del Mar, CHILE


Top
 Profile  
 
PostPosted: Sat Feb 24, 2018 2:01 pm 
Offline

Joined: Mon May 27, 2013 9:40 am
Posts: 429
I'm no expert, but being a developer which has used CNROM extensively, maybe it has to do with the fact that bankswitching can be done *at any time*, even during rendering, as it doesn't involve writing to the PPU at all. What kind of glitches are you getting? Maybe the 8Kb copies are taking longer than expected during a tight and timing sensitive routine such as generating the display?

_________________
http://www.mojontwins.com


Top
 Profile  
 
PostPosted: Mon Feb 26, 2018 9:41 pm 
Offline
User avatar

Joined: Wed Dec 06, 2006 8:18 pm
Posts: 2824
Post a picture if possible. Your banking routine could be flawed or your rendering. Copying data is not a good idea. It's possible you are copying over and corrupting data maybe. Or post code from some of your routines.


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

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