Machine LearningAnwendungsbeispieleArcade I: Frogger, Phoenix & Moon Cresta

Arcade: Frogger, Phoenix & Moon Cresta

Diese drei Arcade-Simulationen wurden von Argon im November 2026 erstellt und bilden die 8-Bit-Hardware-Architektur klassischer Automaten von 1980/1981 inklusive Live-ROM-Patcher, Hardware-DIP-Schaltern und originalem MAME-ROM-Manifest nach:

Arcade-AutomatJahr / HerstellerCPU- & Audio-ArchitekturMAME-ROM-ArchivDirekt starten
🐸 Frogger1981 Konami / SegaDual Z80 @ 3.072 MHz + AY-3-8910 PSGfrogger.zip (38 Chips)Frogger starten
🦅 Phoenix1980 Amstar / Centuri / Taito8085A / Z80 @ 3.072 MHz + MN6221AA / TMS36XXphoenix.zip (56 Chips)Phoenix starten
🚀 Moon Cresta1980 Nichibutsu / Sega-GremlinZ80A @ 3.072 MHz (D2↔D6 Swap) + Galaxian Busmooncrst.zip (82 Chips)Moon Cresta starten

Gemeinsamer Hardware-Baustein (l06_prom.bin): Alle drei Automaten teilen sich auf ihren Galaxian-/Taito-abgeleiteten Video-Boards exakt denselben bipolaren 32-Byte-Farb-PROM l06_prom.bin (CRC32: 6a0c7d87, 82S123 Open-Collector-PROM).

Weiterführend — Arcade II (arcade2.mdx): Lady Bug, Donkey Kong & 1942: Dokumentiert den architektonischen Sprung von den Galaxian-Boards zu Universals 32-Sprite-Engine (🐞 Lady Bug), Nintendos Intel-8257-DMA & 8035-DAC-Audio (🦍 Donkey Kong) und Capcoms 80-KB-Bank-Switching (✈️ 1942).

Im Dialog: Das Wichtigste dieser Seite als kleines Theaterheft – aufschlagen, umblättern und jede Antwort des Professors aufklappen.

Michael Roland
Arcade I
Ein Dialog in sechs Auftritten
michael-roland.de · November 2026
Zugeklappt
Tipp: auf die Seite klicken oder mit den Pfeiltasten ← → blättern
Den ganzen Dialog als Text lesen

ICH: Was ist das hier eigentlich?

Der Professor: Drei Arcade-Simulationen, die Argon im November 2026 gebaut hat: Frogger, Phoenix und Moon Cresta – mit Live-ROM-Patcher, DIP-Schaltern und MAME-ROM-Manifest.

ICH: Was haben die drei gemeinsam?

Der Professor: Galaxian- beziehungsweise Taito-abgeleitete Video-Boards – und denselben 32-Byte-Farb-PROM l06_prom.bin. Drei Automaten, eine Farbpalette.

ICH: Warum hat Frogger zwei Z80?

Der Professor: Einer führt das Spiel, der zweite kümmert sich nur um den Ton und steuert den AY-3-8910. Arbeitsteilung, schon 1981.

ICH: Und wie wird der Frosch unverwundbar?

Der Professor: Mit dem klassischen NOP-Hack: An Adresse 0x102C wird der Sprung in die Todesroutine durch drei NOPs ersetzt. Der Frosch läuft dann sogar übers offene Wasser.

ICH: Was spielt Phoenix da für Musik?

Der Professor: Einen Melodie-Chip, den MN6221AA, eigentlich für Türklingeln gedacht. Daher erklingen „Romance de Amor“ und, beim Sieg über das Mutterschiff, „Für Elise“.

ICH: Und Moon Cresta?

Der Professor: Hat eine frühe Kopierschutz-Finte: Auf dem Datenbus werden die Bits D2 und D6 vertauscht. Dazu kommt das Docking der dreistufigen Rakete.

Die folgende Dokumentation beschreibt die Hardware-Architektur, Speicherbelegung, DIP-Schalter und das Live-Hex-Patching aller drei Systeme.


