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.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Donkey Kong (NES)/ROM map: Difference between revisions
Jump to navigation
Jump to search
m (cat) |
m (Hawk moved page Donkey Kong/ROM map to Donkey Kong (NES)/ROM map) |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{rommap|game=Donkey Kong}} | {{rommap|game=Donkey Kong}} | ||
PRG ROM is mapped from C000 to FFFF. All the addresses below correspond to this. In order to find the data in a .nes file simply subtract BFEF from the values below. A simple method is to change the first digit to 0, 1, 2 or 3 depending if it is C, D, E or F respectively. Then increase the result by 10 to compensate for the 8 byte header. I.E. C000 = 0010, D2F8 = 1308, etc. | |||
= DATA = | = DATA = | ||
== Interrupt Vectors == | |||
* <tt>FFFA to FFFB</tt> = NMI Vector: C85F | |||
* <tt>FFFC to FFFD</tt> = Reset Vector: C79E | |||
* <tt>FFFE to FFFF</tt> = IRQ Vector: FFF0 | |||
== Game Variables == | |||
* <tt>C014 to C027</tt> = First element in the Array of demo Mario moves. Determines his direction | |||
* <tt>C028 to C03B</tt> = Second element of above array. Determines how many times to repeat direction in first element | |||
* <tt>C600 to C603</tt> = Values of Bonus given | |||
* <tt>D636</tt> = Amount of time hammer has (4B) | |||
== Graphics == | == Graphics == | ||
=== Backgrounds(Name Table Data) === | === Backgrounds (Name Table Data) === | ||
* <tt>F8F5 to FA1A</tt> = Title Screen | * <tt>F8F5 to FA1A</tt> = Title Screen | ||
Line 15: | Line 31: | ||
* <tt>FA2A to FA36</tt> = (M)(BONUS)(L) | * <tt>FA2A to FA36</tt> = (M)(BONUS)(L) | ||
* <tt>FA37 to FA44</tt> = ( )( )( ) | * <tt>FA37 to FA44</tt> = ( )( )( ) | ||
=== Text === | |||
* <tt>C6AA to C6C1</tt> = PLAYER I in middle of screen (two player mode) | |||
* <tt>C6C2 to C6E0</tt> = GAMER OVER in middle of screen with a blank line above and below | |||
= CODE = | = CODE = | ||
{{ | * <tt>EBBB to EBC3</tt> = Changes 0096 (Mario's status) to FF (Dead) if no time is left | ||
* <tt>EC16 to EC28</tt> = Loads data for demo movement of Mario from ROM to RAM | |||
{{Internal Data}} |
Latest revision as of 21:11, 28 January 2024
The following article is a ROM map for Donkey Kong (NES).
PRG ROM is mapped from C000 to FFFF. All the addresses below correspond to this. In order to find the data in a .nes file simply subtract BFEF from the values below. A simple method is to change the first digit to 0, 1, 2 or 3 depending if it is C, D, E or F respectively. Then increase the result by 10 to compensate for the 8 byte header. I.E. C000 = 0010, D2F8 = 1308, etc.
DATA
Interrupt Vectors
- FFFA to FFFB = NMI Vector: C85F
- FFFC to FFFD = Reset Vector: C79E
- FFFE to FFFF = IRQ Vector: FFF0
Game Variables
- C014 to C027 = First element in the Array of demo Mario moves. Determines his direction
- C028 to C03B = Second element of above array. Determines how many times to repeat direction in first element
- C600 to C603 = Values of Bonus given
- D636 = Amount of time hammer has (4B)
Graphics
Backgrounds (Name Table Data)
- F8F5 to FA1A = Title Screen
- F58C to F71B = Zone 1
- F809 to F8D8 = Zone 2
- F743 to F7CC = Zone 3
- FA1B to FA1E = I-
- FA1F to FA24 = TOP
- FA25 to FA29 = II-
- FA2A to FA36 = (M)(BONUS)(L)
- FA37 to FA44 = ( )( )( )
Text
- C6AA to C6C1 = PLAYER I in middle of screen (two player mode)
- C6C2 to C6E0 = GAMER OVER in middle of screen with a blank line above and below
CODE
- EBBB to EBC3 = Changes 0096 (Mario's status) to FF (Dead) if no time is left
- EC16 to EC28 = Loads data for demo movement of Mario from ROM to RAM
Internal Data for Donkey Kong (NES)
| |
---|---|