← コア一覧
LaserdiscGames
MAMEのドライバにない実基板の資料を引用 — 15
- Arcade-LaserdiscGames.sv:141 Program bytes occupy a different slice of ioctl index 0 per game, so the write MUST be gated per board -- ungated, Super Don's char and PROM data would land on top of program space, and Mach 3's tile and sprite data would wrap round the 64K
- Arcade-LaserdiscGames.sv:1012 ram0 16K work RAM : DL/SA/Thayer's 16K, Cliff 4K, Super Don 2K, GP World 8K, Mach 3 8K, Astron 2K ram1 16K tile RAM : Cliff TMS VRAM 16K, Super Don 1K, GP World 2K, Mach 3 1K, Astron FIX 2K ram2 4K : GP World sprites 2K, Mach 3 ch
- rtl/DragonsLair_CPU.sv:169 Bank select = A15:A13, device select = A5:A3 (A3/A4/A5 per the schematics)
- rtl/DragonsLair_CPU.sv:434 Thayer's: U16 74LS374 /OE = U14 74LS175 Q2-bar, D2 = D5 of OUT $F5 (I/O board 834-5004 sheet 1): bit 5 HIGH drives the bus; ROM $1EA2 holds it for one command strobe.
- rtl/Thayers_COP.sv:113 The COP clocks SO (CPU board 834-5003 sheet 2: U5 pin 15 SO -> R11 -> Q1 -> J3 "Y" = keyboard clock; J3 "G" -> pin 14 SI = data; SK is not on J3.
- rtl/boards/astron/Astron.sv:26 20 MHz XTAL / 4 (sheet 1, IC44)
- rtl/boards/astron/Astron.sv:180 Tile colour PROM 5279 (IC92 82S141, 512 x 8).
- rtl/boards/astron/Astron.sv:427 Overlay keys over the disc wherever the colour is non-zero (PLY, sheet 6).
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:7 Inside: 8K firmware ROM (ioctl-loaded), 2K RAM, Z80 CTC, two 8255s, the decoder/display port, the controller latch and the mechanics model.
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:15 8000-87FF RAM, mirror 3800 40 /3F read: controller latch ^ FF
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:34 IO 40 reads the host's port live (CONT Z8 74LS540), not
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:287 Hardware: CONT Z8 (74LS540, inverting) buffers the host DIO bus onto the CPU bus (scan p.58); R26 pull-ups idle it at FF = NO ENTRY.
- rtl/ram_rom/sdram_phase_cal.sv:84 reads done at this position, saturating at 16K
- rtl/superdon/SuperDon.sv:4 Memory: 0x0000-0x3FFF ROM (16K) 0x4000-0x47FF RAM (2K) 0x5C00-0x5FFF video RAM (1K, 32x32 tile codes) Ports: IN 00 joystick 01 buttons/coins 02 DSW1 03 DSW2 04 LD status OUT 00 LD command 04 SN76496 08 latch 0C/0D HD46505 (fixe
- rtl/superdon/SuperDon.sv:229 #unverified: SDQ board drive not checked against its schematic
実基板の資料ファイルを同梱 — 30
MAMEとの相違点を記載 — 1
MAMEのソースを引用 — 79
- Arcade-LaserdiscGames.sv:108 One Gottlieb/Mylstar rev-2 board runs all three; MAME's cobram3 config differs from g2laser only in sound-board mods.
- Arcade-LaserdiscGames.sv:152 Dragon's Lair II has NO scoreboard: the original scored nothing, Daphne's lair2.cpp contains no scoreboard code at all (unlike lair.cpp) and MAME's dlair2.cpp instantiates no such device.
- Arcade-LaserdiscGames.sv:1177 4-way stick + one action button; MAME superdq IN0/IN1
- rtl/DragonsLair_CPU.sv:215 SSI-263 speech chip, ports 0x00-0x07 (MAME thayers.cpp maps all eight; the chip ignores the register address on reads).
- rtl/DragonsLair_CPU.sv:361 XCK is 860 kHz (MAME thayers.cpp: SSI263HLE(config, m_ssi, 860000)).
- rtl/DragonsLair_CPU.sv:517 ------------------------------------------------- Thayer's COP421 + interrupts -----------------------------------------------// The COP is Thayer's only MCU: its D port drives the timer tick (D0) and keyboard data-ready (D1), both active l
- rtl/DragonsLair_CPU.sv:535 The periodic source is a board one-shot: T = 1.1 * R30 * C53 = 8.25 ms (MAME thayers.cpp).
- rtl/DragonsLair_CPU.sv:556 IN (0x40): b7 and b1:0 read 0, b3 is tied to +5V (MAME irqstate_r).
- rtl/DragonsLair_CPU.sv:589 Z80 writes a 4-bit digit code: 0xE038-0xE03F (led_den1) -> digits[0..7] (MAME led_den1_w: m_digits[0|off]) 0xE030-0xE037 (led_den2) -> digits[8..15] (MAME led_den2_w: m_digits[8|off]) The 7-seg lookup (led_map in MAME) is applied at rend
- rtl/DragonsLair_CPU.sv:599 den1 (E038) -> digits 0..7 (MAME dlair.cpp:332)
- rtl/DragonsLair_CPU.sv:600 den2 (E030) -> digits 8..15 (MAME dlair.cpp:338)
- rtl/Thayers_COP.sv:115 MAME thayers.cpp: write_so -> kbclk_w); on each FALLING edge of SO the panel shifts out one bit of a 10-bit frame (Daphne/MAME thayers.cpp kbclk_w):
- rtl/Thayers_COP.sv:133 keyboard serial clock = COP SO (schematic + MAME), not SK
- rtl/boards/astron/Astron.sv:232 (MAME segald, Daphne astron)
- rtl/boards/astron/Astron.sv:234 DIAG-REVERT-2026-10-16: original (MAME: b2 UP, b3 DOWN) below wire [7:0] in1 = ~{3'b000, p1[4], p1[1], p1[0], p1[2], p1[3]}; DIAG: Daphne astron.cpp input_enable -- UP clears 0x08, DOWN clears 0x04 (MAME has them swapped).
- rtl/cliff/CliffHanger.sv:11 Memory map (MAME mainmem): 0x0000-0x9FFF program ROM (5 x 8KB; the map extends to 0xBFFF, unpopulated) 0xE000-0xE7FF battery-backed NVRAM (5126) -- volatile here, see note 0xE800-0xEFFF RAM (2128)
- rtl/cliff/CliffHanger.sv:128 --------------------------------------------------------- I/O decode ----- MAME mainport (global mask 0xFF).
- rtl/cliff/CliffHanger.sv:144 --------------------------------------------------------- input banks ---- MAME port_r: banks 0..6 are mapped, anything above reads pulled-up 0xFF.
- rtl/cliff/CliffHanger.sv:156 Bit assignments are MAME's (INPUT_PORTS_START(cliffhgr) BANK5/BANK6); Daphne only labels these "button data" / "joystick data".
- rtl/cliff/CliffHanger.sv:240 ---- Philips VBI picture code (MAME philips_code_r) ---- 24 bits: 0xF in the top nibble marks a valid picture number, so bit 23 is set and the IRQ fires; the low 20 bits are the frame as 5 BCD digits.
- rtl/cliff/CliffHanger.sv:412 --------------------------------------------------------- interrupts ----- IRQ: asserted when a valid Philips code arrives each field, cleared by reading port 0x53 (MAME irq_ack_r).
- rtl/cliff/CliffHanger.sv:424 --------------------------------------------------------- sound ---------- Discrete: two gated 555 astables mixed (MAME cliffhgr_a.cpp).
- rtl/cliff/CliffHanger.sv:474 MAME stern/cliffhgr.cpp: `m_led = offset ^ 1`, offset 0 = 0x6E = lit.
- rtl/cliff/CliffHanger.sv:494 MAME returns 0
- rtl/cliff/tms9928a_render.sv:29 Measured against MAME on the title screen: 453 wrong pixels, 86% of them at cell pixel 0 or 7.
- rtl/cliff/tms9928a_render.sv:129 ---- Graphics II tables ------------------------------------------------ Bases and masks per MAME tms9928a.cpp (update_table_masks + the mode-2 draw loop).
- rtl/cliff/tms9928a_render.sv:181 A zero nibble means "use the backdrop", as MAME's mode-2 loop does.
- rtl/cliff/tms9928a_render.sv:230 MAME makes that conditional on EXTVID (reg0[0]) and otherwise paints colour 0 as a real pen; we do not, deliberately.
- rtl/cliff/tms9928a_render.sv:236 It resolves to the backdrop, and a non-zero backdrop really does cover the picture on a real TMS -- MAME only makes pen 0 transparent, never the backdrop as such.
- rtl/dlair2/DragonsLair2.sv:4 I8088 in MAX mode at 10 MHz (MAME cinematronics/dlair2.cpp: XTAL(30MHz)/3, "Schematics show I8088 'max' CPU"), Sony LDP-1450 on a serial port.
- rtl/dlair2/DragonsLair2.sv:11 Memory map (MAME mainmem): 0x00000-0xEFFFF RAM -- external port, backed by DDR (ddram_cpu_ram); it cannot live on-chip, the core is at 75% of its M10K blocks.
- rtl/dlair2/DragonsLair2.sv:17 IO map (MAME, commented there; corroborated by Daphne lair2.cpp's header "IO_PORT = 0x201, COIN_PORT = 0x202, CNTL_PORT = 0x202"): 0x020 interrupt controller 0x042/0x043, 0x061 sound 0x200-0x203 io / coin / eeprom 0x2F8-0x2FF COM
- rtl/dlair2/DragonsLair2.sv:46 ---- controls ---- DL2 has NO DIP switches: its settings live in an EEPROM (port 0x202 b0), which is why MAME's dlair2 DIPs are explicit dummies and the OSD shows no DIP page.
- rtl/dlair2/DragonsLair2.sv:319 MAME is no reference here: dlair2.cpp attaches SPEAKER with no sound device, so it emulates none of this.
- rtl/dlair2/DragonsLair2.sv:465 --------------------------------------------------- 8259 + timer -------- MAME models two interrupts: a 60 Hz periodic one whose vector_r returns 0x20/4 = 8, and a serial one at 0x2c/4 = 11.
- rtl/dlair2/DragonsLair2.sv:476 DIAG-REVERT-2026-10-15: original below (MAME's 60 Hz), uncomment to restore localparam [31:0] TICK_60HZ = CLK_HZ / 32'd60;
- rtl/gpworld/GPWorld.sv:4 Memory: 0x0000-0xBFFF ROM (48K) 0xC000-0xC7FF sprite RAM (64 x 8) 0xC800-0xCFFF colour RAM 0xD000-0xD7FF tile RAM (64x32 codes) 0xD800 LD-V1000 latch 0xDA00-0xDA03 8255 (sound board) 0xDA20 pedal ADC 0xE000-0xFF
- rtl/gpworld/GPWorld.sv:211 IN0 b4 SHIFT; IN1 b0 COIN1, b1 COIN2, b2 TEST, b3 SERVICE, b4 START (MAME).
- rtl/gpworld/gpw_spr_mem.sv:13 Download: ioctl index 0, 0x10000-0x3FFFF = MAME's gfx2 region (0x8000 bytes of plane 0 then 0x8000 of plane 1, per 64K bank).
- rtl/ldp/ldp_ldp1450.sv:73 ACK latencies from the LDP-1000A programming manual (ldp1000.cpp:99-102).
- rtl/ldp/ldp_ldp1450.sv:272 A landed SEARCH owes 0x01 (MAME ldp1450hle.cpp:1113); REPEAT loop-backs already got theirs
- rtl/ldp/ldp_top.sv:27 ldv1000_fw MOTOR_STOP_MS (0 = MAME)
- rtl/ldp/ldp_top.sv:28 ldv1000_fw VSYNC_GATE (0 = MAME)
- rtl/ldp/ldp_top.sv:29 ldv1000_fw LIVE_CMD (0 = MAME)
- rtl/ldp/ldp_top.sv:30 ldv1000_fw SEEK_FAST (133 = MAME)
- rtl/ldp/ldp_transport.sv:70 MAME update_audio_enable(): unmute only at mode==PLAY && speed==1x && both channels on.
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:28 ldv_mech: track update after VSYNC (MAME: 33)
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:29 ldv_mech: VBI ready after VSYNC (MAME: 39 -- search never completes)
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:31 Hardware behaviour MAME leaves out (service manual VRT-018-0); 0 = MAME.
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:35 MAME's write-latch + read-to-clear
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:36 ldv_mech: fast-scan tracks/field (133 = MAME)
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:222 ------------------------------------------------------------ PPIs PPI0: PA out -> counter preset; PB in <- counter; PC hi in, lo out PC4 /VSYNC, PC5 /decoder IRQ (VBI ready), PC6 TRKG LOOP, PC7 DUMP (both 0 in MAME) PPI1: PA in <- /FOCS LOC
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:230 MOTOR_STOP_MS = 0 keeps MAME's constant 0.
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:282 MAME z80_controller_r: return ~command, then command = 0xFF
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:322 ldp_ldv1000 / MAME ldv1000hle -- which the games are validated against -- idle HIGH and assert LOW with the same timing, so the game side gets them inverted.
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:324 (MAME's ldv1000.cpp returns the raw bits; its HLE is the inverse.)
- rtl/ldp/ldv1000_fw/ldv_i8255.sv:12 * *_o are the PIN levels: latch where the port is an output, 0xFF where it is an input (MAME's default "TTL inputs floating" tri-state callback).
- rtl/ldp/ldv1000_fw/ldv_mech.sv:4 Port of the mechanics half of MAME ldv1000.cpp and laserdsc.cpp: track m_curtrack, clamped 1..MAXTRACK-1.
- rtl/ldp/ldv1000_fw/ldv_mech.sv:16 SCAN PPI1 PB3 low: slider moves at 66 (PB4=1) or 133 (PB4=0) tracks per field (MAME's integer 2000/30 and 4000/30), dir PB5.
- rtl/ldp/ldv1000_fw/ldv_mech.sv:18 field field_tick = start of field (MAME vblank).
- rtl/ldp/ldv1000_fw/ldv_mech.sv:18 VSYNC flag for 4 lines; track fetch at +33 lines; VBI ready at +39 lines (MAME NTSC screen: 525 lines x 910 clk @ 28.636 MHz per FIELD).
- rtl/ldp/ldv1000_fw/ldv_mech.sv:23 The CAV picture number is on the FIRST field of a track only (field 0, the one read right after the advance) -- MAME's read_track_data uses exactly that code to detect a frame's first field; the second field carries no code.
- rtl/ldp/ldv1000_fw/ldv_mech.sv:29 Lead-in is forced on both fields (MAME), lead-out likewise.
- rtl/ldp/ldv1000_fw/ldv_mech.sv:34 Program field n (n = 0 = field 0 of track LEADIN+1) shows film frame f(n) = floor((2n + FILM_PHASE) / 5) + 1; only the FIRST field of each picture carries its code (MAME is_start_of_frame: a frame code marks the start of a frame), the other
- rtl/ldp/ldv1000_fw/ldv_mech.sv:54 Positions after VSYNC in MAME screen lines (31.8 us).
- rtl/ldp/ldv1000_fw/ldv_mech.sv:54 MAME uses 33 / 39, but with VBI ready at >= 34 lines the firmware never completes a SEARCH (it reacts one field late and holds target+1); <= 32 lines it does (bench sweep 2026-10-16).
- rtl/ldp/ldv1000_fw/ldv_mech.sv:63 0 = MAME.
- rtl/ldp/ldv1000_fw/ldv_mech.sv:64 MAME 4000/30 per vsync = 133;
- rtl/ldp/ldv1000_fw/ldv_mech.sv:97 ---- timing constants (MAME NTSC laserdisc screen) ----
- rtl/ldp/ldv1000_fw/ldv_mech.sv:108 ---- PPI-driven controls (MAME helper names) ----
- rtl/ldp/ldv1000_fw/ldv_z80ctc.sv:4 Behaviour follows MAME, including its quirks, because MAME is the reference the LD-V1000 firmware is known to run against: * Channel clock is unconfigured in MAME, so COUNTER mode counts only TRG edges and a timer waiting for its trigger wa
- rtl/ldp/ldv1000_fw/ldv_z80ctc.sv:17 Timer down count is a real counter (prescaler 16/256 on ce), which reads back the same values as MAME's remaining-time calculation.
- rtl/ldp/ldv1000_fw/ldv_z80ctc.sv:42 timer running (MAME m_timer enabled & periodic)
- rtl/mach3/Mach3.sv:5 MAME gottlieb/gottlieb.cpp `g2laser`; schematics in Useful Information/schematics/mach3_s.pdf (Logic Board A1, Interface A2).
- rtl/mach3/Mach3.sv:23 A write to 5805 latches a byte and the board clocks 12 bits out to the player as pulse INTERVALS: 998us = 0, 1996us = 1 (555 at 40083Hz /10, then /4 or /8 — gottlieb.cpp:876).
- rtl/mach3/Mach3.sv:384 MAME reads these ports straight through; the top level assembles them with the right polarity (SERVICE b0 and TILT b5 of IN1 are active LOW, everything else active HIGH).
- rtl/mach3/mach3_video.sv:4 Shared by M.A.C.H. 3, Cobra Command and Us vs Them: MAME's cobram3 machine config differs from g2laser only in sound-board mods, so the video hardware is identical across all three.
- rtl/mach3/mach3_video.sv:23 Values below are that ladder normalised to full scale; they come from MAME's documented resistances (gottlieb.cpp video_start) — sweep these first if colours look wrong on hardware, since the Logic Board A1 sheet was not available to confir
- rtl/superdon/SuperDon.sv:173 Active-LOW banks (MAME superdq INPUT_PORTS).
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 4
MAMEから移植・書き写した、または取り入れたと記載 — 8
- Arcade-LaserdiscGames.sv:2 Dragon's Lair / Space Ace (US set) for MiSTer Copyright (C) 2026 Rodimus Based on MAME dlair.cpp; converted in place from the Kangaroo core copy Permission is hereby granted, free of charge, to any person obtaining a copy of this software a
- rtl/DragonsLair.sv:2 Dragon's Lair / Space Ace (US set) top-level game module Copyright (C) 2026 Rodimus Based on MAME dlair.cpp Thin wrapper around DragonsLair_CPU (which now contains the Z80, AY-3-8910, work RAM, program ROM, the LaserDisc HLE, the LED latche
- rtl/DragonsLair_CPU.sv:2 Dragon's Lair / Space Ace (US set) Main CPU Board Based on MAME dlair.cpp (dlus_map / dlair_ldv1000) by Aaron Giles Single Z80 @ (real 4 MHz) + AY-3-8910 (real 2 MHz) + Pioneer LD-V1000 laserdisc.
- rtl/cliff/CliffHanger.sv:3 Based on MAME stern/cliffhgr.cpp (authoritative for the I/O map and the discrete sound) and Daphne game/cliff.cpp (authoritative for PR-8210 use).
- rtl/ldp/ldp_ldv1000.sv:4 Ported from MAME pioneer_ldv1000hle_device.
- rtl/ldp/ldv1000_fw/ldv1000_fw.sv:4 Port of MAME src/devices/machine/ldv1000.cpp.
- rtl/ldp/ldv1000_fw/ldv_i8255.sv:4 Port of MAME i8255.cpp mode-0 paths (set_mode / write_mode0 / read_mode0 / read_pc / output_pc / set_pc_bit).
- rtl/ldp/ldv1000_fw/ldv_z80ctc.sv:2 ldv_z80ctc.sv -- Z80 CTC (4 channels + daisy-chain IRQ), port of MAME z80ctc.cpp.
MAMEの近似をそのまま採用 — 1