It is currently Fri Oct 20, 2017 11:17 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Wiki Error?
PostPosted: Tue Dec 14, 2010 5:12 pm 
Offline
User avatar

Joined: Sat Apr 03, 2010 5:45 pm
Posts: 129
Location: South Carolina
http://wiki.nesdev.com/w/index.php/PPU_ ... _.3E_write

The line states that writing #$30 to $2001 will produce a monochrome display. It seems that is incorrect. Writing #$1F will produce the monochrome display. Writing #$30 will only remove the background rendering and intensify red.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 14, 2010 5:35 pm 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 3943
No, it says that enabling the monochrome bit is like doing a bitwise AND of all the colors of the palette with 0x30.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 14, 2010 10:23 pm 
Offline
User avatar

Joined: Sun Sep 19, 2004 9:28 pm
Posts: 3192
Location: Mountain View, CA, USA
I've updated the phrasing of the bit in question. Instead of saying "1: AND all ...", I've changed it to "1: logically AND all...", which should act as extra clarification.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2010 12:05 am 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10064
Location: Rio de Janeiro - Brazil
The problem is using "AND" as if it was a verb. Maybe it should say "ignore bits 0-3 of the palette entries, effectively producing a monochrome display"


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2010 4:27 am 
Offline
User avatar

Joined: Sat Apr 03, 2010 5:45 pm
Posts: 129
Location: South Carolina
koitsu wrote:
I've updated the phrasing of the bit in question. Instead of saying "1: AND all ...", I've changed it to "1: logically AND all...", which should act as extra clarification.


That makes it much clearer.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2010 5:06 am 
Offline
User avatar

Joined: Mon Jan 03, 2005 10:36 am
Posts: 2962
Location: Tampere, Finland
"Logically AND" makes me think of logical conjunction... I would do something along the lines of what tokumaru said.

_________________
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: kkfos.aspekt.fi


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2010 8:31 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 19110
Location: NE Indiana, USA (NTSC)
C, C++, Java, PHP, and numerous other C-family languages make a distinction between bitwise AND (&) and logical AND (&&). Bitwise AND is the operation performed here. Logical AND is "1 if both values are nonzero; otherwise 0". I just rewrote much of that section to get more of the discussion out of the bit chart.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 15, 2010 9:09 am 
Offline
User avatar

Joined: Fri Sep 24, 2010 4:41 pm
Posts: 193
Location: California, USA
tepples wrote:
C, C++, Java, PHP, and numerous other C-family languages make a distinction between bitwise AND (&) and logical AND (&&). Bitwise AND is the operation performed here. Logical AND is "1 if both values are nonzero; otherwise 0". I just rewrote much of that section to get more of the discussion out of the bit chart.


Yep, if I saw logical AND I'd really be confused.


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 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