Difference between revisions of "Pokemon Race mini:ROM map"

From Data Crystal
Jump to: navigation, search
m (rookie cup heh)
(audio, banner sprites, lookup tables)
 
Line 5: Line 5:
 
* <tt>000000-0020FF (002100)</tt> = [[Pokemon mini:Memory Map|Header Data]]
 
* <tt>000000-0020FF (002100)</tt> = [[Pokemon mini:Memory Map|Header Data]]
 
* <tt>002100-0021cf (0000d0)</tt> = [[Pokemon mini:Memory Map#Cartridge Header|Cartridge Header]]
 
* <tt>002100-0021cf (0000d0)</tt> = [[Pokemon mini:Memory Map#Cartridge Header|Cartridge Header]]
 +
* <tt>00646a-0064e9 (000080)</tt> = Audio lookup table (array of 2-byte addresses, hi = 00)
 +
* <tt>0064ea-0078c5 (0013dc)</tt> = [[Pokemon mini:MINLIB:Audio|MINLIB audio data]]
 +
* <tt>010562-010581 (000020)</tt> = [[Pokemon_mini:Memory Map#Sprite Attributes|Sprite attributes]] lookup table (array of 2-byte addresses, hi = 07) for track banners (track intro screen, ranking screen, win/lose screen)
 
* <tt>021564-02158c (000041)</tt> = (asm) Clear map metadata
 
* <tt>021564-02158c (000041)</tt> = (asm) Clear map metadata
 
* <tt>02158d-0215d7 (00004b)</tt> = (asm) Set up map metadata
 
* <tt>02158d-0215d7 (00004b)</tt> = (asm) Set up map metadata
 
* <tt>0215d8-02162e (000057)</tt> = (asm) Calculate map position on screen from map base
 
* <tt>0215d8-02162e (000057)</tt> = (asm) Calculate map position on screen from map base
 
* <tt>02162f-021683 (000055)</tt> = (asm) Draw map or map preview
 
* <tt>02162f-021683 (000055)</tt> = (asm) Draw map or map preview
* <tt>0240dd-024235 (000159)</tt> = [[Pokemon Race mini:Data structures#Map metadata|Map metadata]]
+
* <tt>0240a6-0240c5 (000020)</tt> = Map metadata lookup table
 +
* <tt>0240c6-024235 (000170)</tt> = [[Pokemon Race mini:Data structures#Map metadata|Map metadata]]
 
* <tt>034b40-035??? (00????)</tt> = Race preview tilesets (addressable up to 035a07)
 
* <tt>034b40-035??? (00????)</tt> = Race preview tilesets (addressable up to 035a07)
 
* <tt>035840-035a3f (000200)</tt> = Race preview tilemap data
 
* <tt>035840-035a3f (000200)</tt> = Race preview tilemap data
Line 15: Line 19:
 
* <tt>035b20-0368ec (000dcd)</tt> = Race preview tilemap data
 
* <tt>035b20-0368ec (000dcd)</tt> = Race preview tilemap data
 
* <tt>040000-058fff (004000)</tt> = Sprite graphics for races
 
* <tt>040000-058fff (004000)</tt> = Sprite graphics for races
* <tt>059000-05???? (00????)</tt> = Race tilesets (addressable up to 05b5ff)
+
* <tt>059000-05b1ff (002200)</tt> = Race tilesets
* <tt>060800-0610bf (0008c0)</tt> = Tilemap data for Grand Prix, Easy, Rookie Cup, race 1
+
* <tt>060000-0607ff (000800)</tt> = Tilemap data for Grand Prix, Rookie Cup, track 3
* <tt>0610c0-06197f (0008c0)</tt> = Tilemap data for Grand Prix, Easy, Rookie Cup, race 2
+
* <tt>060800-0610bf (0008c0)</tt> = Tilemap data for Grand Prix, Rookie Cup, track 1
* <tt>061980-06223f (0008c0)</tt> = Tilemap data for ?
+
* <tt>0610c0-06197f (0008c0)</tt> = Tilemap data for Grand Prix, Rookie Cup, track 2
 +
* <tt>061980-06223f (0008c0)</tt> = Tilemap data for Grand Prix, Rookie Cup, track 4
 
* <tt>062240-062f5f (000d20)</tt> = Tilemap data for ?
 
* <tt>062240-062f5f (000d20)</tt> = Tilemap data for ?
 
* <tt>062f60-063b5f (000c00)</tt> = Tilemap data for ?
 
* <tt>062f60-063b5f (000c00)</tt> = Tilemap data for ?
Line 31: Line 36:
 
* <tt>0691e8-069b2e (000947)</tt> = Tilemap data for ?
 
* <tt>0691e8-069b2e (000947)</tt> = Tilemap data for ?
 
* <tt>069b2f-06a39e (000870)</tt> = Tilemap data for ?
 
* <tt>069b2f-06a39e (000870)</tt> = Tilemap data for ?
 +
* <tt>072a00-075e0f (003410)</tt> = Spriteset for screens: track intro, ranking, win/lose
 +
* <tt>076600-079a0f (003410)</tt> = Spriteset for screens: track intro, ranking, win/lose
 +
* <tt>07e200-07e597 (000398)</tt> = [[Pokemon_mini:Memory Map#Sprite Attributes|Sprite attributes]] data for track banners & win/lose Pikachu. The X and Y specified is an offset from some base which the screen determines.

Latest revision as of 05:00, 20 July 2020

Addresses and sizes are in hexadecimal assuming the header (BIOS/RAM/registers segment) exists (there are no headerless dumps for this system).

  • 000000-0020FF (002100) = Header Data
  • 002100-0021cf (0000d0) = Cartridge Header
  • 00646a-0064e9 (000080) = Audio lookup table (array of 2-byte addresses, hi = 00)
  • 0064ea-0078c5 (0013dc) = MINLIB audio data
  • 010562-010581 (000020) = Sprite attributes lookup table (array of 2-byte addresses, hi = 07) for track banners (track intro screen, ranking screen, win/lose screen)
  • 021564-02158c (000041) = (asm) Clear map metadata
  • 02158d-0215d7 (00004b) = (asm) Set up map metadata
  • 0215d8-02162e (000057) = (asm) Calculate map position on screen from map base
  • 02162f-021683 (000055) = (asm) Draw map or map preview
  • 0240a6-0240c5 (000020) = Map metadata lookup table
  • 0240c6-024235 (000170) = Map metadata
  • 034b40-035??? (00????) = Race preview tilesets (addressable up to 035a07)
  • 035840-035a3f (000200) = Race preview tilemap data
  • 035a40-035b1f (0000e0) = unconfirmed
  • 035b20-0368ec (000dcd) = Race preview tilemap data
  • 040000-058fff (004000) = Sprite graphics for races
  • 059000-05b1ff (002200) = Race tilesets
  • 060000-0607ff (000800) = Tilemap data for Grand Prix, Rookie Cup, track 3
  • 060800-0610bf (0008c0) = Tilemap data for Grand Prix, Rookie Cup, track 1
  • 0610c0-06197f (0008c0) = Tilemap data for Grand Prix, Rookie Cup, track 2
  • 061980-06223f (0008c0) = Tilemap data for Grand Prix, Rookie Cup, track 4
  • 062240-062f5f (000d20) = Tilemap data for ?
  • 062f60-063b5f (000c00) = Tilemap data for ?
  • 063b60-06487f (000d20) = Tilemap data for ?
  • 064880-065563 (000ce4) = Tilemap data for ?
  • 065564-066053 (000af0) = Tilemap data for ?
  • 066054-0667a3 (000750) = Tilemap data for ?
  • 0667a4-067207 (000a64) = Tilemap data for ?
  • 067208-067ac7 (0008c0) = Tilemap data for ?
  • 067ac8-068a67 (000fa0) = Tilemap data for ?
  • 068a68-0691e7 (000780) = Tilemap data for ?
  • 0691e8-069b2e (000947) = Tilemap data for ?
  • 069b2f-06a39e (000870) = Tilemap data for ?
  • 072a00-075e0f (003410) = Spriteset for screens: track intro, ranking, win/lose
  • 076600-079a0f (003410) = Spriteset for screens: track intro, ranking, win/lose
  • 07e200-07e597 (000398) = Sprite attributes data for track banners & win/lose Pikachu. The X and Y specified is an offset from some base which the screen determines.