Skip to content

Commit 5e1e903

Browse files
authored
Update hardware.inc
The pandocs list these bits in rNR52 as read only. And the oracle games seem to read these back to check if sound is done.
1 parent c755a57 commit 5e1e903

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hardware.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,10 @@ AUDTERM_1_RIGHT EQU %00000001
445445
; -- Sound on/off (R/W)
446446
; --
447447
; -- Bit 7 - All sound on/off (sets all audio regs to 0!)
448-
; -- Bit 3 - Sound 4 ON flag (doesn't work!)
449-
; -- Bit 2 - Sound 3 ON flag (doesn't work!)
450-
; -- Bit 1 - Sound 2 ON flag (doesn't work!)
451-
; -- Bit 0 - Sound 1 ON flag (doesn't work!)
448+
; -- Bit 3 - Sound 4 ON flag (read only)
449+
; -- Bit 2 - Sound 3 ON flag (read only)
450+
; -- Bit 1 - Sound 2 ON flag (read only)
451+
; -- Bit 0 - Sound 1 ON flag (read only)
452452
; --
453453
rNR52 EQU $FF26
454454
rAUDENA EQU rNR52

0 commit comments

Comments
 (0)