Cite as
“Romance of the Three Kingdoms II (USA)”
Licence
proprietary; never redistributed (docs/data-policy.md#roms)
Credit
Koei
Notes
Internal header: title "ROMANCE 3 KINGDOMS 2", LoROM without FastROM (map $20), 1 MB ROM, 32 KB SRAM.

Cited on

Claims (8)

The scenario menu offers six scenarios, from Dong Zhuo Seizes Loyang in 189 A.D. to The Three-way Contest in 220 A.D., and a seventh line to load a saved game.frame 1100Code notes
Each scenario has a 20-byte record; the six sit in a row, and loading a scenario copies its record to work RAM. Its first word is the starting year less one (188 for 189 A.D.); the other 18 bytes are unidentified.0xFC36-0xFCADVerified
Choosing a scenario copies its record, a block of 41 province records of 25 bytes, and 16 one-byte entries (meaning not identified) from the ROM to work RAM, then loads its officers one at a time: 150 in the first scenario and 203, 210, 214, 196 and 183 in the others, each officer's three ability bytes taken from the officers' table.0xFD10-0xFD6F0xFD70-0x11575Verified
The game's 352 officers as the ROM holds them: each one's name, 16 bytes in a list of its own, and his three abilities, intelligence, war and charm, three bytes a row in another list, which the game draws as Int, War and Chm.0x130D8-0x134F70x14844-0x15E43Verified
Dong Zhuo Seizes Loyang's 41 provinces as the ROM holds them, 25 bytes each: the officer who rules each one (linked to the officers), and numbers not yet identified, among them three words at +8, +10 and +12 and five bytes from +20.0xFD70-0x10170Verified
Romance of the Three Kingdoms II stores its officers' names as ASCII, a byte a character: each of the 352 is 16 bytes, one string padded with zeros or a family name in the first nine bytes and a given name in the last seven, each padded with zeros. The messages cited here are ASCII ended by a 0, and some hold control sequences, an escape byte ($1B) and two characters, as Genghis Khan II's messages do.0x14884-0x148930xF865-0xF87C0xCC8E-0xCC97Verified
Much of the game's logic is bytecode, not machine code: an interpreter in the cartridge's first bank reads it a byte at a time and jumps through a table of 256 handlers, one for each byte. The bytecode sits in blocks the game copies into work RAM and runs from there, the first of them, 20,978 bytes, at power-on; the setup menu's block is copied when that menu opens, before a scenario is chosen, and the officers' ability panel has its text fetched through the handler of byte $D3.0x0-0x20x1A4C-0x1AAA0x20E6-0x22E50x83E6-0x83F80x1E79-0x1E850x7800-0x782FCode
The ROM doesn't hold the multiplier of Genghis Khan II's random number generator, 1,103,515,245, the C standard's example rand(), as a 32-bit number in either byte order.0x0-0xFFFFFVerified