From 8f718c0b9b14a866d282ce7be877f21ca87ac647 Mon Sep 17 00:00:00 2001 From: Trevor Merritt Date: Mon, 19 Oct 2026 07:29:32 -0400 Subject: [PATCH] system jump --- _tools/pass2.py | 2 +- _wip/Pinball (JU)/copilot/data_regions.tsv | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 _wip/Pinball (JU)/copilot/data_regions.tsv diff --git a/_tools/pass2.py b/_tools/pass2.py index 8b84bb1..44f625d 100644 --- a/_tools/pass2.py +++ b/_tools/pass2.py @@ -468,7 +468,7 @@ def describe(path, purposefile): DATA_HEADER_RE = re.compile(r"^; ---- data \$([0-9A-F]{4})-\$([0-9A-F]{4}) \((\d+) bytes\) ----$") BYTE_LINE_RE = re.compile( r"^ \.byte ((?:\$[0-9A-F]{2}(?:, )?)+)\s*; CPU:\$([0-9A-F]{4}) PRG:([0-9A-F]{4})\s+" - r"((?:[0-9A-F]{2} ?)+[0-9A-F]{2})\s*$" + r"((?:[0-9A-F]{2} ?)*[0-9A-F]{2})\s*$" ) diff --git a/_wip/Pinball (JU)/copilot/data_regions.tsv b/_wip/Pinball (JU)/copilot/data_regions.tsv new file mode 100644 index 0000000..bbdd23e --- /dev/null +++ b/_wip/Pinball (JU)/copilot/data_regions.tsv @@ -0,0 +1,42 @@ +# Pinball (JU) data-region structure - Pass 3 +# startendlabelformatcomment +0xC16A 0xC180 SoundPointerTable word Pass 3: 11 word pointers to sound data (index = sound ID). +0xC400 0xCBA6 ControllerKeyTable bytes Pass 3: Controller key mapping table (1959 bytes). +0xCDB5 0xCE4D SpriteMetatileTable bytes Pass 3: Sprite metatile definitions (153 bytes). +0xCE55 0xCE6B SpriteAnimationTable bytes Pass 3: Sprite animation data (23 bytes). +0xD74B 0xDBB5 PlayfieldData bytes Pass 3: Playfield layout data (1131 bytes). +0xDC2D 0xDC2D Byte bytes Pass 3: Single byte. +0xDCA2 0xDCA9 SpriteDMATable bytes Pass 3: Sprite DMA source data (8 bytes). +0xDDE5 0xDDF0 SpritePaletteTable bytes Pass 3: Sprite palette data (12 bytes). +0xDE03 0xDE1A BallPhysicsTable bytes Pass 3: Ball physics parameters (24 bytes). +0xDE24 0xDE2F BallCollisionTable bytes Pass 3: Ball collision parameters (12 bytes). +0xDE87 0xDFE7 PlayfieldLayout bytes Pass 3: Playfield layout data (353 bytes). +0xE048 0xE048 Byte bytes Pass 3: Single byte. +0xE2B8 0xE3E1 LevelData bytes Pass 3: Level layout data (298 bytes). +0xE482 0xE48B LevelData2 bytes Pass 3: Level data (10 bytes). +0xE576 0xE5B5 ScoreDisplayTable bytes Pass 3: Score display data (64 bytes). +0xE787 0xE7AB FlipperData bytes Pass 3: Flipper position data (37 bytes). +0xEA60 0xEAD0 SoundSequenceData bytes Pass 3: Sound sequence data (113 bytes). +0xEB5A 0xEB5A Byte bytes Pass 3: Single byte. +0xEB66 0xEB9C SoundSequenceData2 bytes Pass 3: Sound sequence data (55 bytes). +0xEBE1 0xEBF8 SoundSequenceData3 bytes Pass 3: Sound sequence data (24 bytes). +0xEC4B 0xEC7F SoundSequenceData4 bytes Pass 3: Sound sequence data (53 bytes). +0xECEE 0xED05 SoundSequenceData5 bytes Pass 3: Sound sequence data (24 bytes). +0xED2E 0xEDAF SoundSequenceData6 bytes Pass 3: Sound sequence data (130 bytes). +0xEDE6 0xEDEC SoundSequenceData7 bytes Pass 3: Sound sequence data (7 bytes). +0xEE37 0xEE3C SoundSequenceData8 bytes Pass 3: Sound sequence data (6 bytes). +0xEEDB 0xEF27 BallPhysicsTable2 bytes Pass 3: Ball physics parameters 2 (77 bytes). +0xEFBA 0xEFD2 BallCollisionTable bytes Pass 3: Ball collision parameters (25 bytes). +0xF0DB 0xF0DE SoundEffectPointers word Pass 3: Sound effect pointers (4 bytes). +0xF220 0xF225 FlipperStateTable bytes Pass 3: Flipper state table (6 bytes). +0xF2E7 0xF2EF BallVelocityTable bytes Pass 3: Ball velocity table (9 bytes). +0xF3B1 0xF3B8 FlipperTimerTable bytes Pass 3: Flipper timer table (8 bytes). +0xF416 0xF41D BumperStateTable bytes Pass 3: Bumper state table (8 bytes). +0xF4AC 0xFB2B GameData bytes Pass 3: Main game data block (1664 bytes). +0xFB45 0xFB45 Byte bytes Pass 3: Single byte. +0xFB48 0xFB48 Byte bytes Pass 3: Single byte. +0xFCA8 0xFCB3 ScoreDisplayTable2 bytes Pass 3: Score display data (12 bytes). +0xFD1E 0xFD23 BallPhysicsTable3 bytes Pass 3: Ball physics parameters 3 (6 bytes). +0xFEC6 0xFFDB GameStateData bytes Pass 3: Game state data (278 bytes). +0xFFF6 0xFFF6 Byte bytes Pass 3: Single byte. +0xFFFA 0xFFFF InterruptVectors word Pass 3: NMI/RESET/IRQ vectors. \ No newline at end of file