Talk:PPU pinout: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
No edit summary
(→‎SYNC -> RST: new section)
Line 3: Line 3:
: I am having a doozy of a time figuring out how to rephrase it on the main page in an intelligible manner, so I'll just start from scratch: Assume the NES's palette has no gaps and thus is a {32 entry} × {6 bit} array. log₂(32)=5, so indexing this array requires 5 bits. The EXT port takes as input or output the bottom 4 bits of this 5 bit index. If the EXT port is used as an input, it replaces the "transparent" color in index 0 with any of colors 0-15, i.e. it's an extra layer of background and background-colored sprites underneath. —[[User:Lidnariq|Lidnariq]] ([[User talk:Lidnariq|talk]]) 01:59, 21 January 2013 (MST)
: I am having a doozy of a time figuring out how to rephrase it on the main page in an intelligible manner, so I'll just start from scratch: Assume the NES's palette has no gaps and thus is a {32 entry} × {6 bit} array. log₂(32)=5, so indexing this array requires 5 bits. The EXT port takes as input or output the bottom 4 bits of this 5 bit index. If the EXT port is used as an input, it replaces the "transparent" color in index 0 with any of colors 0-15, i.e. it's an extra layer of background and background-colored sprites underneath. —[[User:Lidnariq|Lidnariq]] ([[User talk:Lidnariq|talk]]) 01:59, 21 January 2013 (MST)
::OK, thanks, that makes sense, now I can understand. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 03:37, 25 January 2013 (MST)
::OK, thanks, that makes sense, now I can understand. --[[User:Zzo38|Zzo38]] ([[User talk:Zzo38|talk]]) 03:37, 25 January 2013 (MST)
== SYNC -> RST ==
Through analysis of Visual2C02 and cross-referencing of the [http://nesdev.org/Ntd_8bit.jpg Family Computer schematic], I've decided to rename pin 22 from "/SYNC" to "/RST" because that's clearly what it does (and I also renamed /VBL to /INT). However, there is still the matter of this comment: "(In a dual-PPU arrangement, the master /INT is also connected to the slave's /RST input)". This ''cannot'' be the case, because it would result in the chips becoming '''desynchronized''' - /INT goes high at the beginning of scanline 261 (pre-render), but /RST places the chip at the beginning of scanline 0 '''and''' forces rendering to be disabled for a complete frame. --[[User:Quietust|Quietust]] ([[User talk:Quietust|talk]]) 09:33, 31 March 2013 (MDT)

Revision as of 15:33, 31 March 2013

EXT port description

Can the function of the EXT pins be described more precisely? I do not understand very well, there are four EXT pins, and the colors are six bits (selecting the palette entry is only two bits), so how can it decide the color from this? --Zzo38 (talk) 00:27, 21 January 2013 (MST)

I am having a doozy of a time figuring out how to rephrase it on the main page in an intelligible manner, so I'll just start from scratch: Assume the NES's palette has no gaps and thus is a {32 entry} × {6 bit} array. log₂(32)=5, so indexing this array requires 5 bits. The EXT port takes as input or output the bottom 4 bits of this 5 bit index. If the EXT port is used as an input, it replaces the "transparent" color in index 0 with any of colors 0-15, i.e. it's an extra layer of background and background-colored sprites underneath. —Lidnariq (talk) 01:59, 21 January 2013 (MST)
OK, thanks, that makes sense, now I can understand. --Zzo38 (talk) 03:37, 25 January 2013 (MST)

SYNC -> RST

Through analysis of Visual2C02 and cross-referencing of the Family Computer schematic, I've decided to rename pin 22 from "/SYNC" to "/RST" because that's clearly what it does (and I also renamed /VBL to /INT). However, there is still the matter of this comment: "(In a dual-PPU arrangement, the master /INT is also connected to the slave's /RST input)". This cannot be the case, because it would result in the chips becoming desynchronized - /INT goes high at the beginning of scanline 261 (pre-render), but /RST places the chip at the beginning of scanline 0 and forces rendering to be disabled for a complete frame. --Quietust (talk) 09:33, 31 March 2013 (MDT)