If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Crystal Beans from Dungeon Explorer/Music engine ROM map
Jump to navigation
Jump to search
This is a sub-page of Crystal Beans from Dungeon Explorer.
- 120000-120023 (36) = Music engine asm code (jumps to other functions)
- 120024-120029 (6) = ASCII "MAPU00"
- 12002A-12002F (6) = Unknown data, doesn't seem to be referenced
- 120030-12038E (863) = Music engine asm code
- 120030 = InitAPU?()
- 120087 = UploadSong?(byte songIndex<A>, byte numPatterns?<X>, byte <Y>)
- 120151 = UploadPattern?(byte patternIndex<A>)
- 1201EC = SelectInstrument?(byte instrument<A>)
- 120204 = UploadInstrument?(byte instIndex<A>)
- 12028E = SrcAddrAddition(word addr<X>, word bank<A>)
- 1202C9 = StopSong?()
- 120305 = SendToAPU(word numToTransfer<X>, word apuTargetAddr<Y>)
- if X = 0, send terminating block
- 120378 = InitSPCTransfer()
- 12038F-1204FF (369) = Unused/Padding
- 120500-1207FF (4864) = SPC Program
The following pointers use 121800 as the base address
- 121800-121801 (2) = Pointer to song patterns
- 121802-121803 (2) = Number of songs
- 121804-121837 (52) = Song pattern order pointer table (26 16-bits pointers)
- 121838-121C0C (981) = Songs pattern order (arrays of pattern indices terminated by a $FF byte)
- 121C0D-121C0E (2) = Number of patterns
- 121C0F-121CC6 (184) = Pattern pointer table (92 16-bits pointers)
- 121CC7-121CC8 (2) = Empty pattern
- 121CC9-1222EC (1572) = Pattern 0
- 1222ED-122308 (28) = Pattern 1
- 1222F2-122308 (23) = Channel 0
- 122309-122321 (25) = Pattern 2
- 12230E-122321 (20) = Channel 0
- 122322-122341 (32) = Pattern 3
- 122327-122341 (27) = Channel 0
- 122342-122369 (40) = Pattern 4
- 122347-122369 (35) = Channel 0
- 12236A-12239B (50) = Pattern 5
- 12236F-12239B (45) = Channel 0
- 12239C-1223C3 (40) = Pattern 6
- 1223A1-1223C3 (35) = Channel 0
- 1223C4-1223EA (39) = Pattern 7
- 1223C9-1223EA (34) = Channel 0
- 1223EB-122412 (40) = Pattern 8
- 1223F0-122412 (35) = Channel 0
- 122413-122445 (51) = Pattern 9
- 122418-122445 (46) = Channel 0
- 122446-122476 (49) = Pattern 10
- 12244B-122476 (44) = Channel 0
- 122477-1224A1 (43) = Pattern 11
- 12247C-1224A1 (38) = Channel 0
- 1224A2-1224D2 (49) = Pattern 12
- 1224A7-1224D2 (44) = Channel 0
- 1224D3-122568 (150) = Pattern 13
- 1224D8-122568 (145) = Channel 0
- 122569-122590 (40) = Pattern 14
- 12256F-122590 (34) = Channel 0
- 122591-1225B1 (33) = Pattern 15
- 122596-1225B1 (28) = Channel 0
- 1225B2-1225D1 (32) = Pattern 16
- 1225B7-1225D1 (27) = Channel 0
- 1225D2-122658 (135) = Pattern 17
- 122659-12266F (23) = Pattern 18
- 12265E-12266F (18) = Channel 0
- 122670-12268F (32) = Pattern 19
- 122675-12268F (27) = Channel 0
- 122690-1226A8 (25) = Pattern 20
- 122695-1226A8 (20) = Channel 0
- 1226A9-1226CA (34) = Pattern 21
- 1226AE-1226CA (29) = Channel 0
- 1226CB-1226EF (37) = Pattern 22
- 1226D0-1226EF (32) = Channel 0
- 1226F0-122704 (21) = Pattern 23
- 1226F5-122704 (16) = Channel 0
- 122705-12275B (87) = Pattern 24
- 12275C-12277C (33) = Pattern 25
- 122761-12277C (28) = Channel 0
- 12277D-122796 (26) = Pattern 26
- 122782-122796 (21) = Channel 0
- 122797-1227B2 (28) = Pattern 27
- 12279C-1227B2 (23) = Channel 0
- 1227B3-1227D6 (36) = Pattern 28
- 1227B8-1227D6 (31) = Channel 0
- 1227D7-1227EF (25) = Pattern 29
- 1227DC-1227EF (20) = Channel 0
- 1227F0-12281A (43) = Pattern 30
- 1227F5-12281A (38) = Channel 0
- 12281B-122848 (46) = Pattern 31
- 122849-12286C (36) = Pattern 32
- 12284E-12286C (31) = Channel 0
- 12286D-12289D (49) = Pattern 33
- 122872-12289D (44) = Channel 0
- 12289E-1228B5 (24) = Pattern 34
- 1228A3-1228B5 (19) = Channel 0
- 1228B6-1228D3 (30) = Pattern 35
- 1228BB-1228D3 (25) = Channel 0
- 1228D4-1228ED (26) = Pattern 36
- 1228D9-1228ED (21) = Channel 0
- 1228EE-122906 (25) = Pattern 37
- 1228F3-122906 (20) = Channel 0
- 122907-122921 (27) = Pattern 38
- 12290C-122921 (22) = Channel 0
- 122922-122938 (23) = Pattern 39
- 122927-122938 (18) = Channel 0
- 122939-122951 (25) = Pattern 40
- 12293E-122951 (20) = Channel 0
- 122952-12296E (29) = Pattern 41
- 122957-12296E (24) = Channel 0
- 12296F-122988 (26) = Pattern 42
- 122974-122988 (21) = Channel 0
- 122989-1229AB (35) = Pattern 43
- 12298E-1229AB (30) = Channel 0
- 1229AC-1229FC (81) = Pattern 44
- 1229B2-1229FC (75) = Channel 0
- 1229FD-122A3F (67) = Pattern 45
- 122A02-122A3F (62) = Channel 0
- 122A40-122A67 (40) = Pattern 46
- 122A45-122A67 (35) = Channel 0
- 122A68-122A9C (53) = Pattern 47
- 122A9D-122AB3 (23) = Pattern 48
- 122AA2-122AB3 (18) = Channel 0
- 122AB4-122ADD (42) = Pattern 49
- 122AB9-122ADD (37) = Channel 0
- 122ADE-122AF7 (26) = Pattern 50
- 122AE3-122AF7 (21) = Channel 0
- 122AF8-122B18 (33) = Pattern 51
- 122AFD-122B18 (28) = Channel 0
- 122B19-122B3E (38) = Pattern 52
- 122B1E-122B3E (33) = Channel 0
- 122B3F-122B5C (30) = Pattern 53
- 122B44-122B5C (25) = Channel 0
- 122B5D-122B7B (31) = Pattern 54
- 122B62-122B7B (26) = Channel 0
- 122B7C-122BAE (51) = Pattern 55
- 122B81-122BAE (46) = Channel 0
- 122BAF-122BD8 (42) = Pattern 56
- 122BB4-122BD8 (37) = Channel 0
- 122BD9-122BF9 (33) = Pattern 57
- 122BDE-122BF9 (28) = Channel 0
- 122BFA-122FF7 (1022) = Pattern 58
- 122FF8-12302C (53) = Pattern 59
- 122FFD-12302C (48) = Channel 0
- 12302D-12304D (33) = Pattern 60
- 123032-12304D (28) = Channel 0
- 12304E-12306C (31) = Pattern 61
- 123053-12306C (26) = Channel 0
- 12306D-123366 (762) = Pattern 62
- 123367-1239DC (1654) = Pattern 63
- 1239DD-123A10 (52) = Pattern 64
- 1239E2-123A10 (47) = Channel 0
- 123A11-123A5C (76) = Pattern 65
- 123A16-123A5C (71) = Channel 0
- 123A5D-123A8F (51) = Pattern 66
- 123A62-123A8F (46) = Channel 0
- 123A90-123E25 (918) = Pattern 67
- 123E26-12403F (538) = Pattern 68
- 124040-1245CA (1419) = Pattern 69
- 1245CB-124B85 (1467) = Pattern 70
- 124B86-125073 (1262) = Pattern 71
- 125074-125655 (1506) = Pattern 72
- 125656-125BBF (1386) = Pattern 73
- 125BC0-125FA9 (1002) = Pattern 74
- 125FAA-126359 (944) = Pattern 75
- 12635A-1269E0 (1671) = Pattern 76
- 1269E1-126E3A (1114) = Pattern 77
- 126E3B-127445 (1547) = Pattern 78
- 127446-127A4A (1541) = Pattern 79
- 127A4B-127BCB (385) = Pattern 80
- 127BCC-127CD3 (264) = Pattern 81
- 127CD4-128377 (1700) = Pattern 82
- 128378-12847D (262) = Pattern 83
- 12847E-128F2B (2734) = Pattern 84
- 128F2C-1292B0 (901) = Pattern 85
- 1292B1-1294A7 (503) = Pattern 86
- 1294A8-1294D4 (45) = Pattern 87
- 1294AD-1294D4 (40) = Channel 0
- 1294D5-12982B (855) = Pattern 88
- 12982C-12A08C (2145) = Pattern 89
- 12A08D-12A0FF (115) = Unused/Padding
- 12A100-12A4BF (960) = Instruments
- 12A4C0-12A5F1 (306) = BRR Samples (padded to word boundary with 0xFF)
- 12A5F2-12CED5 (10468) = BRR Samples (padded to word boundary with 0xFF)
- 12CED6-12CF27 (82) = BRR Samples (padded to word boundary with 0xFF)
- 12CF28-12DD53 (3628) = BRR Samples (padded to word boundary with 0xFF)
- 12DD54-12DD9B (72) = BRR Samples (padded to word boundary with 0xFF)
- 12DD9C-12EF93 (4600) = BRR Samples (padded to word boundary with 0xFF)
- 12EF94-12F369 (982) = BRR Samples (padded to word boundary with 0xFF)
- 12F36A-130449 (4320) = BRR Samples (padded to word boundary with 0xFF)
- 13044A-1304D9 (144) = BRR Samples (padded to word boundary with 0xFF)
- 1304DA-130CA7 (1998) = BRR Samples (padded to word boundary with 0xFF)
- 130CA8-130E57 (432) = BRR Samples (padded to word boundary with 0xFF)
- 130E58-130EF1 (154) = BRR Samples (padded to word boundary with 0xFF)
- 130EF2-130F4B (90) = BRR Samples (padded to word boundary with 0xFF)
- 130F4C-13119D (594) = BRR Samples (padded to word boundary with 0xFF)
- 13119E-131275 (216) = BRR Samples (padded to word boundary with 0xFF)
- 131276-13145B (486) = BRR Samples (padded to word boundary with 0xFF)
- 13145C-13172B (720) = BRR Samples (padded to word boundary with 0xFF)
- 13172C-131B1B (1008) = BRR Samples (padded to word boundary with 0xFF)
- 131B1C-131D6D (594) = BRR Samples (padded to word boundary with 0xFF)
- 131D6E-131FBF (594) = BRR Samples (padded to word boundary with 0xFF)
- 131FC0-13202B (108) = BRR Samples (padded to word boundary with 0xFF)
- 13202C-132CB9 (3214) = BRR Samples (padded to word boundary with 0xFF)
- 132CBA-132F4B (658) = BRR Samples (padded to word boundary with 0xFF)
- 132F4C-132FB7 (108) = BRR Samples (padded to word boundary with 0xFF)
- 132FB8-13303F (136) = BRR Samples (padded to word boundary with 0xFF)
- 133040-133291 (594) = BRR Samples (padded to word boundary with 0xFF)
- 133292-133481 (496) = BRR Samples (padded to word boundary with 0xFF)
- 133482-133523 (162) = BRR Samples (padded to word boundary with 0xFF)
- 133524-13357D (90) = BRR Samples (padded to word boundary with 0xFF)
- 13357E-134145 (3016) = BRR Samples (padded to word boundary with 0xFF)
- 134146-134F71 (3628) = BRR Samples (padded to word boundary with 0xFF)
- 134F72-136615 (5796) = BRR Samples (padded to word boundary with 0xFF)
- 136616-138103 (6894) = BRR Samples (padded to word boundary with 0xFF)
- 138104-1383E5 (738) = BRR Samples (padded to word boundary with 0xFF)
- 1383E6-1386F5 (784) = BRR Samples (padded to word boundary with 0xFF)
- 1386F6-138A4D (856) = BRR Samples (padded to word boundary with 0xFF)
- 138A4E-1394EB (2718) = BRR Samples (padded to word boundary with 0xFF)
- 1394EC-13A355 (3690) = BRR Samples (padded to word boundary with 0xFF)
- 13A356-13AB51 (2044) = BRR Samples (padded to word boundary with 0xFF)
- 13AB52-13B0D7 (1414) = BRR Samples (padded to word boundary with 0xFF)
- 13B0D8-13C9FB (6436) = BRR Samples (padded to word boundary with 0xFF)
- 13C9FC-13D30D (2322) = BRR Samples (padded to word boundary with 0xFF)
- 13D30E-13DB47 (2106) = BRR Samples (padded to word boundary with 0xFF)
- 13DB48-13DB75 (46) = BRR Samples (padded to word boundary with 0xFF)
- 13DB76-13E38B (2070) = BRR Samples (padded to word boundary with 0xFF)
- 13E38C-13EFA3 (3096) = BRR Samples (padded to word boundary with 0xFF)
- 13EFA4-13FDF3 (3664) = BRR Samples (padded to word boundary with 0xFF)
- 13FDF4-140B97 (3492) = BRR Samples (padded to word boundary with 0xFF)
- 140B98-140BD7 (64) = BRR Samples (padded to word boundary with 0xFF)
- 140BD8-140BFB (36) = BRR Samples (padded to word boundary with 0xFF)
- 140BFC-140EF9 (766) = BRR Samples (padded to word boundary with 0xFF)
- 140EFA-14102B (306) = BRR Samples (padded to word boundary with 0xFF)
- 14102C-14107D (82) = BRR Samples (padded to word boundary with 0xFF)
- 14107E-141573 (1270) = BRR Samples (padded to word boundary with 0xFF)
- 141574-141597 (36) = BRR Samples (padded to word boundary with 0xFF)
- 141598-14385D (8902) = BRR Samples (padded to word boundary with 0xFF)
- 14385E-143A0D (432) = BRR Samples (padded to word boundary with 0xFF)
- 143A0E-143BBD (432) = BRR Samples (padded to word boundary with 0xFF)
- 143BBE-144C31 (4212) = BRR Samples (padded to word boundary with 0xFF)
- 144C32-145FFF (5070) = BRR Samples (padded to word boundary with 0xFF)
- 145FFD-145FFF (3) = Unused/Padding