Crystal Beans from Dungeon Explorer/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page with '{{rommap|game=Crystal Beans From Dungeon Explorer}} ==Dialog data== * <tt>03E396-03E401</tt> (108) = Dialog section pointer table (36 24-bits pointers) * <tt>03E402-03E79D (924)…')
 
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{rommap|game=Crystal Beans From Dungeon Explorer}}
{{rommap|game=Crystal Beans From Dungeon Explorer}}
==Overview==
This present the layout of the ROM. The start of asm code whose function is known is mentioned under the code block definition.
==Core engine==
* <tt>000000-00FFFF (65536)</tt> = [[Crystal Beans From Dungeon Explorer:Core engine ROM map|Core engine code and data]]
==Data bank 1==
* <tt>010000-010663 (1636)</tt> = Unknown data (bytes and 16-bits pointers)
* <tt>010664-0106FD (154)</tt> = PCSpriteAnim? (16-bits pointers)
* <tt>0106FE-010705 (8)</tt> = [[Crystal Beans From Dungeon Explorer:Sprite Animation|PCAnimNormal?]]
* <tt>010706-01070D (8)</tt> = [[Crystal Beans From Dungeon Explorer:Sprite Animation|PCAnimIdle?]]
* <tt>01070E-01070E (1)</tt> = PCAnimNul? (0)
* <tt>01070F-010FCB (2237)</tt> = Unknown data (bytes and 16-bits pointers)
* <tt>010FCC-010FEB (32)</tt> = NPCSpriteAnim? (16-bits pointers)
* <tt>010FEC-011043 (88)</tt> = [[Crystal Beans From Dungeon Explorer:Sprite Animation|NPC sprite animations]]
* <tt>011044-01FFFF (61372)</tt> = Unknown data (bytes and 16-bits pointers)
==Main game engine==
* <tt>020000-2EE5D (61021)</tt> = [[Crystal Beans From Dungeon Explorer:Main game engine ROM map|Main game engine code and data]]
==Map data==
* <tt>02EE5E-03E395 (62776)</tt> = [[Crystal Beans From Dungeon Explorer:Map data ROM map|Map data]] (includes place name strings)


==Dialog data==
==Dialog data==
Line 6: Line 29:
* <tt>03E79E-04649A (31997)</tt> = Dialog strings
* <tt>03E79E-04649A (31997)</tt> = Dialog strings
* <tt>04649B-04FFFA (39776)</tt> = Dialog font graphics (2 bpp planar aka GameBoy format)
* <tt>04649B-04FFFA (39776)</tt> = Dialog font graphics (2 bpp planar aka GameBoy format)
* <tt>4FFFB-4FFFF (5)</tt> = Unknown data, doesn't seem to be referenced


==Character movement sprite graphics==
==Character movement sprite graphics==
Line 12: Line 36:
* <tt>058000-05BFFF (16384)</tt> = Warrior (4 bpp Snes format)
* <tt>058000-05BFFF (16384)</tt> = Warrior (4 bpp Snes format)
* <tt>05C000-05FFFF (16384)</tt> = Kage (4 bpp Snes format)
* <tt>05C000-05FFFF (16384)</tt> = Kage (4 bpp Snes format)
* <tt>060000-053FFF (16384)</tt> = Robot (4 bpp Snes format)
* <tt>060000-063FFF (16384)</tt> = Robot (4 bpp Snes format)
* <tt>064000-057FFF (16384)</tt> = Wizard (4 bpp Snes format)
* <tt>064000-067FFF (16384)</tt> = Wizard (4 bpp Snes format)
* <tt>068000-05BFFF (16384)</tt> = Monk (4 bpp Snes format)
* <tt>068000-06BFFF (16384)</tt> = Monk (4 bpp Snes format)
* <tt>06C000-05FFFF (16384)</tt> = Dragon (4 bpp Snes format)
* <tt>06C000-06FFFF (16384)</tt> = Dragon (4 bpp Snes format)
* <tt>070000-053FFF (16384)</tt> = Fighter (4 bpp Snes format)
* <tt>070000-073FFF (16384)</tt> = Fighter (4 bpp Snes format)
* <tt>074000-057FFF (16384)</tt> = Priest (4 bpp Snes format)
* <tt>074000-077FFF (16384)</tt> = Priest (4 bpp Snes format)
* <tt>078000-05BFFF (16384)</tt> = Thief (4 bpp Snes format)
* <tt>078000-07BFFF (16384)</tt> = Thief (4 bpp Snes format)
* <tt>07C000-05FFFF (16384)</tt> = Witch (4 bpp Snes format)
* <tt>07C000-07FFFF (16384)</tt> = Witch (4 bpp Snes format)
 
==Compressed data==
* <tt>080000-11FFFF (655360)</tt> = [[Crystal Beans From Dungeon Explorer:Compressed data ROM map|Compressed data]]
 
==Music engine==
* <tt>120000-145FFF (155648)</tt> = [[Crystal Beans From Dungeon Explorer:Music engine ROM map|Music engine code and data]]