Konami / Sega Frogger (1981): Z80 Hardware & Simulation Reference

Target Audience: Z80 Assembly Programmers, Arcade Board Technicians, and 8-Bit Systems Engineers
Boardset Reference: Konami 800 / Sega-Gremlin 834-0068 (Dual Z80 Architecture, Galaxian-derived Video)


1. Executive Summary: What This Simulator Actually Does

If you spent the late 1970s or early 1980s burning 2716/2732 UV EPROMs, probing MREQ and IORQ lines with a logic analyzer, or hand-assembling Zilog mnemonics into hex, you will immediately recognize the hardware layout in this simulator.

Because the original frogger.zip archive was pasted into chat as raw ASCII text, non-printable binary bytes (0x00–0x1F, 0x80–0xFF) were mangled by UTF-8 text conversion, destroying the Huffman/DEFLATE streams inside the ZIP container. However, the ZIP Central Directory headers survived intact, allowing us to recover the exact 38-chip ROM manifest (a hybrid of Konami frogger.26/.27 and Sega Set 2 epr-1031–1082 dumps).

Rather than running an instruction-by-instruction T-state emulator on corrupted binary data, this application is a behavioral hardware-level recreation synchronized to a 60 Hz VBLANK interrupt loop (IM 1 vector at $0038). It models the memory-mapped I/O ports, 8255 PPI DIP switch banks, BCD arithmetic scoring, and live hex-patching workflows you would use with an in-circuit emulator (ICE) or EPROM burner.


2. The 1981 Hardware Architecture (Dual Z80)

Konami engineered Frogger on a heavily modified Namco Galaxian / Scramble bus architecture. It uses two Z80 microprocessors communicating asynchronously through an 8-bit sound latch and an Intel 8255 Programmable Peripheral Interface (PPI).

SubsystemComponentClock Derived From 18.432 MHz XTALRole on the PCB
Main CPUZilog Z80A (CPU0)3.072 MHz (÷ 6)Game state machine, collision math, BCD scoring, VRAM/Sprite updates during VBLANK, polling 8255 PPI inputs.
Sound CPUZilog Z80 (CPU1)1.789772 MHzDedicated audio sequencer; reads latch from Main CPU and drives the AY-3-8910 PSG.
Sound GeneratorGI AY-3-8910 PSG1.789772 MHz3 square-wave tone generators (Channels A, B, C) + 1 LFSR noise generator + I/O port for reading the sound command latch.
I/O ControllerIntel 8255 PPI (x2)Bus-clockedReads coin microswitches, 4-way leaf joystick, 1P/2P start buttons, and the physical 8-switch DIP banks.
Video Color82S123 Bipolar PROM6.144 MHz Pixel Clockpr-91.6l (32 × 8-bit) lookup table wired as R3 G3 B2 resistor DACs, plus hardware scanline split at line 128.

3. Main Z80 Memory Map (CPU0)

