make # listing, reassembly, check and tests
make verify # the 16 reassembled banks give the whole ROM, byte for byte
make sanity # every byte, explained as code or as data with its reader
You need the cartridge image (pennantrace2.rom, sha1
93b07e3cd5ae2f00b36824a74f83a3ef0d65d0d5), which is not distributed.
| explained | 100 % of the 131,072 bytes |
| code | 54,945 bytes, 27,220 instructions |
| data | 76,127 bytes, every block with the routine that reads it |
| routines | 3,533 |
| commented | 40.4 % of the instructions, no routine below 10 % |
Gekitotsu Pennant Race 2 (Konami, 1989, RC-766): a 128 KB MegaROM, sixteen 8 KB banks with Konami's SCC mapper (registers at 0x5000, 0x7000, 0x9000 and 0xB000; 0x3F at 0x9000 opens the SCC registers at 0x9800).
p00:41DC-4252): 1-2-3, 4-5-6, 6-7, 8-9-10, 11-12 and 13-14-15 (the
sound). Bank 6 is the only one that lands in two windows: at 0xA000 with
4-5-6 and at 0x8000 with 6-7.H.KEYI, p00:4121): the sound with
13-14-15 and, if the previous frame has finished, the game state.0xC300, p00:42EE): 0 the Konami logo and
the intro, 1 the title, 2 the title has timed out (black screen and the logo
again), 3 the chosen option blinks, 4 the menus (stadium, teams, league,
TEAM EDIT) and the run-up to a game, 5 the game (p01:6E63, with 19 steps
in 0xC35E).p05:921B) or to the Game
Master 2 (p04:73D4, p04:7393).0xC000-0xC2CC |
the sound engine: 8 channels of 0x40 bytes and its state |
0xC300 / 0xC301 |
the state and its step |
0xC352 |
the title menu option |
0xC35E |
the game step |
0xC363-0xC365 |
balls, strikes and outs |
0xC366 |
the half inning (bit 0: the home team bats) |
0xC36C / 0xC381 |
each team's turn and batting order |
0xC39B |
the stadium (0 the open one, 1 the dome) |
0xC480-0xC492 |
the batter: state, drawing (0xC482), position (0xC484) |
0xC4C0 |
the ball |
0xC800 / 0xC970 |
the unpacked records of both teams (0x142 bytes) |
0xCC00 / 0xCE00 |
the colours and attributes of the 32 sprites |
0xD226 / 0xD227 |
the two teams of the game |
0x9890 (page 2 RAM) |
the field map, 96 x 80 characters |
The V9938 in two modes:
p00:4901), each with its colours, its four
pattern banks of 0x800 (lines 0-63, 64-127, 128-191 and 192-211) and its
name table; the register tables are at p00:4E77-4F03. Set 0 is the
pitching screen, set 1 the field (with two name tables taking turns, R#2 =
0x2A and 0x2C) and set 2 the sheets. The batter's sprites fill eleven 2 KB
banks, one per drawing, chosen with R#6 (p01:6FAC).tools/bancos.py, tools/z80trace.py).tools/lectores.py) walk every data format from the calls
that read it and declare each block (tools/bloques.py).tools/vram.py (the VDP and the drawing routines),
tools/pantallas.py (logo, title, menus), tools/estadio.py (the stadium,
the map, the signs, the sheet), tools/animaciones.py (the swing). Each one
is checked against a dump of openMSX's VRAM at the same moment of the game
(tools/omsx_vram.tcl, tools/lanza_vram.ps1, tools/coteja_vram.py).tools/equipos.py,
tools/fuente.py and tools/textos.py; the unpacked records are identical
to those in openMSX's RAM.tools/musica.py) and is checked
against openMSX's PSG and SCC frame by frame.This disassembly has been compared, instruction by instruction, with
every other Konami one in the series. A block counts when the same
instructions, at least six of them from a label to its ret or its
unconditional jump, are in both cartridges; the addresses are left
aside, because they change from one cartridge to the next. Of the
other 57, 43 have at least one block in common with this one;
these are the ones that share the most:
| Cartridge | Blocks | Instructions | For example (here = there) |
|---|---|---|---|
| The Pro Yakyuu Gekitotsu Pennant Race | 119 | 1,758 | dibujos (p00:4BD9) |
| Nemesis 3 - The Eve of Destruction | 101 | 1,586 | cartucho_en_pagina_2 (p00:40E3) = cartucho_en_8000 |
| King's Valley II | 70 | 931 | orden_eb (p13:6C32) |
| Parodius | 52 | 743 | texto (p00:489F) = lista_a_vram |
| Salamander - Operation X | 51 | 708 | texto (p00:489F) = lista_a_vram |
| Hai no Majutsushi - Mahjong 2 | 48 | 558 | cartucho_en_pagina_2 (p00:40E3) = cartucho_en_8000 |
| Konami’s Game Master 2 | 40 | 499 | borra_bloque_vram (p00:4B9D) = vdp_hmmv |
| Contra | 36 | 570 | orden_eb (p13:6C32) |
| F-1 Spirit — The Way to Formula 1 | 36 | 507 | nota_scc (p13:64D3) = NOTA_CRUDA |
| Nemesis 2 | 33 | 465 | voltea_arriba_abajo (p00:5653) = cabeza_abajo |
The whole matrix, the 58 cartridges against each other, is on The routines in the series database, along with the method and the program that measures it.