File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 104
104
- Added ` PAD_* ` constants for combined button and Control Pad masks
105
105
- Added ` B_COLOR_* ` red/green/blue bit numbers
106
106
- Corrected comments on ` B_BG_PRIO ` and ` B_OAM_PRIO `
107
- - ** Rev 6.0.0** - 2025-06-30 * (Rangi42)*
107
+ - ** Rev 6.0.0** - 2025-07-03 * (Rangi42)*
108
108
- Changed ` _AUD3WAVERAM ` to ` AUD3WAVERAM `
109
+ - Added ` SHADE_* ` constants for grayscale shades
Original file line number Diff line number Diff line change @@ -941,6 +941,12 @@ def COLOR_SIZE equ 2 ; size of color in bytes (little-endian BGR555)
941
941
def PAL_COLORS equ 4 ; colors per palette
942
942
def PAL_SIZE equ COLOR_SIZE * PAL_COLORS ; size of palette in bytes
943
943
944
+ ; (DMG only) grayscale shade indexes for BGP, OBP0, and OBP1
945
+ def SHADE_WHITE equ %00
946
+ def SHADE_LIGHT equ % 01
947
+ def SHADE_DARK equ % 10
948
+ def SHADE_BLACK equ % 11
949
+
944
950
; Tilemaps the BG or Window can read from (controlled by LCDC)
945
951
def TILEMAP0 equ $ 9800 ; $9800-$9BFF
946
952
def TILEMAP1 equ $ 9C00 ; $9C00-$9FFF
You can’t perform that action at this time.
0 commit comments