It is currently Sun Oct 22, 2017 2:06 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Emulator Display Issue
PostPosted: Mon Dec 19, 2016 6:47 am 
Offline

Joined: Mon Dec 19, 2016 6:33 am
Posts: 2
Hi there !

Newcomer here.

I've been working on an emulator for some time now and so far things were going pretty well. I got at the point where most things work but ... some don't :'(. (These debug NES roms are awesome by the way <3).
So that's it, I'm stuck. I'm having some... Display issues and scrolls issues on some games and really can't figure out what is happening. I've been lurking in the wiki, forum looking for someone who already stumbled upon this problem but no luck :/

My emulator passes every CPU tests I could find with the exception of a BRK test that fails. It also seems I have a few minor issues related to clock timing (some tests still don't pass) but I do not think it would cause these kind of problems ?

I've attached a few screenshots that show what is happening.

On the first, it's a scroll issue I'm having on Castlevania where the screen displays black stripes when scrolling.
The second is Zelda where I have a 8 pixel offset (My Link 'walks' on the background)
The third is also a Zelda screenshot, when I hit start the starts menu does not go away

That's it :) I don't want to bother you guys much but if someone has an idea, I welcome it!

Thank you for your time ! And thank you for this awesome website \o/


Attachments:
Screen Shot 2016-12-19 at 14.42.13.png
Screen Shot 2016-12-19 at 14.42.13.png [ 22.95 KiB | Viewed 642 times ]
Screen Shot 2016-12-19 at 14.41.58.png
Screen Shot 2016-12-19 at 14.41.58.png [ 43.93 KiB | Viewed 642 times ]
Screen Shot 2016-12-19 at 14.45.43.png
Screen Shot 2016-12-19 at 14.45.43.png [ 43.62 KiB | Viewed 642 times ]
Top
 Profile  
 
PostPosted: Wed Dec 21, 2016 1:56 pm 
Offline

Joined: Mon Dec 19, 2016 6:33 am
Posts: 2
Auto answering my own questions if anyone has (one day) the same kind of issues I had:

- The Castlevania scroll issue and the Zelda offset were due to me not prefetching enough tiles for the background to render (This was a great help https://wiki.nesdev.com/w/images/d/d1/Ntsc_timing.png), so there was a mismatch between the rendered tiles and hori(v)
- The Zelda issues were due to my nametable mirrors, I wasn't properly reading where I was supposed to


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: No registered users and 11 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