Unlike home Z80 systems (TRS-80, ZX Spectrum, MSX, or CP/M machines) that used OUT (C), A across the 256-port I/O space, Konami arcade boards decoded almost everything—including the 8255 PPIs and watchdog timer—directly into the 64 KB MREQ address space to save 74LS138/74LS139 glue logic:

  • $0000 – $0FFF (frogger.26 / epr-1031.15): 4 KB Main Program ROM Bank 0. Holds the cold reset vector ($0000), stack initialization (LD SP, $87FE), and the IM 1 maskable interrupt service routine at $0038 triggered every 16.67 ms by vertical blanking (VBLANK).
  • $1000 – $1FFF (frogger.27 / epr-1032.16): 4 KB Main Program ROM Bank 1. Contains entity velocity tables, bounding-box collision routines (ROAD_CHK, LOG_TURTLE), and turtle diving state machines.
  • $2000 – $2FFF (frsm3.7 / epr-1033.33): 4 KB Main Program ROM Bank 2. Manages the 5 top Home Bays, bonus fly RNG (Linear Feedback Shift Register), attract mode choreography, and BCD score tables.
  • $8000 – $87FF (2 KB Static Work RAM - 2x 2114 / 6116 SRAM): Scratchpad variables, player state, active frog coordinates ($8010, $8012), countdown timer ticks ($8028), and the hardware stack growing downward from $87FE.
  • $A800 – $ABFF (1 KB Video Tilemap RAM): 32 × 32 tile grid (8 × 8 pixels per tile).
  • $B000 – $B0FF (Object / Sprite Attribute RAM):
    • $B000 – $B03F: 32 column/row scroll & palette attribute pairs (2 bytes per tile row—this is how Frogger scrolls entire river and traffic rows smoothly without rewriting tilemap RAM!).
    • $B040 – $B05F: 8 hardware sprites (4 bytes per sprite: Y_POS, TILE_CODE, COLOR_FLIP, X_POS).
  • $B808 (Interrupt Enable Latch): Writing $01 enables the VBLANK /INT line; writing $00 masks it so VBLANK doesn’t corrupt multi-byte VRAM pointers.
  • $B80C (Watchdog Reset): The Main Z80 must read or write this address every few frames; otherwise, the 555/counter watchdog circuit asserts /RESET to recover from a crashed program counter.
  • $D000 – $E006 (Dual Intel 8255 PPI Chips): Memory-mapped joystick, coin switches, DIP switch banks, and the outbound latch to the Sound Z80.

4. Hardware DIP Switches & Intel 8255 PPI Interfacing ($E004)

Before EEPROMs or battery-backed CMOS NVRAM became cheap, arcade operators configured game difficulty, starting lives, and coin-mech pricing using physical Dual In-line Package (DIP) switches soldered directly onto the PCB.

A. Electrical Topology & 8255 PPI Reading

On the Frogger PCB, the DIP switch bank is wired to Port C of the primary Intel 8255 PPI mapped at memory address $E004:

  • Each switch pin is connected to the +5 V rail through a 4.7 kΩ SIP pull-up resistor pack and to ground (GND) through the physical switch contacts.
  • In our simulator’s UI, flipping a switch UP (ON / 1) sets its corresponding bit in the $E004 register (factory default is 0x02 = 00000010 binary, meaning only SW2 is ON for 3 starting frogs and 1 Coin / 1 Credit).

During the cold boot routine and at the start of every new game (START_1P), the Z80 reads $E004 into the accumulator (A) and isolates specific bitfields using AND masks and bit-shift instructions (RRCA):

0488: 3A 04 E0     LD   A, ($E004)   ; Read 8-bit DIP switch bank from 8255 PPI Port C
048B: 47           LD   B, A         ; Save full DIP byte in Register B
048C: E6 03        AND  $03          ; Mask bits 0-1 (SW1 & SW2: Starting Lives)
048E: 21 B0 04     LD   HL, LIVES_LUT; Point HL to 4-byte Lives Lookup Table ($01,$03,$05,$0F)
0491: 85           ADD  A, L         ; Index into table: HL = HL + A
0492: 6F           LD   L, A
0493: 7E           LD   A, (HL)      ; Load resolved starting frog count into A
0494: 32 18 80     LD   ($8018), A   ; Write to P1_LIVES in Work RAM

B. Complete 8-Switch Bit Map (PORT $E004)

In our simulator, the 8 switches combine authentic 1981 Konami/Sega operator settings (SW1–SW4) with diagnostic service & ROM-hack switches (SW5–SW8) that technicians and modders wired into test rigs:

