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.

Mega Man 5/Level Data: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
m (mmc3 link)
m (Lelegofrog moved page Mega Man V/Level Data to Mega Man 5/Level Data: matching exiting page being moved)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{subpage|game=Mega Man V}}
Level Data is logically common level data, but is here used to describe the part of level data which is unique for every level. [[Mega Man 5:Screen Bank Data|Screen Bank Data]] on the other hand, can be used by multiple levels.
Level Data is logically common level data, but is here used to describe the part of level data which is unique for every level. [[Mega Man 5:Screen Bank Data|Screen Bank Data]] on the other hand, can be used by multiple levels.


Mega Man 5 is structured so that each a bank is spent for each level's Level Data. With a bank is meant a $2000-byte bank as the [[MMC3]] Mapper divides them into. The bank is either loaded into memory area $8000-$9FFF or $A000-$BFFF when level data is read.
Mega Man 5 is structured so that each a bank is spent for each level's Level Data. With a bank is meant a $2000-byte bank as the [[Nintendo MMC3|MMC3]] Mapper divides them into. The bank is either loaded into memory area $8000-$9FFF or $A000-$BFFF when level data is read.


The different datas are at fixed offsets in the bank. Offsets below have [[NES Header]] added to them. To get the proper ROM address for a [[Mega Man 5:Level ID|Level ID]], one must add an multiplication of $2000 (depending on the [[Mega Man 5:Level ID|Level ID]]) to the offsets below. For example, the [[Mega Man 5:Screen Layout Data|Screen Layout Data]] for Gravityman's Level (ID #0) is at ROM address $910, while the [[Mega Man 5:Screen Layout Data|Screen Layout Data]] for Waveman's Level (ID #1) is at ROM address $2910.
The different datas are at fixed offsets in the bank. Offsets below have [[NES:iNES|iNES]] header added to them. To get the proper ROM address for a [[Mega Man 5:Level ID|Level ID]], one must add an multiplication of $2000 (depending on the [[Mega Man 5:Level ID|Level ID]]) to the offsets below. For example, the [[Mega Man 5:Screen Layout Data|Screen Layout Data]] for Gravityman's Level (ID #0) is at ROM address $910, while the [[Mega Man 5:Screen Layout Data|Screen Layout Data]] for Waveman's Level (ID #1) is at ROM address $2910.


==Contents of Level Data Bank==
==Contents of Level Data Bank==
Line 19: Line 21:
* <tt>0B90 to 0C0F (80)</tt> = '''[[Mega Man 5:Enemy Data|Enemy Data]]: [[Mega Man 5:Enemy ID|Enemy ID]]'''
* <tt>0B90 to 0C0F (80)</tt> = '''[[Mega Man 5:Enemy Data|Enemy Data]]: [[Mega Man 5:Enemy ID|Enemy ID]]'''
* <tt>0C10 to ???? (?)</tt> = '''Screen: [[Mega Man 5:Enemy Counter Offset|Enemy Counter Offset]]'''
* <tt>0C10 to ???? (?)</tt> = '''Screen: [[Mega Man 5:Enemy Counter Offset|Enemy Counter Offset]]'''
[[Category:Mega Man 5|Level Data]]

Latest revision as of 19:59, 22 February 2024

This is a sub-page of Mega Man 5.

Level Data is logically common level data, but is here used to describe the part of level data which is unique for every level. Screen Bank Data on the other hand, can be used by multiple levels.

Mega Man 5 is structured so that each a bank is spent for each level's Level Data. With a bank is meant a $2000-byte bank as the MMC3 Mapper divides them into. The bank is either loaded into memory area $8000-$9FFF or $A000-$BFFF when level data is read.

The different datas are at fixed offsets in the bank. Offsets below have iNES header added to them. To get the proper ROM address for a Level ID, one must add an multiplication of $2000 (depending on the Level ID) to the offsets below. For example, the Screen Layout Data for Gravityman's Level (ID #0) is at ROM address $910, while the Screen Layout Data for Waveman's Level (ID #1) is at ROM address $2910.

Contents of Level Data Bank