summaryrefslogtreecommitdiff
path: root/include/gba/io_reg.h
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2018-02-15 16:54:34 -0600
committerDiegoisawesome <diego@domoreaweso.me>2018-02-15 16:54:34 -0600
commit34716558b1f8bc4e9f07e90d3727ea44e74ddd9d (patch)
treec515cb97b1a5a29ef6ae55e6d2ae8bec0271c6f7 /include/gba/io_reg.h
parent398e775d906ff4f1e5aaad3d8a9eee530c7b122d (diff)
Almost finish decompiling intro
Diffstat (limited to 'include/gba/io_reg.h')
-rw-r--r--include/gba/io_reg.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h
index 1847b688f..0364c38bc 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -623,23 +623,6 @@
#define TIMER_INTR_ENABLE 0x40
#define TIMER_ENABLE 0x80
-// BGCNT
-#define BGCNT_PRIORITY(n) (n) // Values 0 - 3. Lower priority BGs will be drawn on top of higher priority BGs.
-#define BGCNT_CHARBASE(n) ((n) << 2) // Values 0 - 3. Base block for tile pixel data.
-#define BGCNT_MOSAIC 0x0040
-#define BGCNT_16COLOR 0x0000 // 4 bits per pixel
-#define BGCNT_256COLOR 0x0080 // 8 bits per pixel
-#define BGCNT_SCREENBASE(n) ((n) << 8) // Values 0 - 31. Base block for tile map.
-#define BGCNT_WRAP 0x2000 // Only affects affine BGs. Text BGs wrap by default.
-#define BGCNT_TXT256x256 0x0000 // Internal screen size size of text mode BG in pixels.
-#define BGCNT_TXT512x256 0x4000
-#define BGCNT_TXT256x512 0x8000
-#define BGCNT_TXT512x512 0xC000
-#define BGCNT_AFF128x128 0x0000 // Internal screen size size of affine mode BG in pixels.
-#define BGCNT_AFF256x256 0x4000
-#define BGCNT_AFF512x512 0x8000
-#define BGCNT_AFF1024x1024 0xC000
-
// serial
#define SIO_ID 0x0030 // Communication ID