SwitchBitBinary MaskHex ValueFunction / Subsystem Controlled
SW1Bit 000000001$01Starting Frog Lives (LSB) — Paired with SW2 (see 2-bit truth table below).
SW2Bit 100000010$02Starting Frog Lives (MSB) — Factory default is SW1=0, SW2=1 (3 lives).
SW3Bit 200000100$04Coinage / Credit Ratio (LSB) — Paired with SW4 to set coins per credit.
SW4Bit 300001000$08Coinage / Credit Ratio (MSB) — Factory default is SW3=0, SW4=0 (1 Coin / 1 Play).
SW5Bit 400010000$105x Forward Hop Scoring — 0 = +10 PTS per hop; 1 = +50 PTS per hop (@0x0B14).
SW6Bit 500100000$20Turbo Road Traffic — 0 = 1.0× nominal speed; 1 = 1.8× speed (@0x1180).
SW7Bit 601000000$40Extended Round Timer — 0 = 30 sec (60 ticks); 1 = 60 sec (120 ticks @0x2801).
SW8Bit 710000000$80Service Invincibility (NOP-GOD) — 1 patches $102C with 00 00 00 (NOPs).

C. Multi-Bit DIP Truth Tables

1. Starting Frogs per Game (SW1 & SW2 — Bits 0..1)

On the original 1981 Konami/Sega ROM sets, bits 0 and 1 index a 4-byte lookup table in ROM. Setting both switches to 1 was used by arcade technicians to test upper stages without running out of lives:

SW2 (Bit 1)SW1 (Bit 0)2-Bit CodeStarting FrogsOperator / Technician Purpose
0 (OFF)0 (OFF)00 ($00)1 Frog”Hard / Tournament” setting (high coin turnover)
1 (ON)0 (OFF)01 ($02)3 FrogsFactory Default (Standard 1981 Arcade Rules)
0 (OFF)1 (ON)10 ($01)5 Frogs”Generous / Family Arcade” setting
1 (ON)1 (ON)11 ($03)15 FrogsBurn-In / Cabinet Technician Test Mode
2. Coin Door Pricing (SW3 & SW4 — Bits 2..3)

The Z80 NMI/VBLANK coin-polling routine checks SW3 and SW4 whenever the coin microswitch ($E000 Bit 0) closes, determining how many pulses are required before incrementing the BCD CREDITS byte in RAM:

SW4 (Bit 3)SW3 (Bit 2)2-Bit CodeCoinage RatioTypical 1981 Regional Setting
0 (OFF)0 (OFF)001 Coin = 1 PlayFactory Default (25¢ US / 1 DM Germany / 100 Yen Japan)
0 (OFF)1 (ON)012 Coins = 1 PlayHigh-inflation or 50¢ premium location
1 (ON)0 (OFF)101 Coin = 1 Play (Alt)Secondary chute / token acceptor mapping
1 (ON)1 (ON)113 Coins = 1 PlayMulti-coin European mechanical acceptors
3. Diagnostic & Service Switches (SW5 – SW8 — Bits 4..7)

In our simulator, switches SW5 through SW8 act as hardware jumpers that dynamically patch the corresponding ROM immediate operands:

  • SW5 (Bit 4 = 1): Patches @0x0B14 from C6 01 (ADD A, $01 → 10 PTS) to C6 05 (ADD A, $05 → 50 PTS).
  • SW6 (Bit 5 = 1): Multiplies the fixed-point road velocity table at @0x1180 by 1.8× ($3A instead of $20).
  • SW7 (Bit 6 = 1): Changes the countdown timer initialization byte at @0x2801 from 3E 3C (60 half-second ticks = 30 s) to 3E 78 (120 half-second ticks = 60 s).
  • SW8 (Bit 7 = 1): Engages the NOP-GOD collision bypass at @0x102C (displays NOP-GOD in cyan on the bottom CRT status bar).

5. How the Live ROM Hex Patcher Maps to Z80 Assembly

While DIP switches only let an operator pick from fixed factory presets, bootleg engineers and hardware hackers wanted granular control over every constant in the game. They did this by pulling the 2732 EPROMs from their sockets, modifying immediate operands in a hex editor, and burning modified chips.

Our simulator’s Z80 ROM & DIP Patcher lets you do both in real time and shows you the exact Z80 opcodes being altered:

A. Starting Frog Lives (@0x04A2 in frogger.26)

