← コア一覧
Arcade-Lemmings (ppriest)
MAMEのソースを引用 — 50
- Lemmings.sv:3 MiSTer glue for Lemmings (MAME dataeast/lemmings.cpp), wiring rtl/lem_top.sv into the framework.
- Lemmings.sv:135 MAME's default keys beside the pads (rtl/mame_keys.sv).
- Lemmings.sv:144 lemmings.cpp:328-348, active low
- Lemmings.sv:148 Trackballs, lemmings.cpp:383-393: 8-bit counters, X reversed (so FF at rest).
- rtl/cpu/board_cpu.sv:14 irq_set[n] latches level n + 1 pending until the CPU acknowledges that level, as MAME's HOLD_LINE does.
- rtl/cpu/fx68k_bus.sv:32 One line was not enough: Cisco Heat's boot ROM checksum loop (0x2118-0x2123) spans two lines and refilled both every iteration, 41 frames behind MAME by frame 199.
- rtl/lem_board.sv:1 SPDX-License-Identifier: GPL-3.0-or-later The Lemmings main board (lemmings.cpp main_map): the 68000, its decode and block RAMs, the sprite-list copies, the DECO 146, and the video.
- rtl/lem_board.sv:6 Sprite lists (lemmings.cpp:146-152, bufsprite.h): a write to 0x1c0000 / 0x1e0000 copies spriteram1 / spriteram2 to its buffer, and vblank start copies each buffer to the list drawn.
- rtl/lem_board.sv:20 trackball counters, lemmings.cpp:271
- rtl/lem_board.sv:83 level 6, lemmings.cpp:454
- rtl/lem_board.sv:91 ---------------------------------------------------------------- decode, lemmings.cpp:308-326
- rtl/lem_board.sv:158 palette, xBGR_888 (lemmings.cpp:469): entry n is words 2n (x, B) and 2n+1 (G, R)
- rtl/lem_board.sv:181 control words, lemmings.cpp:260-266: word 4 is not stored
- rtl/lem_board.sv:193 trackball, lemmings.cpp:268-273
- rtl/lem_board.sv:211 list 1: spriteram1, drawn by chip 1; list 2: spriteram2, drawn by chip 0 (lemmings.cpp:234-235)
- rtl/lem_board.sv:261 The status bit is MAME's vblank: 529 us from vblank start (lemmings.cpp:465), 25921 clk, not the display's 40 blank lines.
- rtl/lem_board.sv:322 MAME copies the buffer at vblank start; a copy still running finished before it there
- rtl/lem_dpram.sv:19 zero at configuration, as MAME's RAM at start
- rtl/mame_keys.sv:1 SPDX-License-Identifier: GPL-3.0-or-later MAME's default keys (src/emu/inpttype.ipp) in hps_io's joystick layout, to OR into joystick_0/1: right, left, down, up at bits 0-3, buttons 1-6 at 4-9, Start, Coin, Pause, Service at the J1 line's o
- rtl/mame_keys.sv:8 P1 arrows, LCtrl LAlt Space LShift Z X, 1 start, 5 coin P2 R F D G, A S Q W E (MAME gives P2 no sixth key), 2 start, 6 coin F2 service (test) switch, 9 and 0 service coins 1 and 2, P pause
- rtl/mame_keys.sv:25 MAME's Service 1, 2: wire to the board's SERVICE1/2 bits, if any
- rtl/memory/lem_dl_xform.sv:6 sprites1 and sprites2 are ROM_LOAD32_BYTE in MAME with byte 0 of each dword erased.
- rtl/memory/lem_dl_xform.sv:8 The .mra therefore sends each region as four 64 KB planes, p = 0..3 holding MAME byte 3 - p (p = 3 is a zero fill), and the interleave happens here: MAME offset m = {i, ~p} for plane byte i. One sprite row is the dword at m = {t, 0, r, b} a
- rtl/memory/lem_sdram_top.sv:97 each dword's byte 0 is erased in MAME's region and not stored
- rtl/protection/lem_deco146.sv:1 SPDX-License-Identifier: GPL-3.0-or-later The DECO 146-compatible chip (a 75 on this board, deco146.cpp:58), as MAME's deco_base_device has it, wired as lemmings.cpp wires it: a 2 KB window, no address scramble, the magic read xor on, ports
- rtl/protection/lem_deco146.sv:11 lemmings.cpp:280 cannot reach the chip-select configuration area, and chip select 0 decodes the whole window after reset, so neither is built.
- rtl/protection/lem_deco146.sv:37 deco146.cpp: magic_read_addr_xor
- rtl/protection/lem_deco146.sv:87 MAME's 0xffff, outside the window
- rtl/protection/lem_deco146.sv:138 MAME's reorder(), then the xor and the nand
- rtl/video/lem_video.sv:16 decospr.cpp:227, blink
- rtl/video/lem_video.sv:22 chip 0 draws list 2 from sprites2, chip 1 list 1 from sprites1 (lemmings.cpp:234-235, 474-475).
- rtl/video/lem_video.sv:132 ---------------------------------------------------------------- pixel layer line fetch lemmings.cpp:206-222: the last column of each rectangle and the last line are not drawn; docs/MAME_KLUDGES.md.
- rtl/video/lem_video.sv:204 Tile index: lemmings.cpp:130, TILEMAP_SCAN_COLS.
- rtl/video/lem_video.sv:210 Tile pixels: lemmings.cpp:187-196, tile t at sx = t[10:5]*8, sy = t[4:0]*8.
- rtl/video/lem_video.sv:225 ---------------------------------------------------------------- mix, lemmings.cpp:237-257
- rtl/video/lem_video.sv:262 Later entries overwrite earlier ones, as decospr.cpp:211 draws them.
- rtl/video/lem_video.sv:295 decospr.cpp:254-256, 263-273, 297-304 with flip_screen true: the two 240 - y and 304 - x cancel, both flips invert.
- README.md:3 A MiSTer FPGA core for Data East's Lemmings arcade hardware (DE-0357, MAME's `dataeast/lemmings.cpp`), built with Quartus Prime 17.0.2 Lite for the DE10-nano.
- README.md:58 | 68000, 14 MHz | main CPU | fx68k, vendored unchanged; boot trace equal to MAME's for 500,000 accesses |
- README.md:59 | MC6809E, 1.3425 MHz | sound CPU | mc6809i, vendored unchanged; chip writes equal to MAME's to frame 1500 |
- README.md:69 MAME gives only `set_refresh_hz(60)` and no raw timing; the 442-clock line comes from Data East boards of the same period in MAME (`supbtime.cpp`, `dassault.cpp
- README.md:130 **The mouse always drives player 1** and moves the cursor by its raw movement, where MAME scales it by 0.7.
- README.md:133 A grey in the credits text shows as 136 in a native screenshot where MAME and the bench give 144.
- README.md:169 MAME is the accuracy reference, with its own acknowledged uncertainties noted where they matter.
- README.md:172 68000 boot: 500,000 bus accesses equal to MAME's in order, direction, address, lanes and data (`sim/lem_boot_tb`).
- README.md:177 Whole board: the 68000's pixel-layer writes equal MAME's for 2,390,222 writes, to MAME frame 3005 (`sim/lem_top_tb`, `scripts/mame/pixtrace.lua`).
- README.md:179 Sound: through frame 1500, the 6809's M6295 writes and latch reads equal MAME's in order, and its YM2151 register writes equal MAME's as a set.
- README.md:189 The **MAMEdev team**, Bryan McPhail for `lemmings.cpp`, David Haywood and Charles MacDonald for `deco146`, for the driver and device emulations that are this co
- README.md:209 | `debug` | reference captures from MAME used as ground truth (gitignored) |
- README.md:210 | `roms` | your own MAME sets (gitignored, never committed) |
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 3
- README.md:63 | DECO 52/71, two sets | sprites | written from MAME's `decospr`, on jtframe's sprite draw; frames pixel-exact against MAME |
- README.md:64 | Pixel layer, tilemap, mix | video | written from the driver; frames pixel-exact against MAME |
- README.md:175 Video: RTL frames pixel-exact against MAME on four captures (attract, title, one-player level, two-player split), and against each rotated 180 degrees with flip
MAMEから移植・書き写した、または取り入れたと記載 — 3
- README.md:62 | DECO 75 (146-compatible) | protection, inputs, sound latch | ported from Arcade-DecoMLC; full table equal to a port of MAME's device |
- README.md:136 `docs/MAME_KLUDGES.md` lists what is taken from MAME as behaviour and what is known not to be right.
- README.md:174 DECO 146: 201,024 operations equal to a Python port of MAME's device (`sim/deco146_tb`).