Talk:APU basics: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Created page with 'I removed some of the comments you added to the initial register values, because the aim of this article is to present a simplified model of the APU, and not require the programm…')
 
No edit summary
Line 6: Line 6:


[[User:Blargg|Blargg]] 15:28, 29 July 2010 (UTC)
[[User:Blargg|Blargg]] 15:28, 29 July 2010 (UTC)
:Some comments are helpful so that advanced programmers can understand why it's written the way it's written. For instance, the init code that's been on the page the last couple years until now had a nasty side effect where $4014 (OAMDMA) was written during APU init. When I fixed this issue, I made a note explaining why $4014 has to be skipped. While that comment will probably mean nothing to a total newbie, it will prevent other people from trying the same simplification that led to this bug in the first place. - [[User:Furrykef|Furrykef]] ([[User talk:Furrykef|talk]]) 11:35, 21 August 2016 (MDT)

Revision as of 17:35, 21 August 2016

I removed some of the comments you added to the initial register values, because the aim of this article is to present a simplified model of the APU, and not require the programmer to bother with anything more. You can add them back if you want, but I'm thinking this should focus on simplicity and getting results, not understanding the APU.

I also removed the use of the round() function, as I didn't feel it would be clear to the intended audience (I put a comment explaining to round the result).

Again, I'm fairly new to Wikis so feel free to explain better ways of handling these than I have. :)

Blargg 15:28, 29 July 2010 (UTC)

Some comments are helpful so that advanced programmers can understand why it's written the way it's written. For instance, the init code that's been on the page the last couple years until now had a nasty side effect where $4014 (OAMDMA) was written during APU init. When I fixed this issue, I made a note explaining why $4014 has to be skipped. While that comment will probably mean nothing to a total newbie, it will prevent other people from trying the same simplification that led to this bug in the first place. - Furrykef (talk) 11:35, 21 August 2016 (MDT)