← コア一覧
Escape
MAMEのドライバにない実基板の資料を引用 — 15
- rtl/core/escape_core.vhd:106 Both schematic packages (SP-332 rev D and TM-336 rev E of the same drawing) draw "U68010" at 45J/20P, and the assembly drawing calls out house number 137414-002 - one BOM line, either chip.
- rtl/core/escape_core.vhd:763 Both schematic packages draw "U68010" (sheet 4 designator 45J "VCPU"; sheet 5 designator 20P "ECPU"); the assembly drawing's house number 137414-002 covers either chip.
- rtl/core/escape_core.vhd:771 (2026-10 correction: an earlier version of this comment tied the part to the cabinet type; README.md "CPU type" retracts that.) (The old comment here claimed "real boards carry 68000s" as against the schematic.
- rtl/core/escape_core.vhd:801 Same part as the video CPU on both variants (schematic 20P "ECPU"), and run in the same mode - see the video CPU comment above.
- rtl/core/escape_core.vhd:838 autovector: assert VPA during interrupt acknowledge (FC=111), per schematic 60L/55L
- rtl/core/escape_core.vhd:1177 On the real part that works because /AS stays asserted across the whole read-modify-write - M68000UM Rev 9 section 5.1.3 p.53, "The address strobe (AS) remains asserted throughout the entire cycle, making the cycle indivisible" - and the bo
- rtl/core/escape_decode.vhd:2 Original RTL derived from the authoritative memory map (schematic SP-332, sheet 16; see docs/ARCHITECTURE.md).
- rtl/core/escape_decode.vhd:14 GUTS-166: 0 = Escape / Klax video block at 3Fxxxx (SP-332 sheet 16); 1 = Guts n' Glory's block at FFxxxx (MAME eprom.cpp guts_map): the same RAMs at the same sizes, ext/palette RAM at the bottom instead of the top.
- rtl/core/escape_jsa.vhd:421 v63: WRIO (bank/YAMRES/squeak/TMS strobes) and MIX live in LS273s cleared only by /POR on the real board (SP-332 sheets 12/13) - they survive a 68k sound reset
- rtl/core/escape_jsa.vhd:599 LANE4b: 2A00 write latches the byte onto the chip's data bus (the 74LS374 on the real board); the firmware's WRIO writes strobe WS.
- rtl/core/escape_mob.v:122 MOPAIR-131: each line buffer is TWO banks, even and odd screen columns, written in the same clock - which is what the REAL BOARD does: sheet 9 of SP-332 shows the line buffer as a PAIR of LB customs (92U/85U) handling MOL0/1 and MOR0/1 with
- rtl/core/escape_mob.v:348 This is the structure the real board has: Escape's PAL16L8 at 70J drives a dedicated /LINK memory slot (SP-332 sheet 7), so list walking never competes with the pixel pipeline.
- README.md:19 The dual-CPU program boots and runs on two genuinely concurrent 68010s with shared RAM and the mailbox handshake, as the board does (68000 selectable — the dedi
- README.md:64 **Authentic (schematic-verified):** clock frequencies (7.159 MHz CPUs, true pixel clock, all clocks derived from the board's 14.318 MHz colorburst family); rast
- README.md:74 **Approximate:** per-instruction CPU cycle counts (TG68K is instruction-accurate, not cycle-exact); bus-cycle timing off-ROM (the original gave every subsystem
MAMEのドライバにもある実基板の情報・測定値を引用 — 1
実基板で確認したと記載 — 1
- README.md:58 MAME is the secondary reference for Escape and the only reference for the Klax and Guts prototypes; comparing against a real Escape board, this project found an
「実機」で確認したと記載 — 1
- README.md:87 **Animation cadence**: the walk cycle advances every **8 frames**, locked against real-cabinet captures.
MAMEのソースを引用 — 81
- rtl/core/TMS5220.vhd:14 This copy is vendored from third_party/Arcade-Atari-system1_MiSTer (GPL-3, (c) 2020 d18c7db) with the LANE3z lattice-filter fix: MAME-faithful matrix_multiply wrap semantics (see MM function), widened u/x accumulators, and output saturation
- rtl/core/TMS5220.vhd:19 References: TMS5220 datasheet, US Patent US4335277 and TMS5220.cpp from MAME source code.
- rtl/core/TMS5220.vhd:81 MAME's lattice keeps u/x in int32 and wraps them to 15 bits only at the multiplier input (matrix_multiply: a wraps to 10 bits, b to 15 bits); the 13-bit ranges overflowed on loud speech (Escape announcer, energy 14-15) - GHDL bound crash in
- rtl/core/TMS5220.vhd:241 LANE3z: MAME tms5220.cpp matrix_multiply, faithful wrap semantics: coefficient wraps to 10-bit two's complement, sample to 15-bit, then signed product >> 9.
- rtl/core/escape_core.vhd:112 MAME's eprom driver models a 68000.
- rtl/core/escape_core.vhd:146 KLAX-165: 0 = the second 68000 socket is unpopulated (Klax prototypes, Guts n' Glory: MAME klaxp/guts have no "extra" device).
- rtl/core/escape_core.vhd:150 The 360011 latch keeps its intensity / video-off bits - they drive the video circuit on the board whether or not the socket is filled (MAME drops the whole write when m_extra is absent; the reset value is full brightness either way, so the
- rtl/core/escape_core.vhd:198 Fetches in range are served zero-wait through the proven BRAM dtack path - restoring the real board's ~4-cycle fetch budget the game's frame architecture assumes (MAME fetches in zero time; SDRAM cost 15-25 cycles and starved the main loop
- rtl/core/escape_core.vhd:211 Byte-wide because the real part is: MAME maps it umask16(0x00ff), so only the LOW byte of each word is EEPROM.
- rtl/core/escape_core.vhd:228 KLAX-165: digital joystick on the upper nibble, D15 up, D14 down, D13 left, D12 right, active low on the bus (MAME klaxp 260000/ 260010).
- rtl/core/escape_core.vhd:241 Channel order per MAME eprom: IN0 = P1 Y, IN1 = P1 X, IN2 = P2 Y, IN3 = P2 X. X axes arrive pre-reversed (0x00 = full right), Y normal (0x00 = full up) — the harness wiring, not something we invert here.
- rtl/core/escape_core.vhd:253 Wired to the wrappers' Start, but NO game reads it (STARTHIDE-179, traced in MAME 0.289): the self-test error loop's 0x776 btst #0,$260000 is a BYTE read of the even address, so it tests D8 (Jump), not D0.
- rtl/core/escape_core.vhd:256 MAME marks D0 unused; the machine has no Start button.
- rtl/core/escape_core.vhd:355 Direct speed meter against the MAME reference - answers "are the processors actually at speed?"
- rtl/core/escape_core.vhd:362 docs/investigations/PERF_CADENCE.md measures the original in the units that matter - LOGIC UPDATES PER VIDEO FRAME, 0.9977 video / 0.9999 world in MAME - by tapping the two re-entrancy flags each ISR writes: $50 to $16CCD4 (main/video) and
- rtl/core/escape_core.vhd:366 These count the $50 writes over 256 video frames, so 0100 hex IS 1.0000 updates/frame and the number is directly comparable to MAME's without assuming anything about clocks, bus cycles or wait states.
- rtl/core/escape_core.vhd:382 The attract wipe covers the old scene with alpha tiles (~380 wr/frame in MAME); the stalled red panel on device is either those writes missing (game-logic divergence) or written-but-not-rendered.
- rtl/core/escape_core.vhd:453 watchdog: game strobes 2E0000 (MAME eprom.cpp truth); if no strobe for 64 vblanks (~1.07s, authentic recover-by-reboot) this pulses high once
- rtl/core/escape_core.vhd:490 v83: pending scroll (written any time) vs applied scroll (latched at frame start) - MAME eprom scanline_update applies alpha 780/781 only at scanline 0; instant application tore animated-scroll screens
- rtl/core/escape_core.vhd:501 Klax has no ADC0809: reads FF (MAME adc_r)
- rtl/core/escape_core.vhd:566 Set 2 (MAME eprom2) carries one more pair, 136069-1037.50e / 1036.40e, at CPU 0x80000-0x9FFFF - the same window the image gives to the EXTRA CPU's own program.
- rtl/core/escape_core.vhd:571 Set 2's POST reads the whole window once at boot (its ROM checksum, PC 0x93C/0x93E in MAME), so without this remap set 2 fails self-test.
- rtl/core/escape_core.vhd:633 LANE4n gameplay shadows: MAME PC profile of demo gameplay showed 85% of MAIN-CPU time at 0x40000-0x57FFF (page 0x4E000 alone = 51%) and 21% of EXTRA time at 0xF000 - all outside the v58 shadows = the gameplay slowdown (audio at 100% proved
- rtl/core/escape_core.vhd:769 MAME's eprom driver models M68000.
- rtl/core/escape_core.vhd:770 So the schematic and MAME never actually contradicted each other.
- rtl/core/escape_core.vhd:1374 The watch arms on each video-CPU 5A5A command post-boot and clears on the extra's 4321 ack; ~4.7s unanswered (MAME warm ack: instant; 10x margin) latches mbox_dead.
- rtl/core/escape_core.vhd:1417 Compare against MAME's cycles/frame for ground truth.
- rtl/core/escape_core.vhd:1634 MOSDRAM-72: MAME miss-profiles (attract incl.
- rtl/core/escape_core.vhd:2126 MAME's extra_map has video_int_ack_w at 360000 and clearing is shared: EITHER CPU's write drops IRQ4 for both.
- rtl/core/escape_core.vhd:2172 LANE4j: EXACT register widths (MAME eprom.cpp truth).
- rtl/core/escape_core.vhd:2173 The old 16-byte-wide windows were THE mid-game restart bug: MAME maps the run latch at the single byte 360011; our whole-window decode let game writes to unmapped 360012-1F stop the extra CPU (restart count 16 by mid-game on '58' vs MAME's
- rtl/core/escape_core.vhd:2229 A read of 260020+2n returns the last completed conversion in the low byte, then latches channel n (A2..A1) and starts a new one (the read strobe doubles as ALE/START; behavioral reference: MAME eprom adc_r = data_r + address_offset_start_w)
- rtl/core/escape_core.vhd:2281 -------------------------------------------------------------- JSA-I sound board link strobes: level-per-bus-cycle is safe (data stable across the cycle; escape_jsa's full/NMI logic is edge-derived internally) LANE4j: exact widths here too
- rtl/core/escape_core.vhd:2361 v61 coin-chain probes: count 68k response reads (frozen while resp_full is up = the game stopped listening to the JSA), latch the last response byte, count raw coin-line edges, and snoop the game's own credit counter (work-RAM byte $3F7F55,
- rtl/core/escape_core.vhd:2389 LANE3r engine-state probes (MAME attract study): the actor table head word 3F5000 is 0x12xx-patterned when the demo/game engine has spawned actors, 0000 on art pages; mode bytes 3F7F16 (60 art / 54 demo) and 3F7F23 (18 art / 2a demo).
- rtl/core/escape_core.vhd:2470 LANE3q: the EXTRA CPU's IO reads were never decoded - every read of 260000/260010/ADC/SCOM returned 0x0000 (MAME's extra_map maps them all).
- rtl/core/escape_decode.vhd:14 GUTS-166: 0 = Escape / Klax video block at 3Fxxxx (SP-332 sheet 16); 1 = Guts n' Glory's block at FFxxxx (MAME eprom.cpp guts_map): the same RAMs at the same sizes, ext/palette RAM at the bottom instead of the top.
- rtl/core/escape_jsa.vhd:3 Re-implemented from the behavior documented in reference/atarijsa.cpp (MAME, BSD-3-Clause) — no code copied.
- rtl/core/escape_jsa.vhd:171 TMS5220 (LANE3u: the real chip - d18c7db's MAME-faithful core from the System 1 tree; Speak External mode is exactly what JSA firmware uses).
- rtl/core/escape_jsa.vhd:182 MAME 6502-bus trace (mix_trace.lua) proved the firmware strobes WS through the WRIO latch on EVERY byte (2A04=07 -> 2A00=data -> 2A04=05), exactly the real board's LS273 wiring and the donor CART.vhd hookup.
- rtl/core/escape_jsa.vhd:278 -------------------------------------------------------------- 6502 + reset snd_res (68k 360020) pulses a short internal reset, MAME sound_reset_w
- rtl/core/escape_jsa.vhd:457 LANE3v: a 2A00 write IS a complete TMS byte transfer (MAME data_w semantics).
- rtl/core/escape_jsa.vhd:515 D7 self-test (MAME nets 0 in normal play)
- rtl/core/escape_jsa.vhd:521 D4: JSA-I the TMS5220's own READY; JSA-II reads 0 (MAME jsa_ii_ioports: unused)
- rtl/core/escape_jsa.vhd:522 The schematic doc calls these "+5V", but the JSA harness wires 0x04 as a third coin input (MAME JSAI port: Coin 3, IP_ACTIVE_HIGH; measured idle 2804 = 0x50/0x40, D3:2 = 00).
- rtl/core/escape_jsa.vhd:529 D1:0 coins ACTIVE HIGH (MAME JSAI: IP_ACTIVE_HIGH; measured: idle 0, held coin reads 1)
- rtl/core/escape_jsa.vhd:731 JSA-II: OKI route 0.75 (MAME) x MIX D0 (1.0 / 0.5) = 192 / 96, through the same user slider as the TMS on JSA-I
- rtl/core/escape_mob.v:3 During each scanline, builds the NEXT line into a line buffer: SLIP[band] -> linked list of 4-word entries (link*4 layout) -> per-tile chunky gfx fetches via the shared video SDRAM channel -> first-write-wins pixels (equivalent to MAME's re
- rtl/core/escape_mob.v:72 GUTS-168: Guts n' Glory's MO list (MAME s_guts_mob_config, proven offline on twelve frames - KLAX_GUTS.md 4c): height is w3[3:0] (Escape: w3[2:0]), hflip is w1[15] (Escape: w3[3]), and the list renders FORWARD, i.e. a later entry paints ove
- rtl/core/escape_mob.v:223 MAME's screen_update `continue`s on mopriority & 4 BEFORE computing SHADE, so MAME never dims them and this core inherited that; the owner's PCB capture dims them.
- rtl/core/escape_mob.v:457 That is checked, not argued: sim/tools/mob_order_check.py diffs the per-line sprite load sequence against the depth-1 engine's (the shorter run must be an exact prefix of the longer) and sim/tools/mob_vs_mame.py scores the rendered layer ag
- rtl/core/escape_mob.v:643 v80: MAME atarimo ground truth - the entry Y field is NEGATED and offset by the sprite height: top = -yfield - (height+1)*8.
- rtl/core/escape_mob.v:924 The old "+2" made every sprite land one scanline too high; cross-correlating the engine's output against MAME's showed a clean (dx=0, dy=+1) peak covering 88% of the matched pixels.
- rtl/core/escape_mob.v:1141 MOPRI-1: eprom MO config, "mask for the priority" = 0x0070 in word 2 (reference/eprom.cpp s_mob_config).
- rtl/core/escape_mob.v:1222 eprom's MO config sets "render in reverse order" (reference/eprom.cpp s_mob_config), so atarimo draws the linked list from its TAIL back to its HEAD - the head entry is painted last and therefore wins every pixel it touches.
- rtl/core/escape_prio.v:4 Purely combinational; replaces the old fixed "MO always in front of PF" ladder in core_top.v. Transcribed from the GAL equations verified off the real PCB and quoted in reference/eprom.cpp (screen_update_eprom):
- rtl/core/escape_prio.v:21 Signal mapping into this core's pixel pipeline (derived from MAME's tile-info + pen construction for eprom - see docs/investigations/mo_priority.md):
- rtl/core/escape_prio.v:24 MPR2:MPR0 motion-object entry word 2 bits [6:4] (config mask 0x0070) MPX7:MPX4 motion-object colour = mo_pen[7:4] MPX3:MPX0 motion-object pixel = mo_pen[3:0] PFX5:PFX4 playfield priority = low two bits of the playfield tile colo
- rtl/core/escape_prio.v:62 GUTS-168: Guts n' Glory's comparator (MAME screen_update_guts, the only reference for that prototype): MO drawn iff !PFX3 or mopriority >= pfpriority with pfpriority = (pf >> 5) & 3 = pf_color[2:1]; no FORCEMC0 / SHADE / M7 terms, no altern
- rtl/core/escape_prio.v:119 MAME's screen_update ORs 0x080 into the playfield pen on M7 ("the upper MO bit fed to the GPC") and this comparator transcribed it.
- rtl/core/escape_stain.v:15 The reference (reference/atarimo.cpp, apply_stain) is:
- rtl/core/escape_stain.v:24 restarted at every marker pixel by eprom.cpp's second iterate_dirty_rects pass.
- rtl/core/hall_stick.v:7 X axes are reversed on the real harness (full right = 0x00, per MAME's PORT_REVERSE on ADC1/ADC3), so targets are pre-reversed here; escape_core's ADC model digitizes exactly what it is handed.
- rtl/escape_mister.v:274 MAME declares this region ROMREGION_INVERT, so every byte is complemented first; then plane bits are gathered into 4-bit pixels, two per output byte, plane0 = MSB.
- rtl/escape_mister.v:713 PF has the only hard realtime deadline in the system, and its demand is bounded (two fetches per 8-px cell), so the CPUs wait at most ~two reads - the attract-cycle benchmark has the game running slightly FASTER than MAME, so that headroom
- rtl/escape_mister.v:954 column-major map scan (MAME SCAN_COLS semantics)
- rtl/escape_mister.v:1361 GAMESEL-167: the four physical buttons (MRA order 1..4 = the Escape names jump/fire/duck/bomb) land on CD11..CD8 per game, from MAME eprom.cpp: Escape D8 jump, D9 fire, D11 duck; Bomb presses all three (the combo) Klax D8 = Flip/Start (
- rtl/escape_mister.v:1364 KLAXBTN-174: MAME's klaxp port lists Button 1..4 on D8..D11, but the program (traced in MAME) acts on D8 alone, so D9..D11 stay released.
- rtl/escape_mister.v:1408 Both schematic sets specify U68010 and the owner's board is a photographed MC68010P8; CPU_TYPE 0 is the 68000 that MAME models.
- README.md:10 A MiSTer (DE10-Nano) port of the [Atari Dual 68k](https://github.com/spoonelli/Atari-Dual-68k) core, implementing Atari Games' 1989 arcade release (MAME set `ep
- README.md:64 **Authentic (schematic-verified):** clock frequencies (7.159 MHz CPUs, true pixel clock, all clocks derived from the board's 14.318 MHz colorburst family); rast
- README.md:84 **Frame-level pacing**: attract-loop period accuracy exceeding **99.6%** against MAME, story-panel timers in exact lockstep — and the residual is MAME slowing *
- README.md:89 **Slowdown character**: in heavy crowds the game software slows on every platform; a MAME longplay spends ~1.5x more of its crowd time slowed than this core — c
- README.md:93 **This port specifically**: crowd-scene scroll-velocity distributions measured identical to the Analogue Pocket release, with zero sub-half-speed dips where MAM
- README.md:96 **Pixels**: motion-object output replays MAME scene dumps at **100.0000% agreement and coverage** on crowd, door, spawn-flash and factory-map fixtures.
- README.md:98 The factory map's halftone shading is the one place the core now departs from MAME on purpose: it follows the real board, checked against a capture from an orig
- README.md:129 Atari's unreleased Guts n' Glory (MAME `guts`): same board, JSA-II sound, its own video map.
- README.md:147 MiSTer finds every chip by CRC, so split and merged MAME sets both work.
- README.md:181 **Prototypes:** Klax has an 8-way stick and one function, **Flip/Start**, which starts or joins a game and drops tiles, on two buttons: **Flip/Start** and **Fli
- README.md:185 Guts n' Glory uses the analogue stick and three buttons in MAME's order; Button 2 is the one its own switch test calls "Left START".
- README.md:262 **The factory map now matches the original board:** travelled routes dim instead of staying bright as in MAME, matched against a capture of the original PCB.
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 3
- rtl/core/escape_mob.v:226 Guts n' Glory's only reference is MAME's screen_update_guts, which skips EVERY special object, and the offline proof (KLAX_GUTS.md 4c) matched MAME with that rule - so in Guts mode no special pixel reaches the comparator.
- rtl/core/escape_prio.v:65 Proven pixel-exact offline on twelve MAME frames (KLAX_GUTS.md 4c).
- README.md:47 | Video: alpha / playfield / motion objects, IRGB palette + intensity | ✅ pixel-verified vs MAME scene replay; the factory map's halftone follows the real board
MAMEから移植・書き写した、または取り入れたと記載 — 1
- rtl/core/TMS5220.vhd:21 IMPORTANT NOTES: 1) This implementation does NOT implement the schematic in US4335277 2) It is based primarily on MAME source code and aims to be "functionally equivalent" to the "TMS5220" chip but not identical in terms of electrical circu
MAMEドライバと同じ文言を含む(出典の明記なし) — 4