diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-10-06 17:15:16 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-10-06 17:27:50 +0200 |
| commit | 4bf12db91feb5db98d65b518dbad0c1a8c6748df (patch) | |
| tree | bb0d84fc589b83ef57c464c241b97314a54cdc66 /tests/expected/readrom/header.txt | |
| parent | ffd5f8684cf3871250ab2f0007b0324d74c134bb (diff) | |
| download | tools.nes-4bf12db91feb5db98d65b518dbad0c1a8c6748df.tar.gz tools.nes-4bf12db91feb5db98d65b518dbad0c1a8c6748df.zip | |
readrom: add support for default expansion device
The 15th byte from the NES 2.0 header was wilfully ignored, but it can
be relevant to the end user. Hence, add support for it in the 'header'
library, and add the frontend code into 'readrom'.
The point is not to support every single thing out there, but I have
added the stuff that I thought was most relevant, and we can add more
items to it whenever the need appears.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'tests/expected/readrom/header.txt')
| -rw-r--r-- | tests/expected/readrom/header.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/tests/expected/readrom/header.txt b/tests/expected/readrom/header.txt index a2d4a81..fc963e0 100644 --- a/tests/expected/readrom/header.txt +++ b/tests/expected/readrom/header.txt @@ -1,11 +1,13 @@ Header: - Kind: NES 2.0 - PRG ROM size: 32768 bytes (32KB) - CHR ROM size: 8192 bytes (8KB) - Mapper: NROM - Mirroring: Horizontal - CPU/PPU timing: NTSC + Kind: NES 2.0 + PRG ROM size: 32768 bytes (32KB) + CHR ROM size: 8192 bytes (8KB) + Mapper: NROM + Mirroring: Horizontal + CPU/PPU timing: NTSC + Default Expansion Device: Unknown + Raw: [ 4E 45 53 1A 02 01 00 08 00 00 00 00 00 00 00 00 ] Vectors: - NMI: 0xa2f8 - Reset: 0xa3c2 - IRQ: 0xa3c1 + NMI: 0xa2f8 + Reset: 0xa3c2 + IRQ: 0xa3c1 |
