← コア一覧
Arcade-NMKBP964
MAMEのドライバにない実基板の資料を引用 — 1
MAMEのソースを引用 — 41
- MacPlus.sv:11 * Four buttons; the INPUTS word is MAME's (PLAN 1.6).
- MacPlus.sv:12 * The raster is MAME's 512 x 256 at exactly 60 Hz (D4).
- MacPlus.sv:209 <switches>, ioctl index 254: bytes 0/1 are DSW1/DSW2 (MAME's DSW[23:16] and [31:24]); byte 2 is the game mode (bit 0 quizmoon, bit 7 Autofire unlock).
- MacPlus.sv:225 Keyboard: MAME's default keys, ORed with the pads.
- MacPlus.sv:295 INPUTS (MAME, active low): [0] start 1, [1] start 2, [2] coin 1, [3] coin 2, [5] service 1; [19:16] P1 up/down/left/right, [23:20] P1 B1..B4; [31:24] P2.
- rtl/cheats.sv:1 Cheat engine — applies Pugsy MAME-database pokes to work RAM once a frame.
- rtl/cheats.sv:34 Poke semantics follow MAME's "run" state: the value is written every frame for as long as the cheat is enabled, which is what makes "infinite" cheats hold against the game decrementing the counter.
- rtl/macplus/macplus_bgline.sv:25 Text codes at or above code_limit lie in the zero-filled part of MAME's 4 MB region and are transparent without a fetch.
- rtl/macplus/macplus_bgline.sv:26 Colour modes other than 01/10 (MAME: rand(), Q2) draw colour 0 and are counted.
- rtl/macplus/macplus_cpu_bus.sv:8 What is new is the timing (MP-6): ITech32's adapter spends about eight fabric clocks on every 16-bit access, which made TG68K 2.4x slower than MAME's 68020 here.
- rtl/macplus/macplus_main.sv:11 B0000C DSW in [31:16]; [15:0] read FFFF B00012 fade: high byte of a 16-bit write (0xFF is ignored, as MAME) B00008, B00020 written, ignored C00000 sound command: a write to the upper halfword latches it, sets pending
- rtl/macplus/macplus_main.sv:15 MAME also stalls the main CPU 50 us here; the board does not.
- rtl/macplus/macplus_main.sv:37 D3 set the board's value, 33/48 (MacPlus.sv), from busy time against MAME on injected MAME states (docs/known-issues.md MP-13); the default here is only nominal.
- rtl/macplus/macplus_main.sv:62 active low, MAME's INPUTS layout
- rtl/macplus/macplus_main.sv:218 MAME's window starts at the vector fetch, which is the same instant.
- rtl/macplus/macplus_main.sv:235 macplus_inject.lua measures MAME the same way.
- rtl/macplus/macplus_sound.sv:5 Map (macrossp.cpp:843-849): 000000-0FFFFF program ROM (rom_* port, 16-bit) 200000-207FFF RAM 400000-40007F ES5506 on the LOW byte of each word: register (A >> 1) & 0x3F 600000-600001 sound latch read; clears the main CPU's pending bit I
- rtl/macplus/macplus_sound.sv:10 The ES5506 IRQ is MAME's "never seen" line (Q12): it is counted, not wired, until measured.
- rtl/macplus/macplus_sound.sv:16 Output: the ES5506's channel 0, 20-bit stereo, at MAME's level.
- rtl/macplus/macplus_sound.sv:16 MAME puts the sample out as sample / 2^19 (es5506.cpp put_int_clamp(..., 1 << 19)), routes it at 1.6, and a 16-bit WAV is that times 32768: sample * 0.1.
- rtl/macplus/macplus_sound.sv:18 Here (sample * 205) >> 11 = sample * 0.10010, saturated to 16 bits (the level is then confirmed against MAME's WAV, MS1Z-13).
- rtl/macplus/macplus_sound.sv:20 `boost` (the OSD's Audio Boost) shortens the shift: 1 is +6 dB (>> 10), 2 is +12 dB (>> 9); the game is mixed quietly (about -37 dBFS in play, as in MAME), issue #1.
- rtl/macplus/macplus_sound.sv:54 0 MAME's level, 1 +6 dB, 2 +12 dB
- rtl/macplus/macplus_sprites.sv:1 Macross Plus sprites: the three sprite RAMs, the vblank buffer copy, and a line renderer (docs/PLAN.md 1.5, 2.6.3-2.6.4; MP-1 proved the rules below against MAME's pictures, MP-3 measured the load).
- rtl/macplus/macplus_sprites.sv:6 At the start of vblank MAME does old2 <- old <- live and draws old2 (macrossp.cpp:752-753).
- rtl/macplus/macplus_sprites.sv:13 Entry (3 x 32 bits): w0: high[29:26] y[25:16] colmode[15:14] wide[13:10] x[9:0] w1: yzoom[25:16] xzoom[9:0] 0x100 = 1.0 w2: flipy[31] flipx[30] alpha[29] pri[27:26] col[23:19] tile[15:0] MAME draws entry 1023 first and ent
- rtl/macplus/macplus_timing.sv:1 Macross Plus raster (docs/PLAN.md 1.5, D4: MAME's timing is what ships).
- rtl/macplus/macplus_timing.sv:3 MAME: 512 x 256 total at 60 Hz, vblank time 0, visible 384 x 240 (macrossp) or 384 x 224 (quizmoon).
- rtl/macplus/macplus_timing.sv:9 vblank begins at the first line after the visible area (MAME raises IRQ3 there, set_vblank_int), and vtick marks the last pixel of every line, when the line renderers swap buffers (as ms1z_sprline).
- rtl/macplus/macplus_video.sv:13 Composition per pixel (MP-1 proved it against MAME's pictures): layer colour = text if opaque, else the first opaque SCR layer in (priority descending, index ascending) order, else black layer bits = OR of (1 << pri) over opaque SCR layer
- rtl/macplus/macplus_video.sv:21 `rgb` is the picture MAME's screen:pixels() returns (no brightness); `rgb_fade` has the fade register applied (Q10 fixes its exact curve).
- rtl/macplus/macplus_video.sv:284 fade: MAME scales by (255 - fade) / 255 where fade = u8((d - 40) / 212 * 255); d = 0xFF leaves it alone.
- rtl/rom_cache_n.sv:7 Why (docs/hw-bringup.md, "Slowdown"): the real board and MAME run the 68000 with zero wait states from EPROM.
- rtl/rom_cache_n.sv:8 Through the 1-line rom_cache1 56% of ROM bus cycles missed (the instruction stream and the game's ROM data-table reads thrash a single pair) and each miss is a ~10 clk_sys SDRAM round trip, 1-2 wait states — 13-20% of every frame spent stal
- rtl/savestate/savestate_ui.sv:4 Slot 2 is on F5 and NOT F2 because this core's own keyboard map already uses F2 for the Service Mode toggle (MAME's binding for it), and both were acting on the same press -- found on the board, 2026-09-20.
- rtl/savestate/ss_tg68_park.sv:28 MON_BASE must be unmapped on the board: 0x7F8000 is in 400000-7FFFFF, which macrossp.cpp:812-844 leaves empty.
- rtl/third_party/es5506/itech32_es5506.sv:4 The register protocol and sample-generation order follow MAME's BSD-3-Clause es5506 device.
- README.md:21 MAME's `nmk/macrossp.cpp` (David Haywood, Paul Priest, Nicola Salmoria) is the behavioural reference, and every claim below is a measurement against it (`docs/k
- README.md:25 **Video block:** MAME's pictures reproduced **pixel for pixel** from MAME's own state.
- README.md:29 The 68EC020 runs at 33/48 of 48 MHz, set against MAME on injected game states (MP-13).
- README.md:50 MAME's driver: David Haywood, Paul Priest, Nicola Salmoria.
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 1
- README.md:28 **Whole board from reset:** boots, runs the attract, and matches MAME frame for frame at a constant offset.
MAMEから移植・書き写した、または取り入れたと記載 — 1
MAMEの近似をそのまま採用 — 2
- rtl/macplus/macplus_bgline.sv:4 SCR A/B/C (TEXT=0): 64x64 tiles of 16x16 at 8 bpp, 32-bit tile words, scroll from vr0, and the per-line zoom MAME guesses at (vr2[31:28] == 0xE):
- rtl/macplus/macplus_main.sv:4 Map (byte addresses, macrossp.cpp:807-841): 000000-3FFFFF program ROM (rom_* port; the core supplies SDRAM or an array) 800000-A03FFF video (macplus_video's CPU port) B00000 INPUTS (32-bit, active low) B00004 sound status: