Talk:PPU palettes: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Unused palette data and EXT pins)
(Background palette hack and output to EXT pins)
Line 1: Line 1:
It says that the background palette hack can be used to display the unused palette data. Can the EXT pins also do this? --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 22:30, 1 July 2013 (MDT)
It says that the background palette hack can be used to display the unused palette data. Can the EXT pins also do this? --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 22:30, 1 July 2013 (MDT)
: Yes, I think so. While rendering background pixels, the palette index that gets looked up is simply 0<exp_in3><exp_in2><exp_in1><exp_in0>. -[[User:Ulfalizer|Ulfalizer]] ([[User talk:Ulfalizer|talk]]) 03:58, 2 July 2013 (MDT)
: Yes, I think so. While rendering background pixels, the palette index that gets looked up is simply 0<exp_in3><exp_in2><exp_in1><exp_in0>. -[[User:Ulfalizer|Ulfalizer]] ([[User talk:Ulfalizer|talk]]) 03:58, 2 July 2013 (MDT)
: Interestingly, it looks like the background palette hack wouldn't work for ''output'' to the EXT pins though (bit 6 of $2000 set). The logic that causes the VRAM address to be used for the palette index while the background palette hack is active comes after the logic that outputs the index to the EXT pins. -[[User:Ulfalizer|Ulfalizer]] ([[User talk:Ulfalizer|talk]]) 04:15, 2 July 2013 (MDT)

Revision as of 10:15, 2 July 2013

It says that the background palette hack can be used to display the unused palette data. Can the EXT pins also do this? --Zzo38 (talk) 22:30, 1 July 2013 (MDT)

Yes, I think so. While rendering background pixels, the palette index that gets looked up is simply 0<exp_in3><exp_in2><exp_in1><exp_in0>. -Ulfalizer (talk) 03:58, 2 July 2013 (MDT)
Interestingly, it looks like the background palette hack wouldn't work for output to the EXT pins though (bit 6 of $2000 set). The logic that causes the VRAM address to be used for the palette index while the background palette hack is active comes after the logic that outputs the index to the EXT pins. -Ulfalizer (talk) 04:15, 2 July 2013 (MDT)