Castlevania: The Adventure/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
  0x0000        (RST0:jumptable) jumptable following RST0 call by register A.
  0x0000        (RST0:jumptable) jumptable following RST0 call by register A.
  0x09AA-09B1      Timer data pointer table (4 pointers, one per stage)
  0x09AA-09B1      Timer data pointer table (4 pointers, one per stage)
   0x09B2-009B7     Stage 1 timer data (2 bytes for each clear point)
   0x09B2-009B7     Stage 1 timer data (2 bytes for each clear point)
   0x09B8-9BF     Stage 2 timer data
   0x09B8-09BF     Stage 2 timer data
   0x09C0-09B5      Stage 3 timer data
   0x09C0-09B5      Stage 3 timer data
   0x09B6-09BC     Stage 4 timer data
   0x09B6-09BC     Stage 4 timer data


  0x1833        Belmont's state jumptable
  0x1833        Belmont's state jumptable

Revision as of 17:12, 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-009B7     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 pointer table (4 pointers, one per stage).
 0x350D-3526    Stage 1 sublevel data pointer table (8 pointers, one for each sublevel).
 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