diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-09 23:59:34 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-10 13:35:54 +0200 |
| commit | e14b6e623df4b2cc9375660fa3e5da73dba3e8c8 (patch) | |
| tree | 48199de688e86943678e69c8da06801997712d42 /basics/sprite.s | |
| parent | a7a268c9abc34c2fdf1cbf802e625f825bf86743 (diff) | |
| download | code.nes-e14b6e623df4b2cc9375660fa3e5da73dba3e8c8.tar.gz code.nes-e14b6e623df4b2cc9375660fa3e5da73dba3e8c8.zip | |
Fix minor details on sound in sprite.s
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'basics/sprite.s')
| -rw-r--r-- | basics/sprite.s | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/basics/sprite.s b/basics/sprite.s index 74fa24d..12000bc 100644 --- a/basics/sprite.s +++ b/basics/sprite.s @@ -127,9 +127,7 @@ ;; Processing Unit). More precisely, the $4017 address controls what is ;; called the "Frame counter" from the APU ;; (https://www.nesdev.org/wiki/APU#Frame_Counter_($4017)). Setting #$40 to - ;; it disables it completely, so we are in a known state. If we were to use - ;; sound, at the end of the reset code we should enable it back. We do *not* - ;; do it here because we don't need it. + ;; it disables it completely, so we are in a known state. ldx #$40 stx $4017 ; APU Frame Counter @@ -156,8 +154,7 @@ ;; the value then stored in the aforementioned memory locations. ;; ;; The one on $4010 refers again to the APU (as described before), and it - ;; directly controls the DMC. Again, if you wanted sound, you should enable - ;; this back after the whole reset block. + ;; directly controls the DMC. ;; ;; On the other side, the low addresses of $2000 control the PPU. In ;; particular, we disable NMIs from the PPU by setting the PPUCTRL address |
