The disk is not distributed. With your own image in disk/vol2.dsk (sha1 dc3678d2f2ccffe61941d71a959432260d0a455a):
make listado # the 14 listings, from the notes
make verify # reassembles each module and rebuilds the whole vol2.dsk: sha1 OK
make test # the tests
make verify rebuilds the 210,944 bytes the disk reads from the listings, and the other sectors as they are, until it gives the disk's sha1.
The loader has been run (tools/kgc_run.py): the start-up, the menu and the loading of each game, with and without the SCC cartridge. That tells who reads each sector (tools/mapa.py). No sector is left without an owner.
| Sectors | What it is | Where it is loaded |
|---|---|---|
| 0x000 | boot | 0xC000 |
| 0x001-0x008 | loader: menu, protection, loading, menu sound | 0xC100 |
| 0x00E | the protection ("HPR-0006") | 0x8000 |
| 0x00F-0x01F | leftovers of MSX-DOS 1.03; nobody reads them | — |
| 0x020-0x02F | graphics of the title and the menu | 0xA000 |
| 0x040-0x07F | Konami's Boxing | 0x4000 |
| 0x080-0x09F | Konami's Tennis | 0x4000 |
| 0x0C0-0x0DF | Billiards | 0x4000 |
| 0x100-0x11F | Hyper Olympic 1 | 0x4000 |
| 0x140-0x15F | Hyper Sports 2 | 0x4000 |
| 0x180-0x1BF | Boxing's SCC image | SCC cartridge RAM |
| 0x1C0-0x1FF | Billiards' SCC image | SCC cartridge RAM |
| 0x200-0x23F | Hyper Sports 2's SCC image | SCC cartridge RAM |
| 0x300, 0x301, 0x302 | hooks of Boxing, Billiards and Hyper Sports 2 | 0xC800 |
The loader writes the SCC image into the cartridge with WRSLT, through its banks 0x5000/0x7000/0x9000/0xB000, and leaves it as a Konami MegaROM. To play, the hook puts the cartridge in pages 1 and 2, calls 0x4003 or 0x4009 (ask for a sound) or 0x4006 (one frame of the driver), and puts the RAM back.
| Module | Sectors | Bytes | Code | Instructions | Commented |
|---|---|---|---|---|---|
| arranque (boot) | 0x000 | 512 | 64 | 26 | 65.4% |
| cargador (loader) | 0x001-0x008 | 4,096 | 2,502 | 1,285 | 65.7% |
| graficos | 0x020-0x02F | 8,192 | 75 | 26 | 96.2% |
| gancho_j0 (Boxing) | 0x300 | 512 | 165 | 86 | 46.5% |
| gancho_j2 (Billiards) | 0x301 | 512 | 249 | 128 | 46.1% |
| gancho_j4 (Hyper Sports 2) | 0x302 | 512 | 251 | 127 | 47.2% |
| scc_j0 | 0x180-0x1BF | 32,768 | 4,927 | 2,380 | 48.8% |
| scc_j2 | 0x1C0-0x1FF | 32,768 | 4,659 | 2,239 | 48.0% |
| scc_j4 | 0x200-0x23F | 32,768 | 4,947 | 2,378 | 46.6% |
| juego_j0 (Boxing) | 0x040-0x07F | 32,768 | 6,932 | 3,740 | 51.8% |
| juego_j1 (Tennis) | 0x080-0x09F | 16,384 | 7,882 | 4,255 | 32.0% |
| juego_j2 (Billiards) | 0x0C0-0x0DF | 16,384 | 5,267 | 2,908 | 38.8% |
| juego_j3 (Hyper Olympic 1) | 0x100-0x11F | 16,384 | 9,329 | 5,038 | 32.5% |
| juego_j4 (Hyper Sports 2) | 0x140-0x15F | 16,384 | 6,918 | 3,661 | 25.5% |
| total | 210,944 | 54,167 | 28,277 | 40.3% |
The disk's new modules (boot, loader, graphics, hooks and SCC images) are above 46%, with no weak routines. Each game inherits the comments of its cartridge's disassembly, already part of the series, and its density does not drop below the cartridge's minus one point (tests/test_cambios.py).