==Music==
==Cutscene engine==
* <tt>120000-12038E (911)</tt> = Music engine asm code
* <tt>146000-17FFFF (237568)</tt> = [[Crystal Beans From Dungeon Explorer:Cutscene engine ROM map|Cutscene engine code and data]]
** <tt>120030</tt> = InitAPU?
** <tt>120087</tt> = UploadSong?(byte songIndex<A>, byte numPatterns?<X>, byte <Y>)
** <tt>120151</tt> = UploadPattern?(byte patternIndex<A>)
** <tt>1201EC</tt> = SelectInstrument?(byte instrument<A>)
** <tt>120204</tt> = UploadInstrument?(byte instIndex<A>)
** <tt>12028E</tt> = SrcAddrAddition(word addr<X>, word bank<A>)
** <tt>1202C9</tt> = StopSong?
** <tt>120305</tt> = SendToAPU(word numToTransfer<X>, word apuTargetAddr<Y>)
*** if X = 0, send terminating block
** <tt>120378</tt> = InitSPCTransfer
* <tt>12038F-1204FF (369)</tt> = Unused/Padding
* <tt>120500-1207FF (4864)</tt> = SPC Program
The following pointers use 121800 as the base address
* <tt>121800-121801 (2)</tt> = pointer to next song chunk
* <tt>121802-121803 (2)</tt> = number of pointers in next pointer table
* <tt>121804-121837 (52)</tt> = song pattern order pointer table (26 16-bits pointers)
* <tt>121838-121C0C (981)</tt> = songs pattern order (list of pattern indices terminated by a $FF byte)
* <tt>121C0D-121C0E (2)</tt> = number of pointers in next pointer table
* <tt>121C0F-121CC6 (184)</tt> = Pattern pointer table (92 16-bits pointers)
* <tt>121CC7-12A08C (33734)</tt> = [[Crystal Beans From Dungeon Explorer:Patterns|Patterns]]
* <tt>12A08D-12A0FF (115)</tt> = Unused/Padding
* <tt>12A100-12A4BF (960)</tt> = [[Crystal Beans From Dungeon Explorer:Instruments|Instruments]]
* <tt>12A4C0-145FFD (113469)</tt> = BRR Samples
* <tt>145FFD-145FFF (3)</tt> = Unused/Padding


==Cutscene data==
{{Internal Data|game=Crystal Beans From Dungeon Explorer}}
* <tt>146000-147907 (6408)</tt> = [[Crystal Beans From Dungeon Explorer:Cutscene_Font_Graphics|Cutscene font graphics]]
* <tt>17D5E4-17D611 (46)</tt> = Cutscene string pointer table (23 16-bits pointers)
* <tt>17D616-17DFC3 (2477)</tt> = Cutscene strings

Latest revision as of 21:03, 28 January 2024

Chip tiny.png The following article is a ROM map for Crystal Beans from Dungeon Explorer.

Overview

This present the layout of the ROM. The start of asm code whose function is known is mentioned under the code block definition.

Core engine

Data bank 1

  • 010000-010663 (1636) = Unknown data (bytes and 16-bits pointers)
  • 010664-0106FD (154) = PCSpriteAnim? (16-bits pointers)
  • 0106FE-010705 (8) = PCAnimNormal?
  • 010706-01070D (8) = PCAnimIdle?
  • 01070E-01070E (1) = PCAnimNul? (0)
  • 01070F-010FCB (2237) = Unknown data (bytes and 16-bits pointers)
  • 010FCC-010FEB (32) = NPCSpriteAnim? (16-bits pointers)
  • 010FEC-011043 (88) = NPC sprite animations
  • 011044-01FFFF (61372) = Unknown data (bytes and 16-bits pointers)

Main game engine

Map data

  • 02EE5E-03E395 (62776) = Map data (includes place name strings)

Dialog data

  • 03E396-03E401 (108) = Dialog section pointer table (36 24-bits pointers)
  • 03E402-03E79D (924) = Dialog string pointer table (308 24-bits pointers)
  • 03E79E-04649A (31997) = Dialog strings
  • 04649B-04FFFA (39776) = Dialog font graphics (2 bpp planar aka GameBoy format)
  • 4FFFB-4FFFF (5) = Unknown data, doesn't seem to be referenced

Character movement sprite graphics

  • 050000-053FFF (16384) = Bard (4 bpp Snes format)
  • 054000-057FFF (16384) = Bowman (4 bpp Snes format)
  • 058000-05BFFF (16384) = Warrior (4 bpp Snes format)
  • 05C000-05FFFF (16384) = Kage (4 bpp Snes format)
  • 060000-063FFF (16384) = Robot (4 bpp Snes format)
  • 064000-067FFF (16384) = Wizard (4 bpp Snes format)
  • 068000-06BFFF (16384) = Monk (4 bpp Snes format)
  • 06C000-06FFFF (16384) = Dragon (4 bpp Snes format)
  • 070000-073FFF (16384) = Fighter (4 bpp Snes format)
  • 074000-077FFF (16384) = Priest (4 bpp Snes format)
  • 078000-07BFFF (16384) = Thief (4 bpp Snes format)
  • 07C000-07FFFF (16384) = Witch (4 bpp Snes format)

Compressed data

Music engine

Cutscene engine