If you bypass the 2-bit DIP switch lookup table and hardcode an immediate load into the accumulator:

04A2: 3E 03        LD   A, $03       ; Immediate operand = 3 Frogs
04A4: 32 18 80     LD   ($8018), A   ; Store in P1_LIVES RAM variable
  • What the Slider Does: Moving the Starting Frogs slider patches the immediate byte at $04A3 from $01 to $0F (15 lives) and updates the live RAM state ($8018).

B. BCD Scoring & the Z80 DAA Instruction (@0x0B14 & @0x0C40)

Like almost all 8-bit arcade games, Frogger stores scores in Packed Binary-Coded Decimal (BCD) so the CPU never has to perform expensive binary-to-decimal division (DIV doesn’t exist on the Z80) just to render digits to the screen. Each byte holds two decimal digits ($00–$99), and additions are followed immediately by the $27 (DAA — Decimal Adjust Accumulator) opcode:

0B12: 3A 01 80     LD   A, ($8001)   ; Load low BCD digits of 1UP score (tens/hundreds)
0B15: C6 01        ADD  A, $01       ; +$01 in tens place = +10 Points per forward hop
0B17: 27           DAA               ; Adjust hex carry into valid BCD (09 + 01 -> 10, not 0A)
0B18: 32 01 80     LD   ($8001), A   ; Write back to Score RAM
  • What the Sliders Do: Adjusting Points per Hop (@0x0B14) or Points per Home Bay (@0x0C40) modifies the immediate operand of the ADD A, n ($C6 nn) instruction.

C. Fixed-Point Velocity Tables (@0x1180 & @0x11A0)

The Z80 has no floating-point unit. To move logs, turtles, and vehicles at fractional pixels per frame (e.g., 0.75 px per 60 Hz tick), the game uses 8.8 fixed-point arithmetic or sub-pixel frame modulo counters indexed via the IX register:

0910: DD 7E 02     LD   A, (IX+$02)  ; Load fractional velocity byte from ROM table
0913: DD 86 00     ADD  A, (IX+$00)  ; Add to entity's sub-pixel accumulator
0916: DD 77 00     LD   (IX+$00), A  ; Store updated position
  • What the Speed Sliders Do: Adjusting Road Traffic Speed (@0x1180) or River Log/Turtle Speed (@0x11A0) scales the velocity bytes in the ROM lookup table ($20 = 1.0× nominal speed, $40 = 2.0×, etc.) and immediately updates the active entities on screen.

D. The Classic $00 (NOP) Invincibility Hack (@0x102C)

Anyone who ever typed POKE cheats into a Sinclair ZX Spectrum or patched an arcade ROM knows the NOP ($00) trick. In frogger.27, after checking whether the frog is overlapping a vehicle bounding box or has missed a log in the river, the Z80 sets the Zero flag (Z) and executes a conditional 3-byte jump to the death routine:

; --- FACTORY 1981 ROM CODE ---
102A: FE 00        CP   $00          ; Did collision/water check return 0 (Fatal)?
102C: CA 90 15     JP   Z, $1590     ; Jump to FROG_DIE (Squash / Drown sequence)

; --- PATCHED WITH Z80 INVINCIBILITY CHECKBOX (OR DIP SW8) ---
102A: FE 00        CP   $00          ; Compare still runs...
102C: 00           NOP               ; Overwrite $CA (JP Z) with $00 (NOP)
102D: 00           NOP               ; Overwrite low address byte $90 with $00
102E: 00           NOP               ; Overwrite high address byte $15 with $00
  • What the Toggle Does: Checking Z80 Invincibility Patch (or flipping SW8 on the DIP bank) replaces the 3-byte JP Z, $1590 instruction (CA 90 15) at $102C with three NOPs (00 00 00). Execution falls straight through as if nothing hit you—allowing the frog to walk across open water, survive direct hits from racecars, and ignore the median snake.

6. Video Hardware Quirks: Why the Screen Splits in Half

