← コア一覧
Psikyo
実基板で確認したと記載 — 1
- rtl/cpu/maincpu.sv:232 ---- 16 MHz CPU clock enable ---- The real SH201B/KA302C board clocks the 68EC020 at 32MHz/2 = 16 MHz (MAME psikyo.cpp sngkace(), "verified on pcb").
「実機」で確認したと記載 — 1
- Psikyo.sv:519 FM timers drive music tempo -- with the IRQ disabled samuraia plays no music at all (verified by ear on hardware).
MAMEとの相違点を記載 — 2
- rtl/cpu/s1945_mcu.sv:3 The real chip is a PIC16C57, but MAME never executes it (`PIC16C57(...).set_disable()`); psikyo.cpp instead simulates the protection as ~9 bytes of state plus a command decoder (`s1945_mcu_*`), and this module is a direct translation of tha
- rtl/psikyo_core.sv:1249 MAME's boot never executes any of the loop's addresses, so this is a fault path, not game logic.
MAMEのソースを引用 — 91
- Psikyo.sv:29 Input port bit layout is taken from psikyo.cpp's INPUT_PORTS: sngkace has a separate COIN port, gunbird/btlkroad fold coin/service/z80-nmi into the P1_P2 low byte instead.
- Psikyo.sv:70 Every Psikyo board is mono (psikyo.cpp routes both chips' ALL_OUTPUTS to a single "mono" speaker), but the OPL4's PCM channels are panned, so the OSD's Stereo Mix defaults to mono: status 0 Mono (AUDIO_MIX 3), 1 None (0), 2 25% (1), 3 50% (
- Psikyo.sv:285 ce_pix: exact 1-in-12 divide of clk_sys down to 7.159091 MHz, matching psikyo_v.cpp's real 14.31818MHz/2 screen clock exactly (see pll_0002.v's header for why 85.909091/12 lands on this exactly, not approximately).
- Psikyo.sv:326 bit 1: samuraia/samuraiak/sngkace/sngkacea's ADPCM-A ROM needs MAME's init_sngkace() bit 6/7 swap applied at download time -- gunbird/btlkroad do not, despite sharing the same sound hardware (mod_board bit 0 alone can't distinguish them: bt
- Psikyo.sv:360 Confirmed against psikyo.cpp's sngkace_input_r()/INPUT_PORTS_START (docs/ROADMAP.md's own "Progress" cites the exact fetch), not assumed: P1P2 is a 32-bit port with P2 in bits 23:16 and P1 in bits 31:24 (each laid out UP,DOWN,RIGHT,LEFT,B1,
- Psikyo.sv:371 The LOW half differs: sngkace leaves it unused and puts coin/service/z80-nmi in the separate COIN port at $C00008, while gunbird/btlkroad have no COIN port and fold those same bits into this port's low byte instead (psikyo.cpp INPUT_PORTS):
- Psikyo.sv:377 Bits 15:8 are where Battle K-Road's buttons 4-6 live -- it is a 6-button fighter sharing gunbird's board and memory map, and MAME's btlkroad PORT_MODIFY("P1_P2") puts them in this port's HIGH byte (checked against psikyo.cpp, not assumed):
- Psikyo.sv:429 MAME's psikyo DSW port (psikyo.cpp, PORT_START("DSW") /* c00004 -> c00007 */) puts every DIP in the UPPER half of that long and leaves the lower half unused: PORT_BIT( 0x0000ffff, IP_ACTIVE_LOW, IPT_UNUSED ) 0x00010000 Flip Screen 0x00
- Psikyo.sv:483 Freeze the 68020 so a frame can be captured and compared against a MAME dump of the same moment.
- Psikyo.sv:518 MAME wires ymsnd.irq_handler() to the audiocpu.
- Psikyo.sv:529 MAME's memory map calls the sprites "buffered by two frames (list buffered + fb buffered)": the list buffer is spriteram_dbuf's snapshot, and this is the fb half.
- Psikyo.sv:596 COIN port (sngkace-only): COIN1 = bit16, COIN2 = bit17, both IP_ACTIVE_LOW; bit23 is MAME's z80_nmi_r() (IP_ACTIVE_HIGH, not inverted) -- rtl/psikyo_top.sv's own nmi_pending output mirrors that exact status (see rtl/sound/sound_cpu_sngkace.
- Psikyo.sv:605 In MAME the equivalent read returns 0 almost immediately (the poll loop exits after a handful of iterations), so a constant 0 is the MAME-matching behaviour and costs no waiting.
- Psikyo.sv:609 vblank_wait_en (OSD bit 53) selects: 0 = constant 0 (MAME-like, default), 1 = ~vblank (the previous behaviour).
- Psikyo.sv:619 which MAME executes too, but MAME's falls through to 00044A and then copies 0x800 longs from $fffee000 to $400000 -- a sprite-RAM DMA, which is exactly the thing you time to vertical blanking.
- Psikyo.sv:624 Inferred from the code's behaviour and MAME's execution path rather than read out of psikyo.cpp's INPUT_PORTS (not available locally), so treat the exact bit position as verified-by-experiment, not by source.
- rtl/cpu/maincpu.sv:57 Requesting level 4 (Psikyo's vblank IRQ, `irq4_line_hold` in MAME) means driving IPL=3'b011 (NOT 3'b100).
- rtl/cpu/maincpu.sv:193 Gates the 16 MHz clock enable, so the 68020 simply stops stepping; video timing and the debug overlay keep running, which is what makes a frame comparable against a MAME dump.
- rtl/cpu/maincpu.sv:232 ---- 16 MHz CPU clock enable ---- The real SH201B/KA302C board clocks the 68EC020 at 32MHz/2 = 16 MHz (MAME psikyo.cpp sngkace(), "verified on pcb").
- rtl/cpu/maincpu.sv:311 psikyo.cpp maps 0xc00000-0xc0000b to the input reader for sngkace and gunbird alike -- three longs: P1_P2, DSW, COIN.
- rtl/cpu/maincpu.sv:326 An exact compare only fires for a move.b addressed at 0xC00013 itself; a move.w to 0xC00012 or a move.l to 0xC00010 (whose second word beat is 0xC00012 with the command byte on the low lane -- byte-lane dispatch MAME's address map performs
- rtl/cpu/maincpu.sv:410 ---- read mux (BRAM + input ports; ROM comes via rom_data) ---- SH404 overrides (each replaces only the bits MAME's s1945 handlers own -- docs/phase2_sh404.md "Bit polarity" for why every bit here is deliberate): - P1_P2 low word bit 2: the
- rtl/cpu/maincpu.sv:521 SH404 MCU register writes, byte-lane addressed exactly like MAME's byte handlers: a word write to 0xC00006 hits data (UDS) and bctrl (LDS) in the same cycle, each from its own lane.
- rtl/cpu/s1945_mcu.sv:13 The index is 8-bit into a zero-filled 256-byte array, exactly like MAME's `static const u8 table[256]` with 44 initializers -- unwritten entries read 0.
- rtl/cpu/s1945_mcu.sv:39 MAME sets the latching bit AFTER returning the data ("the read consumes it").
- rtl/cpu/s1945_mcu.sv:58 ---- state (reset values = MAME machine_start init) ----
- rtl/cpu/s1945_mcu.sv:103 MAME: switch (data | (direction ?
- rtl/cpu/s1945_mcu.sv:126 unhandled commands are ignored, as in MAME
- rtl/memory/gfxrom_byte_reorder.sv:13 This module is the seam between two self-consistent but OPPOSITE byte-order conventions: sdram.sv's is ordinary ascending-address-ascending-bit-position, matching standard little-endian ROM/CPU word semantics (and correct as-is for rtl/memo
- rtl/memory/gfxrom_byte_reorder.sv:20 Neither side is wrong on its own, so the reorder belongs here, not in sdram.sv (correct for general ROM access) or in tilemap_line_engine.sv/sprite_render_engine.sv (correct against MAME's real tile format, and independently unit-tested tha
- rtl/memory/psikyo_sdram_top.sv:123 SH201B (samuraia/sngkace) has no separate delta-T ROM -- MAME's YM2610 serves the deltat channel from the adpcma image, so the caller keeps bit 20 low and the samuraia/sngkace bit 6/7 download swap covers B automatically.
- rtl/memory/rom_loader.sv:76 Per BYTE, and only inside the 1MB ADPCM-A window -- a ROM-mastering artifact of the individual sample bytes (MAME's init_sngkace).
- rtl/psikyo_core.sv:17 ---- Sprite pipeline per-frame sequencing (the one genuinely new piece of control logic this module adds, not just wiring) ---- Per-scanline sprites, sequenced to psikyo_v.cpp's screen_vblank(): at frame_start, sprite_line_list rebuilds its
- rtl/psikyo_core.sv:121 Freeze the main CPU, so a frame can be captured and compared against a MAME dump of the same moment without the game advancing underneath it.
- rtl/psikyo_core.sv:170 ---- Flip Screen DIP (SW2:1, DSW bit 16, active low) ---- Wired straight to the video hardware: psikyo_v.cpp's flip_screen_set is "hardwired to a DSW bit", and the games do not react to it themselves -- a MAME capture of every set with the
- rtl/psikyo_core.sv:331 Indexing by {vcnt[3:0],hcnt[7:0]} puts all 4096 words of both layers into 32 scanlines, so one screenshot carries the complete tilemap RAM for comparison against a MAME dump.
- rtl/psikyo_core.sv:367 Precise on the first try when the target address+value are already known (e.g. from a MAME investigation), and immune to any timing jitter in the boot sequence, because it fires on the semantic event itself rather than a fixed offset.
- rtl/psikyo_core.sv:529 Reads the CPU-VISIBLE buffer (the one spriteram_dbuf's cpu_addr/cpu_rdata port serves, i.e. the SAME buffer MAME's own debugger/memory viewer shows -- not the render engine's snapshot copy) so a probed value is directly comparable to a MAME
- rtl/psikyo_core.sv:728 BOARD_GUNBIRD selects gunbird/btlkroad, which are exactly the Phase 1 boards with MAME's m_ka302c_banking (s1945n is the third, Phase 2).
- rtl/psikyo_core.sv:762 Ruled out as a MAME register-level offset: psikyo_v.cpp's video_start() calls tilemap_create with no set_scrolldx/set_scrolldy at all, and get_tile_info<Layer> applies m_vram[Layer] directly with no per-layer adjustment.
- rtl/psikyo_core.sv:967 ---- sprite pipeline sequencing ---- MAME's screen_vblank() (psikyo_v.cpp) runs get_sprites() and THEN m_spriteram->copy().
- rtl/psikyo_core.sv:969 Here: at frame_start, sprite_line_list rebuilds the compact per-line table FROM the snapshot (the get_sprites step), and build_done triggers the snapshot refresh (the copy step) -- the capture lands at the frame boundary, MAME's instant, an
- rtl/psikyo_core.sv:1202 backdrop_black is MAME's m_palette->black_pen() screen-clear fallback (see compositor.sv): no palette entry can stand in for it here, so it rides alongside sprite_sel and forces black at this mux.
- rtl/psikyo_core.sv:1206 A sprite still paints over it: MAME fills the bitmap first and draws sprites afterwards, and primask entry 0x00/0xFC/0xFE all leave bit 0 clear, so a sprite over bare backdrop wins.
- rtl/psikyo_top.sv:92 Mirrors MAME's psikyo_state::z80_nmi_r() -- see rtl/sound/sound_cpu.sv's own comment for the full derivation.
- rtl/psikyo_top.sv:335 ---- YM2610 (jt10) ---- 8 MHz on both boards: sngkace XTAL(32MHz)/4, gunbird 16MHz/2 (psikyo.cpp machine configs).
- rtl/psikyo_top.sv:432 Address bit 20 selects the delta-T ROM: KA302C boards (gunbird/btlkroad/s1945n) have their OWN delta-T image (u64) at +0x100000 in the sample region, while SH201B (samuraia/sngkace) has none and MAME's YM2610 serves deltat from the adpcma i
- rtl/video/compositor.sv:8 The screen-clear/backdrop rule follows MAME PR 16050, "psikyo.cpp: Fix background colour", which replaced screen_update()'s dead `layers_ctrl` branch (a local hardcoded to -1, so only its first arm ever ran and the clear always came from la
- rtl/video/compositor.sv:64 MAME's screen clear falls back to m_palette->black_pen() when neither layer offers a clear colour.
- rtl/video/compositor.sv:89 {0x00, 0xFC, 0xFE, 0xFF} -- table per the author of MAME's Psikyo renderer (published psikyo_v.cpp reads {0,fc,ff,ff}; fe for field 2 makes it visible over backdrop where ff never draws).
- rtl/video/compositor.sv:93 The mask is BIT-INDEXED by the destination priority value, exactly MAME's pdrawgfx convention: the sprite pixel is BLOCKED when primask[priority_val] is set.
- rtl/video/compositor.sv:134 ---- backdrop / screen clear ---- MAME PR 16050 replaced the old dead-code `layers_ctrl` chain with:
- rtl/video/compositor.sv:170 Confirmed 2026-09-05 by the author of PR 16050, who also wrote MAME's Psikyo renderer: 0x400 is intentional, and this core follows MAME rather than the inference above.
- rtl/video/sprite_display_list_walker.sv:54 It was tried -- scan for the terminator, then emit from the last entry down to 0, on the reading that psikyo_v.cpp's `while (...) { sprite_ptr--; }` puts entry 0 on top.
- rtl/video/sprite_line_list.sv:31 Ordering contract with spriteram_dbuf: build_done is the "get_sprites() finished with the buffer" moment -- psikyo_core triggers the snapshot refresh from it, preserving psikyo_v.cpp's get_sprites()-then-copy() generation ordering with the
- rtl/video/sprite_pos_transform.sv:1 Applies the position offset correction and zoom-factor transform that get_sprites() does between decoding the raw record and iterating sub-tiles (psikyo_v.cpp:235-239):
- rtl/video/sprite_pos_transform.sv:17 flip_screen (the DIP-controlled screen flip, psikyo_v.cpp:241-247) is not handled here: the core renders the mirrored source line and reads the line buffer right to left instead (psikyo_core.sv's flip_screen), which flips sprites and tilema
- rtl/video/sprite_record_decode.sv:1 Decodes one raw 8-byte spriteram attribute record (4 x 16-bit words) into its constituent fields, per get_sprites() (psikyo_v.cpp:185-235, BEFORE the zoom-transform/position-offset math those fields feed into -- see sprite_pos_transform for
- rtl/video/sprite_record_fetch.sv:3 Record layout (docs/phase1_memory_map.md, psikyo_v.cpp:145-183): 4 consecutive 16-bit words per sprite, base word address = sprite_index*4, laid out Y/X/attr/code_lo -- matching sprite_record_decode's port names exactly so the two wire toge
- rtl/video/sprite_subtile_step.sv:1 Computes one 16x16 sub-tile's screen position and LUT-index code, from the get_sprites() sub-tile loop (psikyo_v.cpp, verified against the actual current source rather than re-derived by hand):
- rtl/video/sprite_zoom_lut.sv:1 Sprite zoom scaling lookup: raw 4-bit zoom field -> (dst_size, dx), the two quantities drawgfxzoom_core (src/emu/drawgfxt.ipp:738) needs to render one 16x16 source tile at the requested scale.
- rtl/video/sprite_zoom_src_index.sv:1 Per-destination-column source pixel index for the nearest-neighbor zoom-blit accumulator (gfx_element::drawgfxzoom_core, drawgfxt.ipp:738-805), collapsed to a closed form -- see docs/phase1_video_engine.md, "The actual per-tile scaling algo
- rtl/video/spriteram_dbuf.sv:1 Hardware-buffered sprite RAM (0x400000-0x401FFF), modelling MAME's buffered_spriteram32_device.
- rtl/video/spriteram_dbuf.sv:20 psikyo_v.cpp's screen_vblank does get_sprites() and THEN m_spriteram->copy() -- it builds the display list from the buffer as it stands and only then refreshes that buffer, so the list a frame renders is one buffer-generation old.
- rtl/video/spriteram_dbuf.sv:141 The global sprite ENABLE is deliberately LIVE (ctrl_shadow, the last CPU-written value), not the frame-latched copy -- per the author of MAME's Psikyo renderer: the bit takes effect immediately, so the caller gates the DISPLAY with it and s
- rtl/video/spriteram_dbuf.sv:148 The transparent-pen selects stay latched with the copy: they parameterize the RENDER pass, which consumes that snapshot -- a live pen change would tear the pass already in flight, and MAME likewise reads its sprite control word from the buf
- rtl/video/tile_cell_decode.sv:1 Decodes a raw 16-bit tilemap VRAM cell (named vram_cell -- "cell" is a reserved SystemVerilog keyword, part of the config/cell/liblist/use declaration syntax) into a gfx-ROM tile number and palette color-group index, per get_tile_info<Layer
- rtl/video/tile_row_decode.sv:1 Decodes one 16-pixel row of a 16x16x4bpp "packed_msb" tile (MAME's gfx_16x16x4_packed_msb layout, used for both the "sprites" and "tiles" gfx regions -- gfx_psikyo in psikyo.cpp) into 16 4-bit pixel/palette-nibble values.
- rtl/video/tile_row_decode.sv:17 - Each byte's HIGH nibble is the even (left) pixel, LOW nibble is the odd (right) pixel ("x order: hi nibble first" per generic.cpp).
- rtl/video/tilemap_addrgen.sv:5 See docs/phase1_video_engine.md ("Tilemap addressing") for the derivation: MAME's tile_scan<Layer> (psikyo_v.cpp) looks like a bit-interleave, but its result is always masked to the low 12 bits by the caller, and every extra term in each ca
- rtl/video/tilemap_line_engine.sv:198 One-PIXEL alignment bias, measured on real hardware against the MAME reference (reported by the author of MAME's Psikyo renderer): screen_x shows tilemap pixel (scroll + screen_x + 1), moving the image one pixel LEFT of the unbiased sum.
- rtl/video/video_timing.sv:1 Raw video timing generator for the Phase 1 screen configuration -- verified directly from psikyo.cpp's machine config, not assumed: m_screen->set_raw(14.318181_MHz_XTAL/2, 456, 0, 320, 262, 0, 224); i.e. pixel clock ~7.159MHz, htotal=456 (a
- rtl/video/video_timing.sv:8 MAME's set_raw() only specifies the blanking BOUNDARIES it needs for its own rasterizer -- it doesn't drive a real CRT, so it has no opinion on actual hsync/vsync PULSE width/position within those blanking windows.
- rtl/video/video_timing.sv:35 frame_start fires on vblank's RISING edge (vcnt going 223->224) -- matches psikyo_v.cpp's own sprite-buffer swap trigger (screen_vblank(), psikyo_v.cpp:667-675, already noted in docs/phase1_memory_map.md), so this is the natural place for a
- rtl/video/vreg_decode.sv:20 Board-specific tile gfx banking -- MAME psikyo_v.cpp's m_ka302c_banking.
- rtl/video/vreg_decode.sv:24 1 (gunbird/btlkroad, and s1945n in Phase 2): LIVE banking, each layer's bank taken from its own layer-control bit 10 (psikyo_v.cpp:477, `(layer_ctrl[layer] & 0x400) >> 10`).
- rtl/video/vreg_decode.sv:28 Fixed banks assigned once at video_start -- layer 0 = bank 0, layer 1 = bank 1 (psikyo_v.cpp:135-136, "sngkace / samuraia don't use banking" / "They share gfx2 to save memory on other boards").
- rtl/video/vreg_decode.sv:90 SH404 banking (s1945/tengai, wins over ka302c_banking): the security MCU's bctrl register drives both banks, full 2-bit -- layer 0 from bctrl[5:4], layer 1 from bctrl[7:6] (psikyo.cpp s1945_mcu_bctrl_w: switch_bgbanks(1, data>>6&3); switch_
- rtl/video/vreg_decode.sv:144 ENABLE IS ACTIVE LOW: psikyo_v.cpp does m_tilemap[layer]->enable(~layer_ctrl[layer] & 1); Reading it active-high held both layers off for every value the game writes, so the compositor painted backdrop on every pixel and only sprites appear
- rtl/video/vreg_decode.sv:153 Bit 2 is "?" in psikyo_v.cpp's own bit table, but the screen-clear rewrite in MAME PR 16050 ("psikyo.cpp: Fix background colour") gives it a job: bits 3 and 2 are a symmetric pair of "this pen is NOT the transparent one" flags, and whicheve
- rtl/video/vreg_decode.sv:164 Row-scroll is active when EITHER control bit is set -- psikyo_v.cpp gates on `layer_ctrl[layer] & 0x0300`, with bit 9 selecting per-tile granularity (`tile_rowscroll = (layer_ctrl & 0x0200) >> 7`, i.e. index >> 4) rather than acting as a se
- README.md:31 Refs: https://buffis.com/research/input-lag-in-psikyo-games-in-mame/
- README.md:122 Put the MAME merged, or split roms in games/mame
- README.md:134 **SH404 audio: from-scratch YMF278B (OPL4) core** (`rtl/sound/opl4/`, built against MAME's ymfm reference - see `docs/phase2_ymf278b.md`): full bus protocol, ch
- README.md:151 Some improvements to priorities and background clear over MAME (which has regressed over the years)
- README.md:176 It's a platform I'm familiar with, as I collaborated with other members of the MAME team on the video system to add the later games circa ~2002, and the video s
- README.md:191 This has NOT been verified against a PCB other than the timing measurements back in the day and recorded in the MAME source.
- README.md:202 Development was heavily AI-assisted, combined with experience of the platform from the original MAME emulation that I assisted with many years ago.
- README.md:202 It has been validated against MAME, and it's various hardware tests including timings, MAMETesters reports etc.
- README.md:206 **Manual testing on a real DE10-nano** — every supported game is played and A/B-compared against MAME on real hardware before release; the debugging instrumenta
- README.md:219 The **MAMEdev team** (especially Olivier Galibert, R. Belmont and Luca Elia as well as my own work) for [MAME](https://github.com/mamedev/mame)'s `psikyo.cpp`/
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 14
- Psikyo.sv:449 dsw_in[15:8] genuinely is unused and reads as 1s, matching MAME's IP_ACTIVE_LOW default.
- Psikyo.sv:525 See the coin_in comment: 0 = constant 0 (matches MAME), 1 = ~vblank.
- rtl/cpu/maincpu.sv:17 Main CPU subsystem for the SH201B/KA302C boards (68EC020 @16MHz, psikyo.cpp:254-266 base map + per-board overlay, re-verified against current MAME source): TG68K.C + address decode + BRAM-region ports + sound-latch write + held-autovectored
- rtl/cpu/maincpu.sv:534 Match MAME's irq4_line_hold: assert on the RISING edge, hold until acknowledged, and let the acknowledge win.
- rtl/cpu/s1945_mcu.sv:17 table_absent (tengai) is not the same as an all-zero table: MAME's command 0x013 leaves latch1 UNCHANGED when the table pointer is null, rather than loading a zero.
- rtl/memory/gfxrom_byte_reorder.sv:1 Reorders a 64-bit SDRAM read granule (native ascending-address -> ascending-bit-position packing, as produced by rtl/memory/sdram/ sdram.sv's burst-4 read capture -- see that module's own STATE_READ0..STATE_READ3 comments, and confirmed dir
- rtl/memory/psikyo_sdram_top.sv:55 samuraia/samuraiak/sngkace/sngkacea ONLY (not gunbird/btlkroad, despite identical sound hardware) -- MAME's init_sngkace() applies out[7]=in[6], out[6]=in[7] to the whole ymsnd:adpcma ROM region, a real ROM-mastering artifact that can't be
- rtl/video/sprite_display_list_walker.sv:1 Walks the sprite display list (psikyo_v.cpp get_sprites(), re-verified against current MAME source, see docs/phase1_memory_map.md):
- rtl/video/sprite_display_list_walker.sv:73 sram_data % 768, full 16-bit range (matches MAME's `sprite %= 0x300` applied directly to the raw 16-bit display-list word, no prior masking -- see this module's header).
- rtl/video/spriteram_dbuf.sv:23 WHEN copy_start fires is the pipeline's capture instant and is owned by psikyo_core's sequencing (it depends on the swap policy -- see the spr_copy_start comment there): under the FrameStart policy it fires at the frame boundary, matching M
- rtl/video/tile_row_decode.sv:6 Format, verified against MAME's actual decode algorithm (src/emu/drawgfx.cpp: gfx_element::decode()/readbit()), NOT just the gfx_layout struct's field values at face value -- a first pass at reading the struct alone (planeoffset={0,1,2,3})
- rtl/video/vreg_decode.sv:148 Reset value 0 therefore means ENABLED, matching MAME, whose m_vregs also powers up zeroed.
- README.md:37 MRAs: `<rotation>vertical (ccw)</rotation>` for all vertical sets, matching MAME
- README.md:205 Behavior is checked against MAME's `psikyo.cpp`/`psikyo_v.cpp` as the reference, including regression tests written for every hardware-found bug.
MAMEの近似をそのまま採用 — 1
- rtl/cpu/s1945_mcu.sv:41 - rd_status_toggle: the word at 0xC00002 was read; the free- running status bit flips (MAME's own "hack" -- POST spins on it going both ways).
MAMEドライバと同じ文言を含む(出典の明記なし) — 12