L'Empereur:ROM map

From Data Crystal
Revision as of 21:00, 3 January 2019 by Dugongue (talk | contribs)
Jump to navigation Jump to search

Note that most functions in this game are essentially written in a higher-level computer language than 6502. By using a jump table, more complex operations are able to be identified by single hex codes. These functions are prefaced by "20 09 E5" and terminated by the operation "CF".

A list of these operations is located here. This same system seems to be used by the other MMC5 Koei games.

Page E8 ($A000-$BFFF)

ROM location: 0x10010-0x1200F

Function $A8DF

Main function for all CPU city actions.

A8E4 AA D1 7C    / Push $7CD1/$7CD2 to stack / (+2) Active city
A8E7 E9 DB BA 02 / Run function $BADB        / (-2)
0x3466A - 0x35758
Officer names and traits

See Notes for more detail on officer traits.