Castlevania: The Adventure/ROM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
(RSTxy:symbol) marks a callable subroutine which can be called with the special quick-access RST commands.
(RSTxy:symbol) marks a callable subroutine which can be called with the special quick-access RST commands.


  0:0000 (RST0:jumptable) jumptable following RST0 call by register A.
  Address        Description
  0:1833 Belmont's state jumptable
----------------------------
0x0000        (RST0:jumptable) jumptable following RST0 call by register A.
  0x9AA-9B1      Timer data pointer table (4 pointers, one per stage)
  0x9B2-9B7      Stage 1 timer data (2 bytes for each clear point)
  0x9B8-9BF      Stage 2 timer data
  0x9C0-9B5      Stage 3 timer data
  0x9B6-x09BC    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

Revision as of 15:01, 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.
0x9AA-9B1      Timer data pointer table (4 pointers, one per stage)
 0x9B2-9B7      Stage 1 timer data (2 bytes for each clear point)
 0x9B8-9BF      Stage 2 timer data
 0x9C0-9B5      Stage 3 timer data
 0x9B6-x09BC    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