Crystal Beans from Dungeon Explorer/ROM map

From Data Crystal
< Crystal Beans from Dungeon Explorer
Revision as of 23:08, 8 January 2012 by Neige (talk | contribs) (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)…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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)

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-053FFF (16384) = Robot (4 bpp Snes format)
  • 064000-057FFF (16384) = Wizard (4 bpp Snes format)
  • 068000-05BFFF (16384) = Monk (4 bpp Snes format)
  • 06C000-05FFFF (16384) = Dragon (4 bpp Snes format)
  • 070000-053FFF (16384) = Fighter (4 bpp Snes format)
  • 074000-057FFF (16384) = Priest (4 bpp Snes format)
  • 078000-05BFFF (16384) = Thief (4 bpp Snes format)
  • 07C000-05FFFF (16384) = Witch (4 bpp Snes format)

Music

  • 120000-12038E (911) = 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 next song chunk
  • 121802-121803 (2) = number of pointers in next pointer table
  • 121804-121837 (52) = song pattern order pointer table (26 16-bits pointers)
  • 121838-121C0C (981) = songs pattern order (list of pattern indices terminated by a $FF byte)
  • 121C0D-121C0E (2) = number of pointers in next pointer table
  • 121C0F-121CC6 (184) = Pattern pointer table (92 16-bits pointers)
  • 121CC7-12A08C (33734) = Patterns
  • 12A08D-12A0FF (115) = Unused/Padding
  • 12A100-12A4BF (960) = Instruments
  • 12A4C0-145FFD (113469) = BRR Samples
  • 145FFD-145FFF (3) = Unused/Padding

Cutscene data

  • 146000-147907 (6408) = Cutscene font graphics
  • 17D5E4-17D611 (46) = Cutscene string pointer table (23 16-bits pointers)
  • 17D616-17DFC3 (2477) = Cutscene strings