Skip to content

Commit b2b524a

Browse files
committed
Version 6.0.0
* Changed `_AUD3WAVERAM` to `AUD3WAVERAM` * Corrected comments on some audio registers
1 parent 1db4188 commit b2b524a

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

HISTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,6 @@
108108
- Added `AUD1RAM`-`AUD4RAM` address constants
109109
- Added `SHADE_*` constants for grayscale shades
110110
- Corrected comments on `WX_OFS`, `VDMA_DEST_LOW`, and `ROMB0`
111+
- **Rev 6.0.0** - 2025-??-?? *(Rangi42)*
112+
- Changed `_AUD3WAVERAM` to `AUD3WAVERAM`
113+
- Corrected comments on some audio registers

hardware.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ endc
2222
; Define the include guard and the current hardware.inc version
2323
; (do this after the RGBDS version check since the `def` syntax depends on it)
2424
def HARDWARE_INC equ 1
25-
def HARDWARE_INC_VERSION equs "5.2.0"
25+
def HARDWARE_INC_VERSION equs "6.0.0"
2626

2727
; Usage: rev_Check_hardware_inc <min_ver>
2828
; Examples:
@@ -222,7 +222,7 @@ def AUD1ENV_PACE equ %00000_111 ; how long between envelope iterations
222222
; (in 64 Hz ticks, ~15.6 ms apart) [r/w]
223223

224224
; -- AUD1LOW / NR13 ($FF13) ---------------------------------------------------
225-
; Audio channel 1 period (low 8 bits) [r/w]
225+
; Audio channel 1 period (low 8 bits) [wo]
226226
def rAUD1LOW equ $FF13
227227

228228
; -- AUD1HIGH / NR14 ($FF14) --------------------------------------------------
@@ -266,7 +266,7 @@ def AUD2ENV_PACE equ %00000_111 ; how long between envelope iterations
266266
; (in 64 Hz ticks, ~15.6 ms apart) [r/w]
267267

268268
; -- AUD2LOW / NR23 ($FF18) ---------------------------------------------------
269-
; Audio channel 2 period (low 8 bits) [r/w]
269+
; Audio channel 2 period (low 8 bits) [wo]
270270
def rAUD2LOW equ $FF18
271271

272272
; -- AUD2HIGH / NR24 ($FF19) --------------------------------------------------
@@ -304,7 +304,7 @@ def AUD3LEVEL_VOLUME equ %0_11_00000 ; volume level [r/w]
304304
def AUD3LEVEL_25 equ %0_11_00000 ; 25%
305305

306306
; -- AUD3LOW / NR33 ($FF1D) ---------------------------------------------------
307-
; Audio channel 3 period (low 8 bits) [r/w]
307+
; Audio channel 3 period (low 8 bits) [wo]
308308
def rAUD3LOW equ $FF1D
309309

310310
; -- AUD3HIGH / NR34 ($FF1E) --------------------------------------------------
@@ -1001,7 +1001,7 @@ def AUD3RAM equ $FF1A ; $FF1A-$FF1E
10011001
def AUD4RAM equ $FF1F ; $FF1F-$FF23
10021002
def AUDRAM_SIZE equ 5 ; size of each audio channel RAM in bytes
10031003

1004-
def _AUD3WAVERAM equ $FF30 ; $FF30-$FF3F
1004+
def AUD3WAVERAM equ $FF30 ; $FF30-$FF3F
10051005
def AUD3WAVE_SIZE equ 16 ; size of wave pattern RAM in bytes
10061006

10071007

hardware_compat.inc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,13 @@ def OBJ_B equ OBJ_SIZE
379379
def OAM_B equ OAM_SIZE
380380

381381

382+
;******************************************************************************
383+
; Audio channel RAM addresses
384+
;******************************************************************************
385+
386+
def _AUD3WAVERAM equ AUD3WAVERAM
387+
388+
382389
;******************************************************************************
383390
; Boot-up register values
384391
;******************************************************************************

0 commit comments

Comments
 (0)