Skip to content

Commit 05f5a9b

Browse files
authored
Improve audio register descriptions (#15)
* Fix typos in audio register descriptions * Change sound terminology and document left/right terminals
1 parent d0a2c33 commit 05f5a9b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

hardware.inc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ DEF rAUD4POLY EQU rNR43
350350
; --
351351
; -- AUD4GO/NR44 ($FF23)
352352
; --
353-
; -- Bit 7 - Inital
353+
; -- Bit 7 - Initial (when set, sound restarts)
354354
; -- Bit 6 - Counter/consecutive selection
355355
; --
356356
DEF rNR44 EQU $FF23
@@ -361,10 +361,10 @@ DEF rAUD4GO EQU rNR44
361361
; -- AUDVOL/NR50 ($FF24)
362362
; -- Channel control / ON-OFF / Volume (R/W)
363363
; --
364-
; -- Bit 7 - Vin->SO2 ON/OFF (Vin??)
365-
; -- Bit 6-4 - SO2 output level (volume) (# 0-7)
366-
; -- Bit 3 - Vin->SO1 ON/OFF (Vin??)
367-
; -- Bit 2-0 - SO1 output level (volume) (# 0-7)
364+
; -- Bit 7 - Vin->SO2 ON/OFF (left)
365+
; -- Bit 6-4 - SO2 output level (left speaker) (# 0-7)
366+
; -- Bit 3 - Vin->SO1 ON/OFF (right)
367+
; -- Bit 2-0 - SO1 output level (right speaker) (# 0-7)
368368
; --
369369
DEF rNR50 EQU $FF24
370370
DEF rAUDVOL EQU rNR50
@@ -377,14 +377,14 @@ DEF AUDVOL_VIN_RIGHT EQU %00001000 ; SO1
377377
; -- AUDTERM/NR51 ($FF25)
378378
; -- Selection of Sound output terminal (R/W)
379379
; --
380-
; -- Bit 7 - Output sound 4 to SO2 terminal
381-
; -- Bit 6 - Output sound 3 to SO2 terminal
382-
; -- Bit 5 - Output sound 2 to SO2 terminal
383-
; -- Bit 4 - Output sound 1 to SO2 terminal
384-
; -- Bit 3 - Output sound 4 to SO1 terminal
385-
; -- Bit 2 - Output sound 3 to SO1 terminal
386-
; -- Bit 1 - Output sound 2 to SO1 terminal
387-
; -- Bit 0 - Output sound 0 to SO1 terminal
380+
; -- Bit 7 - Output channel 4 to SO2 terminal (left)
381+
; -- Bit 6 - Output channel 3 to SO2 terminal (left)
382+
; -- Bit 5 - Output channel 2 to SO2 terminal (left)
383+
; -- Bit 4 - Output channel 1 to SO2 terminal (left)
384+
; -- Bit 3 - Output channel 4 to SO1 terminal (right)
385+
; -- Bit 2 - Output channel 3 to SO1 terminal (right)
386+
; -- Bit 1 - Output channel 2 to SO1 terminal (right)
387+
; -- Bit 0 - Output channel 1 to SO1 terminal (right)
388388
; --
389389
DEF rNR51 EQU $FF25
390390
DEF rAUDTERM EQU rNR51

0 commit comments

Comments
 (0)