Difference between revisions of "Mega Man:RAM map"

From Data Crystal
Jump to: navigation, search
(Added lots of info)
Line 1: Line 1:
 
{{rammap|game=Mega Man}}
 
{{rammap|game=Mega Man}}
 +
 
<p>Note: Memory locations discovered using the 'FCEU' Emulator for Windows.</p>
 
<p>Note: Memory locations discovered using the 'FCEU' Emulator for Windows.</p>
<table border=1>
+
 
<tr>
+
<p><b>All values in table are Hexadecimal unless noted otherwise!</b></p>
  <td>Offset</td><td>Effect</td><td>Comments</td>
+
 
</tr>
+
{| border="1" cellpadding="1"
<tr>
+
|'''RAM'''  || '''Effect''' || '''Comments'''
  <td>0x006A</td>
+
|-
  <td>Mega Man Life Bar Value</td>
+
|05D || Wich ememys have been defeated/Weapons unlocked
  <td>Highest value is 28, death is 0.</td>
+
{|border="1" cellpadding="1"
</tr>
+
|bit 1||Bombman
<tr>
+
|-
  <td>0x006B</td>
+
|bit 2||Elecman
  <td>Cutman Weapon Energy</td>
+
|-
  <td>Highest value is 28, no Cutman weapon energy at 0.</td>
+
|bit 3||Gutsman
</tr>
+
|-
<tr>
+
|bit 4||Iceman
  <td>0x006C</td>
+
|-
  <td>Iceman Weapon Energy</td>
+
|bit 5||Cutsman
  <td>Highest value is 28, no Iceman weapon energy at 0.</td>
+
|-
</tr>
+
|bit 6||Fireman
<tr>
+
|-
  <td>0x006D</td>
+
|bit 7||Magnet Beam
  <td>Bombman Weapon Energy</td>
+
|-
  <td>Highest value is 28, no Bombman weapon energy at 0.</td>
+
|}
</tr>
+
    ||Setting a bit will defeat/unlock the corresponding Villan/Weapon.  Set this byte to FE to go directly to Dr. Wiley.
<tr>
+
|-
  <td>0x006E</td>
+
|05F || Weapon Select
  <td>Fireman Weapon Energy</td>
+
{|border="1" cellpadding="1"
  <td>Highest value is 28, no Fireman weapon energy at 0.</td>
+
|00||Normal(Start Weapon)
</tr>
+
|-
<tr>
+
|01||Bomb
  <td>0x006F</td>
+
|-
  <td>Elecman Weapon Energy</td>
+
|02||Electric
  <td>Highest value is 28, no Elecman weapon energy at 0.</td>
+
|-
</tr>
+
|03||Guts
<tr>
+
|-
  <td>0x0070</td>
+
|04||Ice
  <td>Gutsman Weapon Energy</td>
+
|-
  <td>Highest value is 28, no Gutsman weapon energy at 0.</td>
+
|05||Cutters
</tr>
+
|-
<tr>
+
|06||Fire
  <td>0x0071</td>
+
|-
  <td>Magnet Beam Weapon Energy</td>
+
|07||Magnet Beam
  <td>Highest value is 28, no Magnet Beam weapon energy at 0.</td>
+
|-
</tr>
+
|}
</table>
+
    || This only controls the weapon function, it will not change his color.  You can select any weapon even if it's still locked.
 +
|-
 +
|06A || Mega Man Life Bar Value || 1C-Full, 00-Empty
 +
|-
 +
|06B || Cutman Weapon Energy || 1C-Full, 00-Empty
 +
|-
 +
|06C || Iceman Weapon Energy || 1C-Full, 00-Empty
 +
|-
 +
|06D || Bombman Weapon Energy || 1C-Full, 00-Empty
 +
|-
 +
|06E || Fireman Weapon Energy || 1C-Full, 00-Empty
 +
|-
 +
|06F || Elecman Weapon Energy || 1C-Full, 00-Empty
 +
|-
 +
|070 || Gutsman Weapon Energy || 1C-Full, 00-Empty
 +
|-
 +
|071 || Magnet Beam Weapon Energy || 1C-Full, 00-Empty
 +
|-
 +
|072-078|| Score || Each bytes represents one digit in BCD. Starts with one's digit (072)
 +
|-
 +
|0A6 || Lives || 80 is Max, 63 will display 99. Bit 7 set gives Game Over. Game will not raise it past 63.
 +
|-
 +
|0AE || Bonus || Number of bonus energy balls picked up during level.  Is multiplied by 1000 at level completion screen.
 +
|-
 +
|100-1FF || Stack || RAM used by CPU for stack.
 +
|-
 +
|200-2FF || Sprite Data || 256 byte block that is transferred via DMA to PPU memory during each NMI Routine.
 +
|-
 +
|6C1 || Boss Energy || 1C-Full, 00-Empty
 +
|-
 +
|}
 +
 
 +
{{stub}}

Revision as of 06:17, 1 April 2006

Note: Memory locations discovered using the 'FCEU' Emulator for Windows.

All values in table are Hexadecimal unless noted otherwise!

RAM Effect Comments
05D Wich ememys have been defeated/Weapons unlocked
bit 1 Bombman
bit 2 Elecman
bit 3 Gutsman
bit 4 Iceman
bit 5 Cutsman
bit 6 Fireman
bit 7 Magnet Beam
Setting a bit will defeat/unlock the corresponding Villan/Weapon. Set this byte to FE to go directly to Dr. Wiley.
05F Weapon Select
00 Normal(Start Weapon)
01 Bomb
02 Electric
03 Guts
04 Ice
05 Cutters
06 Fire
07 Magnet Beam
This only controls the weapon function, it will not change his color. You can select any weapon even if it's still locked.
06A Mega Man Life Bar Value 1C-Full, 00-Empty
06B Cutman Weapon Energy 1C-Full, 00-Empty
06C Iceman Weapon Energy 1C-Full, 00-Empty
06D Bombman Weapon Energy 1C-Full, 00-Empty
06E Fireman Weapon Energy 1C-Full, 00-Empty
06F Elecman Weapon Energy 1C-Full, 00-Empty
070 Gutsman Weapon Energy 1C-Full, 00-Empty
071 Magnet Beam Weapon Energy 1C-Full, 00-Empty
072-078 Score Each bytes represents one digit in BCD. Starts with one's digit (072)
0A6 Lives 80 is Max, 63 will display 99. Bit 7 set gives Game Over. Game will not raise it past 63.
0AE Bonus Number of bonus energy balls picked up during level. Is multiplied by 1000 at level completion screen.
100-1FF Stack RAM used by CPU for stack.
200-2FF Sprite Data 256 byte block that is transferred via DMA to PPU memory during each NMI Routine.
6C1 Boss Energy 1C-Full, 00-Empty