← コア一覧
Hyprduel
実基板での測定値を記載 — 4
- rtl/hyprduel_sys.sv:400 Real-board OKI clock = 4 MHz OSC / 2 = 2.000 MHz, measured from the PCB 1cc video: announcer-voice pitch ratio 1.0532 against our previous 2.105 MHz divider => 1.999 MHz on hardware.
- rtl/hyprduel_sys.sv:423 YM level keeps the 2026-07-05 MAME stream calibration (x1.20); the OKI level is calibrated against REAL HARDWARE (PCB 1cc video line capture, 2026-07-11): title-voice peak vs title-music RMS measured 2.20 on the PCB against 5.13 with the ol
- rtl/i4220_vdp.sv:318 Frame total: MEASURED at 261 lines (60.2408 Hz with the 424-dot line at 6.6665 MHz) from two PCB recordings by three agreeing methods (docs/plan_refresh_measurement.md, ACCURACY.md 3.6); the game itself only ever programs 261 raster lines.
- rtl/i4220_vdp.sv:504 v14: the game runs TWO write disciplines (measured in sim and with the silicon write-landing histogram, 2026-07-19).
MAMEとの相違点を記載 — 2
- README.md:55 Where the core differs from MAME, and why.
- README.md:58 **Visible area.** The CRTC registers MAME ignores set the monitor's visible window.
MAMEのソースを引用 — 21
- Arcade-Hyprduel.sv:130 DIPs arrive as raw DSW port bytes on ioctl index 254 (MRA switches, default bf,ff = 0xFFBF = MAME defaults, demo sounds ON)
- Arcade-Hyprduel.sv:223 inputs (board ports are active low; MAME hyprduel.cpp:348-372) P1/P2: bit0 U, 1 D, 2 L, 3 R, 4 shot, 5 change, 6 bomb MiSTer joystick: bit0 R, 1 L, 2 D, 3 U, then J1 order from bit 4
- rtl/hyprduel_sys.sv:41 audio (signed mono mix, MAME weights: YM 0.80, OKI 0.57)
- rtl/hyprduel_sys.sv:295 The sound program never writes the YM2151 twice within 0.5 us (MAME: 6.6 us minimum), so one pending write is enough.
- rtl/hyprduel_sys.sv:333 It samples IC_n only on its phiM enable (IKAOPLL_timinggen), and opll_cen is held at 0 while crst_n is low, so the chip never saw the reset: from power-on it put out a 0.18 s decaying offset before the game's first write (MAME silent), and
- rtl/hyprduel_sys.sv:402 MAME's 2.0625 MHz is ~3% sharp and flagged unverified in their own source.
- rtl/hyprduel_sys.sv:423 YM level keeps the 2026-07-05 MAME stream calibration (x1.20); the OKI level is calibrated against REAL HARDWARE (PCB 1cc video line capture, 2026-07-11): title-voice peak vs title-music RMS measured 2.20 on the PCB against 5.13 with the ol
- rtl/hyprduel_sys.sv:427 MAME's 0.57 route gain is ~3x hot vs the real board.
- rtl/hyprduel_sys.sv:438 NOT PCB-verified: if MAME's OKI route is as far off here as on Hyper Duel (~3.5x), the board value is ~x2.8.
- rtl/hyprduel_sys.sv:462 MAME's 0.57/0.80 routing (~a=0.71) is ~11 dB quieter than the real board.
- rtl/i4220_blitter.sv:109 invalid tilemap: stay idle, no done (MAME: return, no IRQ)
- rtl/i4220_render.sv:7 Per line: three sequential tilemap passes (layer 2 -> 1 -> 0, keep the lowest priority value, later pass wins ties => lowest layer wins), then one sprite pass in list order keeping the smallest priority group per pixel (first writer wins wi
- rtl/i4220_vdp.sv:29 (MAME encodes the same fact by forcing the enable register OR 0xFD.)
- rtl/i4220_vdp.sv:331 Measured on silicon (ladder probe, 2026-07-18): the game parks a scratch accumulator in the scroll registers across vblank and its frame-top write flurry lands during line 1, by (1,h160) - later than any simulation shows, because the SDRAM-
- rtl/i4220_vdp.sv:345 A real monitor therefore shows chip lines 2..225; lines 0/1 are a hidden work area (the scratch accumulator and the boss-zone outlier live there), which is why a PCB's top of screen is clean while MAME - which latches these registers but ig
- README.md:11 There is no datasheet for the chip, so it was built against MAME and then checked against photos and recordings of real boards.
- README.md:29 Shows the same 224 lines as a real cabinet, so the top-of-screen glitch seen in MAME is gone
- README.md:61 Reported to MAME in [mamedev/mame#15732](https://github.com/mamedev/mame/issues/15732).
- README.md:66 **OKI sample clock.** 2.000 MHz (the 4 MHz crystal halved), about 3% lower than MAME's unverified value.
- README.md:69 MAME misses around 14%, which shows as stepped parallax.
- README.md:108 The I4220 work relies on MAME's Imagetek driver by Luca Elia, David Haywood, Angelo Salese and others.
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 6
- Arcade-Hyprduel.sv:239 SERVICE port: bit15 service mode (low = on), bit14 Show Warning off SERVICE port: bit15 = Service Mode (1 = off), bit14 = Show Warning (0 = show, matching MAME's default and the unmodified PCB line; our old constant FFFF silently skipped th
- rtl/hyprduel_sys.sv:433 magerror: x9.90 = MAME 0.288 PARITY, measured 2026-09-27 (docs/magerror_audio_fix.md): over 6.9 s of attract music with an identical 2930-write YM stream, MAME's YM2413 stream is 7.03x the IKAOPLL ACC and MAME's OKI stream is 2.13x our pre-
- rtl/i4220_blitter.sv:4 Semantics verified against the MAME-port oracle (sim/oracle/i4220_blitter_oracle.py) by sim/tb/tb_blitter.sv.
- rtl/i4220_blitter.sv:17 A start with an invalid destination tilemap returns to idle without o_done, matching MAME.
- rtl/i4220_render.sv:5 Semantics as verified against the M1 oracle and real MAME frame dumps.
- rtl/i4220_vdp.sv:76 Video timing: 0 = measured 261-line frame (60.2408 Hz, hardware -verified), 1 = legacy MAME 262-line frame (60.011 Hz) for displays that reject 60.24 Hz in sync-locked HDMI modes.
MAMEの近似をそのまま採用 — 2
- rtl/hyprduel_sys.sv:8 MAME's inter-CPU spin hacks are deliberately NOT modelled; shared RAM is true dual-port.
- rtl/i4220_vdp.sv:321 i_compat60 selects the legacy MAME-assumed 262-line frame (60.011 Hz) for displays that reject 60.24 Hz in sync-locked HDMI modes.