-
Notifications
You must be signed in to change notification settings - Fork 5
Palette
Kannagi edited this page Aug 31, 2024
·
5 revisions
To transfer your palette you must use SNDK_memcopy
-
SNDK_PALSPR0
-SNDK_PALSPR7
For the sprite palettes. -
SNDK_PALBG0
For the BG3 palettes. -
SNDK_PALBG1
-SNDK_PALBG7
For the BG1 & BG2 palettes.
Example:
SNDK_memcopy SNDK_PALSPR0,RANDI_PAL,0x20
Send to palette memory.
- CG address
- Memory address
- Size
SNDK_SendCGRAM 0x00,SNDK_PALBG0,0x200
-
SNDK_PALBG0
-
SNDK_PALBG1
-
SNDK_PALBG2
-
SNDK_PALBG3
-
SNDK_PALBG4
-
SNDK_PALBG5
-
SNDK_PALBG6
-
SNDK_PALBG7
-
SNDK_PALSPR0
-
SNDK_PALSPR1
-
SNDK_PALSPR2
-
SNDK_PALSPR3
-
SNDK_PALSPR4
-
SNDK_PALSPR5
-
SNDK_PALSPR6
-
SNDK_PALSPR7
SNDK v0.3