If you look closely at the 1981 arcade screen, the top half (Rows 0–7, River & Score) has a deep midnight-blue background (#000048), while the bottom half (Rows 8–15, Median & Road) has a pitch-black background (#000000).

On the original PCB, background tiles only had 2 bitplanes (4 colors per palette), and color 00 was transparent. Rather than wasting precious tile colors on solid blue water tiles, Konami wired a hardware scanline comparator (using the 7th bit of the vertical pixel counter, 128V, routed through PROM l06_prom.bin) directly to the blue video DAC:

  • Scanlines 000–127 (128V = 0): The video hardware forces the background bus to Deep Blue, giving the entire upper screen water for free.
  • Scanlines 128–255 (128V = 1): The comparator drops the blue pull-up, switching the background to Asphalt Black for the road and bottom status bar.

7. Audio Architecture: The Sound Z80 & AY-3-8910 PSG

When the frog hops, the Main Z80 (CPU0) does not waste cycles bit-banging a speaker. Instead, it writes a single command byte to the 8255 PPI port latched to the Sound CPU (CPU1), and triggers an interrupt on the Sound Z80.

The Sound Z80 runs at 1.789 MHz out of ROMs frogger.608, frogger.609, and frogger.610, feeding frequency divider values into the General Instrument AY-3-8910 (the exact same 3-channel sound chip later used in the MSX, Atari ST, Amstrad CPC, and Vectrex). Our simulator’s ArcadeSoundEngine class recreates those exact square-wave frequency sweeps and arpeggios using the browser’s Web Audio API oscillators.


Amstar / Centuri / Taito Phoenix (1980): Hardware & ROM Reference

🦅 Phoenix (1980) direkt starten

Boardset Reference: Amstar Electronics / Centuri / Taito Dual-Layer Video PCB (phoenix.zip, 56 ROM/PROM files)

1. Hardware Architecture & Memory Banking (ic45 – ic52)

Phoenix (1980) was one of the first arcade shooters to feature two independent hardware tilemap layers (a scrolling starfield/mothership background layer in ic23/ic24 and a foreground HUD/entity layer in ic39/ic40), a multi-hit regenerating-wing enemy state machine, a temporary Force-Field Barrier, and a true multi-destructible Alien Mothership Boss in Wave 5.

  • $0000 – $3FFF (16 KB Main Program ROM across ic45–ic52):
    • Eight 2 KB 2716 EPROMs (ic45 through ic52, plus Taito set 01.bin–08.bin, Centuri phoenix3.*, and Condor cond01c–08c variants in phoenix.zip).
    • Cold boot at ic45 ($0008: 31 FF 4B -> LD SP, $4BFF) initializes the stack at the top of banked SRAM and clears both tilemap pages via $5000.
  • $4000 – $4BFF (Banked Static RAM & Dual Tilemap VRAM):
    • Writing bit 0 of latch $5000 switches the $4000–$47FF window between Foreground Tile RAM and Background Tile RAM.
  • Color PROMs (ic40_b.bin, ic41_a.bin & l06_prom.bin):
    • Uses a pair of 256-byte MMI 6301 bipolar PROMs (ic40_b.bin and ic41_a.bin) alongside the shared 32-byte l06_prom.bin (CRC: 6a0c7d87).
  • Melody & Audio Synthesis (MN6221AA + TMS36XX):
    • Instead of a dedicated Sound CPU, Phoenix triggered a Matsushita MN6221AA electronic doorbell/melody IC—which is why starting a game plays the Spanish guitar classic Romance de Amor and destroying the Mothership plays Beethoven’s Für Elise!

2. Live ROM Patching & 5-Wave Simulation in phoenix.html

In phoenix.html, you can inspect all 56 ROM files from phoenix.zip and live-patch:

  • Starting Ships (@0x04A2): 1 to 15 reserve ships (or via DIP switches SW1–SW2 at MMIO port $7800).
  • Small Swoop Bird & Giant Phoenix Scoring (@0x0B14 / @0x0C40): Adjusts BCD immediate operands (ADD A, $nn).
  • Wave 3–4 Wing Regeneration & Wave 5 Mothership: Severing the left or right plume of a Giant Phoenix awards +40 PTS before regenerating after 4.5 seconds; in Wave 5, you must blast a path through the 14×4 ablative brick grid and time your shot through the scrolling blue conveyor belt to hit the central Alien Queen (3,000 PTS).
  • Force-Field Cooldown (@0x3004) & NOP Invincibility (@0x312C): Press ↓, S, or the SHIELD button for 2.2 seconds of complete invulnerability, or toggle SW8 (0x312C: 00 00 00) for permanent shield protection.

Nichibutsu / Sega-Gremlin Moon Cresta (1980): Hardware & ROM Reference

🚀 Moon Cresta (1980) direkt starten

Boardset Reference: Nihon Bussan (Nichibutsu) / Sega-Gremlin Extended Galaxian PCB (mooncrst.zip, 82 ROM/PROM files)

1. Z80 D2 ↔ D6 Bit-Swap Encryption (mc1–mc8 vs. epr194–203)

Moon Cresta runs on an expanded Namco Galaxian Z80 bus (3.072 MHz, $9000 VRAM, $9800 column scroll & sprite attributes, and the exact same l06_prom.bin CRC: 6a0c7d87 as Frogger), doubled from 8 KB to 16 KB of program ROM ($0000–$3FFF) to hold its 3-stage docking physics and extra enemy waves.

Comparing the Nichibutsu parent ROM mc1 against the unencrypted Sega/Gremlin dump epr194 inside mooncrst.zip reveals one of the earliest hardware copy-protection schemes in arcade history:

; Sega/Gremlin Unencrypted ROM (epr194, CRC: 0e5582b1):
0000: AF           XOR  A            ; A = 0
0001: 32 00 B0     LD   ($B000), A   ; Disable NMI / VBLANK interrupt latch
0004: C3 AD 00     JP   $00AD        ; Jump to cold boot initialization

; Nichibutsu Encrypted ROM (mc1, CRC: 7d954a7a):
0000: AF           DB   $AF          ; D7 == D1 (1 == 1) -> unswapped ($AF)
0001: 76 00 B4     DB   $76,$00,$B4  ; D2 <-> D6 swapped ($32 -> $76, $B0 -> $B4)
0004: C7 A9 00     DB   $C7,$A9,$00  ; D2 <-> D6 swapped ($C3 -> $C7, $AD -> $A9)

Once the boot routine writes $01 to memory-mapped latch $A002, custom PAL/TTL logic on the Nichibutsu PCB swaps data lines D2 and D6 on the Z80 data bus whenever D7 != D1, dynamically decrypting every instruction fetch on the fly!

2. 3-Stage Modular Rocket & Retro-Thrust Docking in moon-cresta.html

In moon-cresta.html, all 82 ROM chips from mooncrst.zip are browsable alongside the full 3-stage gameplay:

  • Modular 3-Stage Spacecraft (STAGE I, STAGE II, STAGE III):
    • Stage I (Nose Cone): Compact needle fighter with a single nose laser.
    • Stage II (Mid Wing): Adds twin wing-mounted yellow laser cannons (3 simultaneous beams).
    • Stage III (Main Booster): Full 5-beam Quad/Spread Laser Volley! If hit while docked, only the outer stage detaches instead of costing a reserve life.
  • Retro-Thrust Docking Sequence (↓ / DOCK or after even waves): Align your lower stage with the descending booster module and tap FIRE / THRUST to brake its descent for up to 1,500+ PTS Docking Bonus.
  • Live Z80 Patching & DIP Switches (PORT $A800): Customize reserve rocket sets (@0x04A2), splitting Eye-Drone points (@0x0B14), Meteoroid/Flyer points (@0x0C40), Docking Bonus multiplier (@0x204B), Docking Fuel timer (@0x2801), or enable SW8 (0x182C: 00 00 00) for instant 3-Stage Quad-Laser Invincibility.