Skip to content

Commit 4463b4b

Browse files
Add A_SGB_PAL01_* et al
1 parent b4a608d commit 4463b4b

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

sgb.inc

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,58 @@ def SGB_STUB5 equ $1E << S_SGB_COMMAND
6262
def SGB_STUB6 equ $1F << S_SGB_COMMAND
6363

6464

65+
;******************************************************************************
66+
; SGB_PAL01 Packet Indices
67+
;******************************************************************************
68+
69+
def A_SGB_PAL01_COLOR_0 equ $01
70+
def A_SGB_PAL01_PAL_0_COLOR_1 equ $03
71+
def A_SGB_PAL01_PAL_0_COLOR_2 equ $05
72+
def A_SGB_PAL01_PAL_0_COLOR_3 equ $07
73+
def A_SGB_PAL01_PAL_1_COLOR_1 equ $09
74+
def A_SGB_PAL01_PAL_1_COLOR_2 equ $0B
75+
def A_SGB_PAL01_PAL_1_COLOR_3 equ $0D
76+
77+
78+
;******************************************************************************
79+
; SGB_PAL23 Packet Indices
80+
;******************************************************************************
81+
82+
def A_SGB_PAL23_COLOR_0 equ $01
83+
def A_SGB_PAL23_PAL_2_COLOR_1 equ $03
84+
def A_SGB_PAL23_PAL_2_COLOR_2 equ $05
85+
def A_SGB_PAL23_PAL_2_COLOR_3 equ $07
86+
def A_SGB_PAL23_PAL_3_COLOR_1 equ $09
87+
def A_SGB_PAL23_PAL_3_COLOR_2 equ $0B
88+
def A_SGB_PAL23_PAL_3_COLOR_3 equ $0D
89+
90+
91+
;******************************************************************************
92+
; SGB_PAL03 Packet Indices
93+
;******************************************************************************
94+
95+
def A_SGB_PAL03_COLOR_0 equ $01
96+
def A_SGB_PAL03_PAL_0_COLOR_1 equ $03
97+
def A_SGB_PAL03_PAL_0_COLOR_2 equ $05
98+
def A_SGB_PAL03_PAL_0_COLOR_3 equ $07
99+
def A_SGB_PAL03_PAL_3_COLOR_1 equ $09
100+
def A_SGB_PAL03_PAL_3_COLOR_2 equ $0B
101+
def A_SGB_PAL03_PAL_3_COLOR_3 equ $0D
102+
103+
104+
;******************************************************************************
105+
; SGB_PAL12 Packet Indices
106+
;******************************************************************************
107+
108+
def A_SGB_PAL12_COLOR_0 equ $01
109+
def A_SGB_PAL12_PAL_1_COLOR_1 equ $03
110+
def A_SGB_PAL12_PAL_1_COLOR_2 equ $05
111+
def A_SGB_PAL12_PAL_1_COLOR_3 equ $07
112+
def A_SGB_PAL12_PAL_2_COLOR_1 equ $09
113+
def A_SGB_PAL12_PAL_2_COLOR_2 equ $0B
114+
def A_SGB_PAL12_PAL_2_COLOR_3 equ $0D
115+
116+
65117
;******************************************************************************
66118
; SGB_SOUND Packet Indices
67119
;******************************************************************************

0 commit comments

Comments
 (0)