It is currently Sat Dec 16, 2017 3:50 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Jan 16, 2016 2:04 pm 
Offline
User avatar

Joined: Sun Mar 19, 2006 3:06 am
Posts: 584
Location: Gothenburg/Sweden
I'm working on a "little project" but I've once again stumbled into some familiar bugs I had when coding my first NES-emu along time ago.
Check out the attached screenshot and check the coin-palette in the statusbar. There's a "black box" around it, and I'm obviously doing something wrong with the palette-stuff.
Anyone gets a feeling of what I'm doing wrong?
Thanks in advance.


Attachments:
smb.png
smb.png [ 15.02 KiB | Viewed 1212 times ]

_________________
http://nes.goondocks.se/
Top
 Profile  
 
PostPosted: Sat Jan 16, 2016 2:18 pm 
Online

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19353
Location: NE Indiana, USA (NTSC)
Are you making sure to use the color value written to $3F00/$3F10 instead of $3F04, $3F08, or $3F0C when rendering?


Top
 Profile  
 
PostPosted: Sat Jan 16, 2016 5:43 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10166
Location: Rio de Janeiro - Brazil
SMB is known to rely on proper palette mirroring.


Top
 Profile  
 
PostPosted: Sun Jan 17, 2016 5:06 am 
Offline
User avatar

Joined: Sun Mar 19, 2006 3:06 am
Posts: 584
Location: Gothenburg/Sweden
Thanks, that was obviously the issue. :)
Still has got some palette-issues, some blocks gets a bit greenish (but only in SMB so far..).

_________________
http://nes.goondocks.se/


Top
 Profile  
 
PostPosted: Mon Jan 18, 2016 10:27 pm 
Offline
User avatar

Joined: Sun May 27, 2012 8:43 pm
Posts: 1312
Things going green in SMB usually means they are using BG Palette 0, which holds pipe and bushes colors. Make sure your attribute table is moving properly with your tiles when you scroll and handle nametable mirroring.


Top
 Profile  
 
PostPosted: Mon Jan 18, 2016 10:46 pm 
Offline
User avatar

Joined: Sun Mar 19, 2006 3:06 am
Posts: 584
Location: Gothenburg/Sweden
There's only a few blocks going green here and there (parts of the clouds, and parts of the bottom ground floor), so we'll see what's causing that behaviour... :)

_________________
http://nes.goondocks.se/


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: krzysiobal and 5 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