summaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2016-01-17 13:24:18 +0100
committerxCrystal <rgr.crystal@gmail.com>2016-01-17 15:19:28 +0100
commit4b9f2a50f768f44d7f6ea4dc6efe72b8b6f3b616 (patch)
tree666a6eb351f8f2e36f207c704a0937702bb57fff /src/constants
parent4dc29d4884eeb2e4bc7be34588f4408db9f8008c (diff)
disassemble more incbins and sgb packets
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/sgb_constants.asm26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/constants/sgb_constants.asm b/src/constants/sgb_constants.asm
new file mode 100644
index 0000000..de464c8
--- /dev/null
+++ b/src/constants/sgb_constants.asm
@@ -0,0 +1,26 @@
+PAL01 EQU $00 ; Set SGB Palette 0,1 Data
+PAL23 EQU $01 ; Set SGB Palette 2,3 Data
+PAL03 EQU $02 ; Set SGB Palette 0,3 Data
+PAL12 EQU $03 ; Set SGB Palette 1,2 Data
+ATTR_BLK EQU $04 ; "Block" Area Designation Mode
+ATTR_LIN EQU $05 ; "Line" Area Designation Mode
+ATTR_DIV EQU $06 ; "Divide" Area Designation Mode
+ATTR_CHR EQU $07 ; "1CHR" Area Designation Mode
+SOUND EQU $08 ; Sound On/Off
+SOU_TRN EQU $09 ; Transfer Sound PRG/DATA
+PAL_SET EQU $0A ; Set SGB Palette Indirect
+PAL_TRN EQU $0B ; Set System Color Palette Data
+ATRC_EN EQU $0C ; Enable/disable Attraction Mode
+TEST_EN EQU $0D ; Speed Function
+ICON_EN EQU $0E ; SGB Function
+DATA_SND EQU $0F ; SUPER NES WRAM Transfer 1
+DATA_TRN EQU $10 ; SUPER NES WRAM Transfer 2
+MLT_REQ EQU $11 ; Controller 2 Request
+JUMP EQU $12 ; Set SNES Program Counter
+CHR_TRN EQU $13 ; Transfer Character Font Data
+PCT_TRN EQU $14 ; Set Screen Data Color Data
+ATTR_TRN EQU $15 ; Set Attribute from ATF
+ATTR_SET EQU $16 ; Set Data to ATF
+MASK_EN EQU $17 ; Game Boy Window Mask
+OBJ_TRN EQU $18 ; Super NES OBJ Mode
+ \ No newline at end of file