← All cores
Arcade-1945kIII (shmupfan)
Cites MAME source — 27
- Arcade-1945kIII.sv:142 keyboard, MAME default keys (ps2_key: [10] toggles per event, [9] pressed, [8] extended, [7:0] set-2 scancode).
- rtl/k3_board.sv:195 Each jt6295 output is the sum of its four channels in 12-bit units (MAME: 1/2048 of full scale per unit).
- rtl/k3_sdram.sv:12 Why banks: the program ROM is 436-470 KB of live code per set (too large for block RAM) and the 68000 runs without wait states on the real board (MAME's model, spec 4).
- rtl/k3_sys.sv:5 Spec sections are docs/k3_system_spec.md; driver lines "Lnnn" are reference/mame/1945kiii.cpp.
- rtl/k3_sys.sv:18 Bus: no wait states, as MAME's memory model and the board's EPROM decode.
- rtl/k3_sys.sv:32 Exact decodes, no mirrors (MAME maps none); unmapped reads return 0 and unmapped writes are ignored (MAME's unmap value), counted in o_dbg_unmapped: 0x000000-0x0fffff program ROM (writes ignored, counted: the games write 0x00098a-0x0009d3,
- rtl/k3_sys.sv:49 0x8c0000 RAM: MAME maps 64 KB; the games only touch 0x8c0000-0x8c0fff (a boot RAM test, m0_findings 7), so the core has 4 KB there, mirrored over the 64 KB, and counts any access above 0x8c0fff (o_dbg_ram8c_hi; zero in every run, research i
- rtl/k3_sys.sv:62 The copy takes 2,048 clocks (k3_video); MAME's is instant.
- rtl/k3_sys.sv:78 Override only for diagnostics (m2_findings 5.3: 999,900 reproduces MAME 0.288's integer-truncated 7,575 Hz OKI sample rate).
- rtl/k3_sys.sv:369 ================================================================ control byte writes carry the byte on both lanes (as the 68000 bus and MAME)
- rtl/k3_sys.sv:452 m2_findings: MAME reads 0x00Fx
- rtl/k3_video.sv:4 Spec sections cited as "spec N" are docs/k3_system_spec.md; driver lines "Lnnn" are reference/mame/1945kiii.cpp.
- rtl/k3_video.sv:22 MAME draws the whole frame at vblank (line 224/240), so it shows such a change on every line of that frame (spec 9, m0_findings 5; research item R3).
- rtl/k3_video.sv:24 Everything written in vblank, which is all but a handful of frames per game, gives MAME's frame exactly.
- rtl/k3_video.sv:32 budget-1 (857 k3, 1,030 flagrall: MAME's cycle budget, spec 8.4) against the line, one entry per clock, and queues hits whose tile has a non-zero pixel (games park unused entries on the blank tile 0, up to 827 of them on one line; a blank t
- rtl/k3_video.sv:132 Power-on phase as in MAME: the screen starts at the first vblank line and the first vblank interrupt comes one frame later (the Dooyong oracle measured this, dooyong m3/ym2203 findings).
- rtl/k3_video.sv:204 ---------------------------------------------------------------- copy The copy is a snapshot: the buffers must equal the CPU-side RAMs as they were at the copy edge, as MAME's instant copy (L305-323).
- README.md:3 The Oriental Soft / Promat SPR800E hardware (1996-2000) for MiSTer: 1945k III, Solite Spirits and '96 Flag Rally, six MAME sets from one RBF.
- README.md:54 Buttons 1 to 4, Start and Coin, as in the MAME driver (Flag Rally uses two buttons).
- README.md:59 OSD: DIP switches per set (from the MAME driver), aspect ratio, orientation for the vertical games, scandoubler options, HDMI scale (Normal, V-Integer, Narrower
- README.md:87 Where MAME and the real hardware are likely to differ, the core follows the hardware, and the difference is logged as a research item in [docs/PLAN.md](docs/PLA
- README.md:93 The core draws line by line, so the new sprites appear from the next line; MAME draws the whole frame at once.
- README.md:98 Writes land within a few pixels of MAME's; on Flag Rally the main program drifts further over time (docs/m2_findings.md, R8).
- README.md:101 **Sound.** MAME 0.288 runs the M6295 at 7,575 Hz (an integer division) instead of 7,575.76 Hz, which moves the end of one long Flag Rally music track by one fra
- README.md:107 **Continue countdown.** It is silent, as in MAME: the game sends no sound commands between the game-over phrase and the attract restart.
- README.md:117 Line renderer: one 32x32 map of 16x16 8bpp tiles with scroll, sprites with the MAME per-frame entry budget, read live as the beam draws
- README.md:155 The core relies on MAME's 1945k III driver by David Haywood and contributors.
Says it matches, follows or was checked against MAME — 3
- rtl/k3_sys.sv:9 Every enable is fractional, so the ratios match MAME exactly at any system clock that the pixel ratio divides: - pixel enable PIX_NUM / PIX_DEN of the clock: 6.75 MHz = 27 MHz / 4 (L667, L689); 1/14 at 94.5 MHz (the MiSTer clock, a whole nu
- rtl/k3_video.sv:3 Reference model: sim/oracle/k3_render.py, pixel-exact against MAME 0.288 on every M0 capture.
- README.md:83 MAME is the reference: the video was checked pixel for pixel against MAME on 7,821 frames of all six sets, each full system was booted from power-on and compare
Keeps a MAME approximation — 1
- README.md:97 **CPU timing.** fx68k runs the 68000's E-clock synchronised interrupt acknowledge, which MAME approximates.