aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/include
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-11-29 20:18:38 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-11-29 20:18:38 +0800
commit3d38a12ca171490e22c7b56cd19c008f2dadfb83 (patch)
tree543653494423391c02fa21f5688baa90c67fdabe /libpsn00b/include
parent60deeff6e078271a17cf77c6204edbbde846f0bd (diff)
downloadpsn00bsdk-3d38a12ca171490e22c7b56cd19c008f2dadfb83.tar.gz
Defined MDEC registers, corrected SquareRoot12() lookup table typo, updated memmove(), removed redundant toolchain definitions, added HDTV example
Diffstat (limited to 'libpsn00b/include')
-rw-r--r--libpsn00b/include/hwregs_a.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libpsn00b/include/hwregs_a.h b/libpsn00b/include/hwregs_a.h
index d9f46ba..0680679 100644
--- a/libpsn00b/include/hwregs_a.h
+++ b/libpsn00b/include/hwregs_a.h
@@ -57,6 +57,10 @@
.set SPU_VOICE_ADSR_H, 0x0a
.set SPU_VOICE_LOOP, 0x0e
+# MDEC
+.set MDEC0, 0x1820
+.set MDEC1, 0x1824
+
# Pads
.set JOY_TXRX, 0x1040
.set JOY_STAT, 0x1044
@@ -79,6 +83,14 @@
.set DPCR, 0x10f0
.set DICR, 0x10f4
+.set D0_MADR, 0x1080
+.set D0_BCR, 0x1084
+.set D0_CHCR, 0x1088
+
+.set D1_MADR, 0x1090
+.set D1_BCR, 0x1094
+.set D1_CHCR, 0x1098
+
.set D2_MADR, 0x10a0
.set D2_BCR, 0x10a4
.set D2_CHCR, 0x10a8