Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Castlevania: The Adventure/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
  0x1833        Belmont's state jumptable
  0x1833        Belmont's state jumptable


  0x3505-350C    Stage data pointer table (4 pointers, one per stage).
  0x3505-350C    Stage data definition pointer table (4 pointers, one per stage).
   0x350D-3526    Stage 1 sublevel data pointer table (8 pointers, one for each sublevel).
   0x350D-3526    Stage 1 sublevel data pointer table (8 pointers, one for each sublevel, starting from left).
   0x3527-351C    Stage 2 sublevel data pointer table
   0x3527-351C    Stage 2 sublevel data pointer table
   0x351D-3546    Stage 3 sublevel data pointer table
   0x351D-3546    Stage 3 sublevel data pointer table
Line 24: Line 24:
   ...
   ...
   0x3614-362C    Stage 1 sublevel 1 screen 5 definition
   0x3614-362C    Stage 1 sublevel 1 screen 5 definition
0x4207-420D    Stage rope locking data for sublevel transitions pointer table (ropes at the extremities of sublevels have a hit box; the player is locked onto the rope and can then trigger a transition)
  0x420E-421D    Stage 1 pointer table
  0x421E-4227    Stage 2 pointer table
  0x4228-4247    Stage 3 pointer table
  0x4248-4267    Stage 4 pointer table
  0x4268-426E    Stage 1 sublevel 1 to sublevel 2 data (in chunks of 7 bytes: Xpos of rope / byte 5 is sublevel transition code /
0x44A7-4548    Spawn position pointer table
  0x4549-46D8?  Spawn position data (5 bytes: sublevel / X metatile offset / Xpos 1 and 2 / Ypos)

Revision as of 17:35, 26 May 2023

Chip tiny.png The following article is a ROM map for Castlevania: The Adventure.

(r:symbol) marks the start of a callable subroutine. (RSTxy:symbol) marks a callable subroutine which can be called with the special quick-access RST commands.

Address        Description
----------------------------
0x0000         (RST0:jumptable) jumptable following RST0 call by register A.
0x09AA-09B1      Timer data pointer table (4 pointers, one per stage)
 0x09B2-09B7      Stage 1 timer data (2 bytes for each clear point)
 0x09B8-09BF      Stage 2 timer data
 0x09C0-09B5      Stage 3 timer data
 0x09B6-09BC      Stage 4 timer data
0x1833         Belmont's state jumptable
0x3505-350C    Stage data definition pointer table (4 pointers, one per stage).
 0x350D-3526    Stage 1 sublevel data pointer table (8 pointers, one for each sublevel, starting from left).
 0x3527-351C    Stage 2 sublevel data pointer table
 0x351D-3546    Stage 3 sublevel data pointer table
 0x3547-356D    Stage 4 sublevel data pointer table
  0x35B0-35C8    Stage 1 sublevel 1 screen 1 definition (25 bytes, defining the screen row by row of metatiles)
  0x35C9-35E1    Stage 1 sublevel 1 screen 2 definition
  ...
  0x3614-362C    Stage 1 sublevel 1 screen 5 definition
0x4207-420D    Stage rope locking data for sublevel transitions pointer table (ropes at the extremities of sublevels have a hit box; the player is locked onto the rope and can then trigger a transition)
 0x420E-421D    Stage 1 pointer table
 0x421E-4227    Stage 2 pointer table
 0x4228-4247    Stage 3 pointer table
 0x4248-4267    Stage 4 pointer table
  0x4268-426E    Stage 1 sublevel 1 to sublevel 2 data (in chunks of 7 bytes: Xpos of rope / byte 5 is sublevel transition code / 
0x44A7-4548    Spawn position pointer table
 0x4549-46D8?   Spawn position data (5 bytes: sublevel / X metatile offset / Xpos 1 and 2 / Ypos)