← コア一覧
Darius
MAMEのドライバにない実基板の資料を引用 — 3
- rtl/rm68000/cpu_si/m68k_bus_fsm.sv:147 Timing of the restart: the manual fixes no delay between the negation of HALT and S0 of the retried cycle (5.4.2, figure 5-27: "remains in this state until HALT is negated.
- rtl/rmSdram/sdrc.sv:15 Clean room: from the AS4C32M16SB datasheet, the board schematic and the pin delays measured on a compiled netlist only; the single chip boards from the AS4C16M16SA datasheet (Rev.
- rtl/rmSdram/sdrc.sv:18 A04) and the schematic of the 32 MB board (sdram_xs 2.2).
MAMEのソースを引用 — 38
- Template.sv:287 --- Joystick to Darius input mapping --- MiSTer joy bits: 0=R, 1=L, 2=D, 3=U, 4=Fire(A), 5=Bomb(B), 6=Start1P, 7=Start2P, 8=Coin Darius P1 ($C00008): active low, bits: 7=unused,6=unused,5=Fire2,4=Fire1,3=U,2=D,1=L,0=R Darius P2 ($C0000A): s
- Template.sv:298 MAME SYSTEM port ($C0000C) bit layout: bit 7:6 = unused (idle=0, IP_ACTIVE_HIGH) bit 5 = start2 (active LOW, idle=1) bit 4 = start1 (active LOW, idle=1)
- Template.sv:303 bit 2 = service(active LOW, idle=1) — not mapped, hardcode idle bit 1 = coin2 (active HIGH, idle=0) bit 0 = coin1 (active HIGH, idle=0) MiSTer joy bits: [3:0]=R,L,D,U [4]=A [5]=B [10]=Start [11]=Coin [12]=Pause MAME SYSTEM port
- rtl/darius/audio_mixer_gain.sv:48 Rapporti FM:PSG:MSM ricavati dall'uscita di MAME (06/11/2026, banco MiSTer_Utility/Audio_Compare, col PSG a 9 bit e la tabella def_vol dall'uscita): sui suoni dove ogni chip suona da solo (f4 FM, f8 PSG, 2a MSM), con l'FM a 616 (154 x4) il
- rtl/darius/audio_mixer_gain.sv:52 Su tutti i 47 suoni del gioco FM, PSG e MSM hanno cosi' lo stesso scarto da MAME (+3.9 dB: solo volume generale).
- rtl/darius/darius_audio_z80.sv:27 MAME memory maps: Z80 #1: 0000-3FFF ROM (fixed), 4000-7FFF ROM (banked, 4×16KB), 8000-8FFF RAM (4KB), 9000-9001 YM2203#1, A000-A001 YM2203#2, B000 PC060HA port_w, B001 PC060HA comm R/W, C000/C400/C800/CC00/D000 pan regs, D400 ADPCM cmd, DC0
- rtl/darius/darius_audio_z80.sv:266 Z80 #1 reset: global reset OR PC060HA sub-reset (MAME: only main audio CPU)
- rtl/darius/darius_audio_z80.sv:485 Volume registers from YM2203 I/O ports (MAME: write_portA0/B0/A1/B1)
- rtl/darius/darius_audio_z80.sv:487 Valori ricavati dall'uscita di MAME (06/11/2026, banco MiSTer_Utility/Audio_Compare, scansione del volume della porta A col tono FM e PSG del sound test): con questi l'uscita del core coincide con MAME entro 0.12 dB a ogni gradino.
- rtl/darius/darius_audio_z80.sv:513 Volume directly from YM2203 I/O port outputs (combinatorial, no extra registers) MAME: write_portA0 = YM1 IOA, write_portB0 = YM1 IOB, etc.
- rtl/darius/darius_audio_z80.sv:559 NMI enable gate + data write (MAME: port 0x00=nmi_disable, 0x01=nmi_enable, 0x02=adpcm_data)
- rtl/darius/darius_audio_z80.sv:581 MSM5205 data + reset (MAME: m_msm->data_w(data), m_msm->reset_w(!(data & 0x20)))
- rtl/darius/darius_audio_z80.sv:662 --- Z80 #2 I/O read: port 0x00=cmd, 0x02/0x03=0 (MAME), else 0xFF ---
- rtl/darius/darius_audio_z80.sv:694 A 9 bit e' simmetrica come in MAME.
- rtl/darius/darius_audio_z80.sv:718 Audio mixer — MAME-ratio-matched, 3-stage pipeline
- rtl/darius/darius_audio_z80.sv:720 Coefficients scaled for jt03 integer output ranges (not MAME floats).
- rtl/darius/darius_audio_z80.sv:721 FM:PSG:MSM ratios measured against MAME's output (audio_mixer_gain.sv).
- rtl/darius/darius_audio_z80.sv:725 --- Stage 0: pv quantization (MAME-exact: (pan * vol) >> 8) — REGISTERED ---
- rtl/darius/darius_audio_z80.sv:752 --- Stage 0b: coefficients (coeff × pv) — REGISTERED --- Ratios FM:PSG:MSM measured against MAME's output (audio_mixer_gain.sv).
- rtl/darius/darius_dual68k_top.sv:75 MAME SYSTEM port: {00,start2,start1,tilt,service,coin2,coin1}
- rtl/darius/darius_maincpu_map.sv:63 MAME SYSTEM port: {00,start2,start1,tilt,service,coin2,coin1}
- rtl/darius/darius_maincpu_map.sv:238 Coin lockout/counter register (MAME: m_coin_word, written at $C00060, read back at $C0000E)
- rtl/darius/darius_maincpu_map.sv:747 Coin lockout: MAME coin_lockout_w(0, ~data & 0x02) → bit1=0 locks COIN1 MAME coin_lockout_w(1, ~data & 0x04) → bit2=0 locks COIN2
- rtl/darius/darius_panel_renderer.sv:266 Source pixel coordinates with scroll + panel offset (selects by current layer) MAME set_offsets(-16, 8): L0 xoff=-16, L1 xoff=+8 MAME Y: L0 +8, L1 0
- rtl/darius/darius_sprite_renderer.sv:27 Sprite RAM format (MAME, 4 words per entry at $E00100): word[0]: Y position → sy = (256 - data) & 0x1FF word[1]: X position → sx = data & 0x3FF word[2]: tile code[12:0], flipX[14], flipY[15] word[3]: priority[7], color[6:0]
- rtl/darius/darius_sprite_renderer.sv:50 X offset (scroll-dependent, from MAME draw_sprites x_offs parameter)
- rtl/darius/darius_sprite_renderer.sv:91 y_offs = -8 from MAME + north adjust
- rtl/darius/darius_sprite_renderer.sv:278 Pixel extraction: bit-per-plane (MAME method)
- rtl/darius/darius_sprite_renderer.sv:286 This was confirmed by: - Debug overlay showing PA=646 (pixel 6) where MAME expects pixel 5 - Systematic HW testing of 8+ permutations - PA lookup live showing correct bank 0x64x entries with this mapping The effective byte layout observed o
- rtl/darius/darius_sprite_renderer.sv:297 MAME pixel = {plane3_bit, plane2_bit, plane1_bit, plane0_bit}
- rtl/darius/darius_sprite_renderer.sv:575 Draw 8 pixels from current ROM word (bit-per-plane, MAME method)
- rtl/darius/pc060ha_link.sv:25 Single-clock rewrite ispirato a jtrastan_pc060 (JTCORES by Jose Tejada), implementato secondo la descrizione di pc060ha_device in MAME.
- rtl/darius/triple_screen_test.sv:132 Sprite overlay (MAME priority: prio_transpen + primask) sprite_prio=1 (primask=0): covers everything sprite_prio=0 (GFX_PMASK_2): covers L0 (tile_prio=01) but NOT L1 (tile_prio=10)
- README.md:9 This core reimplements the hardware in SystemVerilog from MAME references and hardware observation on original PCBs.
- README.md:137 the mixer gains between FM, PSG and ADPCM: the PSG was 11.5 dB and the ADPCM 5.9 dB louder than in MAME relative to the FM, and the mix lost 4–5 dB of bass;
- README.md:140 the PSG tone volume and envelope levels, as measured on MAME's output.
- README.md:142 Result: FM, PSG and ADPCM at the same distance from MAME, and the mix equalization within about 1 dB from 50 Hz to 16 kHz.
- README.md:160 Palette with MAME-verified byte order
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 3
MAMEドライバと同じ文言を含む(出典の明記なし) — 3