← All cores
Arcade-Pandora (ppriest)
Cites hardware documentation that MAME's driver does not — 2
- README.md:41 SemiCom's protection is either the dumped 87C52 MCU, run on the core, or MAME's 512-byte `protdata` image copied into work RAM at reset.
- README.md:54 | Hyper Pacman | 1995 | SemiCom | SemiCom, MCU | the dumped 87C52 runs on the core |
Cites MAME source — 45
- Pandora.sv:3 MiSTer glue for the Snow Bros / SemiCom Pandora boards (MAME kaneko/snowbros.cpp), wiring rtl/snowbros_top.sv into the framework.
- Pandora.sv:149 MAME's default keys beside the pads (rtl/mame_keys.sv).
- Pandora.sv:157 Three layouts, from INPUT_PORTS (line numbers in snowbros.cpp): active low (snowbros 565-644, finalttr 1613-1690, 4in1boot): bits 8-14 of DSW1 / DSW2 UP, DOWN, LEFT, RIGHT, B1, B2, B3 of each player, the DSW in bits 7-0; SYSTEM bits 8-11 ST
- rtl/cpu/gx_ss_m68k.sv:41 MAME keeps the same convention: PC past the STOP and a stopped flag.
- rtl/cpu/maincpu.sv:1 SPDX-License-Identifier: GPL-3.0-or-later Main CPU: 68000 and its address decode, for snowbros.cpp's snowbros_map (182-198), hyperpac_map (341-356), finalttr_map (491-507) and yutnori_map (MAME master).
- rtl/cpu/maincpu.sv:10 Board variants, from the .mra mod byte: semicom ROM window 1 MB, no flip, no sound-latch read (hyperpac_map); else 256 KB wram64 work RAM 0x100000-0x10FFFF; else 0x100000-0x103FFF (snowbros, finalttr) cpu12 12 MHz; else 8 MHz (snowbro
- rtl/cpu/maincpu.sv:19 Interrupts are ASSERT_LINE at lines 32 (level 4), 128 (3) and 240 (2) and stay asserted until the game writes the level's acknowledge address (snowbros.cpp 119-139); the CPU sees the highest pending level, autovectored.
- rtl/cpu/maincpu.sv:23 Pandora sprite RAM is 4 KB of bytes, one per word: a write stores the byte of the lane written (the low lane when both), a read returns it on both lanes (kan_pand.cpp 248-265).
- rtl/mame_keys.sv:1 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 own positions (parameters).
- rtl/mame_keys.sv:7 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:24 MAME's Service 1, 2: wire to the board's SERVICE1/2 bits, if any
- rtl/mcu/jt8052/jt8052.v:32 [DW] P2 was written at the last enable (dreamwld.cpp prot_p2_w)
- rtl/mcu/jt8052/jt8052.v:33 [SB] P0 was written at the last enable (snowbros.cpp prot_p0_w)
- rtl/mcu/jt8052/jt8052_periph.v:33 [EO] the 8052's timer 2 (T2CON 0xc8, RCAP2 0xca/0xcb, TL2/TH2 0xcc/0xcd, vector 0x2b, ET2 IE.5, PT2 IP.5): timer and capture modes on the machine cycle, as MAME's i8052 update_timer_t2.
- rtl/mcu/snowbros_mcu.sv:1 SPDX-License-Identifier: GPL-3.0-or-later The SemiCom protection MCU of hyperpac and cookbib2: an AT89C52 / 87C52 at 16 MHz (jt8052) running its own 8 KB program, writing the 68000's work RAM through its ports (snowbros.cpp prot_p0_w, prot_
- rtl/mcu/snowbros_mcu.sv:10 MAME connects no port inputs or interrupts; they read idle here.
- rtl/memory/dl_xform.sv:5 graphics row-linear (scripts/gfx_layout_check.py): within each 128-byte tile the byte address bits are permuted, and SemiCom's layout also swaps nibbles Toaplan dst = {s6, s4, s3, s2, s5, s1, s0} SemiCom dst = {s4, s6, s2, s3, s0, s1, s
- rtl/snowbros_core.sv:1 SPDX-License-Identifier: GPL-3.0-or-later The board: 68000 (maincpu), work RAM, the Pandora video, the Toaplan sound board, the SemiCom protection (the MCU, or MAME's protdata image copied at reset), from snowbros.cpp.
- rtl/snowbros_core.sv:6 The 68000 is held while the copy runs, as MAME does it in machine_reset (1915-1929).
- rtl/snowbros_core.sv:10 MAME's flip, 240 - pos with the tile flipped, is exactly the unflipped picture turned 180 degrees in the visible window.
- rtl/snowbros_core.sv:101 no_rw_check: port B (the protection) and port A (the 68000) are never ordered against each other in MAME either; without it Quartus will not infer the mixed-port memory
- rtl/snowbros_core.sv:165 the register's reset value: the Pandora is unflipped (kan_pand.cpp device_start)
- rtl/snowbros_core.sv:233 yutnori: M6295s at 2 MHz (16 MHz / 8, mamedev/mame#16478), the command byte at 0x400001, MAME's scanline 0 the start of line 0 here
- rtl/video/pandora_line.sv:3 MAME draws the list into a bitmap at vblank start and shows it the next frame (kan_pand.cpp eof() 203-211, update() 124-127); drawing each line of that frame from the same list, in the same entry order, gives the same pixels.
- rtl/video/pandora_line.sv:14 MAME's sets measured at most 73 records on a line (docs/sprite_load_mame.txt).
- rtl/video/pandora_resolve.sv:1 SPDX-License-Identifier: GPL-3.0-or-later The Pandora's list, resolved once a frame at vblank start: kan_pand.cpp eof() draws the whole list there, so the positions it uses are fixed there (draw(), 130-201).
- rtl/video/pandora_resolve.sv:8 MAME's x and y are ints and the drawn position is sext9(pos & 0x1FF) after the flip's 240 - pos, so the running position is kept mod 512: 9 bits.
- rtl/video/pandora_resolve.sv:12 The code is taken mod the tile count, as MAME's gfx element wraps it (drawgfx `code % elements()`; docs/MAME_KLUDGES.md), by up to three subtractions: every in-scope set has at least 4096 tiles of a 14-bit code.
- rtl/video/snowbros_video.sv:3 snowbros.cpp screen_update (102-108) fills the screen with pen 0xF0 and copies the Pandora's bitmap over it with pen 0 transparent; the Pandora clears its bitmap to bg_pen (0, or 0xC0 for pzlbreak, init_pzlbreak 3290), which shows where not
- rtl/video/video_timing.sv:2 MAME gives 57.5 Hz, 262 lines and rows 16-239 visible (snowbros.cpp 1945-1948) and no horizontal timing; the total of 354 makes 57.50 Hz from 16 MHz / 3.
- rtl/video/video_timing.sv:7 Line numbers are MAME's: the interrupts fire at the start of lines 32, 128 and 240 (snowbros.cpp 127-139), vblank starts at line 240.
- README.md:3 hardware and SemiCom's boards built on it, all using Kaneko's Pandora sprite chip (MAME's `kaneko/snowbros.cpp`), built with Quartus Prime 17.0.2 Lite for the D
- README.md:41 SemiCom's protection is either the dumped 87C52 MCU, run on the core, or MAME's 512-byte `protdata` image copied into work RAM at reset.
- README.md:46 Every one has run on the DE10-nano to attract mode, and the author has judged picture and sound against MAME.
- README.md:68 | Puzzle Yutnori (Korea) | 1999 | Nunal | Yutnori | its own map; two M6295 driven as MAME's stand-in for the undumped PIC |
- README.md:88 | MAME description | Why |
- README.md:90 | The Winter Bobble, Snow Bros. (Winter Bobble hardware), Honey Doll, Twin Adventure, Multi Game '96, Snow Bros. 3, Ball Boy | bootleg video boards: other sprit
- README.md:108 MAME gives 57.5 Hz and 262 lines (`set_refresh_hz`, `set_size`) but no dot clock or horizontal total.
- README.md:274 MAME is the accuracy reference, with its own acknowledged uncertainties noted where they matter.
- README.md:286 68000 from MAME save states: writes and I/O reads match until an interrupt lands at a different instruction; five frames on, toppyrap, pzlbreak, moremore, morem
- README.md:289 Sound: the chip writes against MAME's, in order: snowbros 29,127 of 29,127 (2.85 s), hyperpac 1,541 of 1,541 (900 ms), finalttr 2,561 of 2,561 (700 ms).
- README.md:290 yutnori against MAME's voice states: 44 of 44 sample starts and 42 of 42 stops over 41 s.
- README.md:298 The **MAMEdev team**: David Haywood and Mike Coates for `kaneko/snowbros.cpp`, David Haywood and Luca Elia for the Pandora (`kaneko/kan_pand.cpp`), and the devi
- README.md:318 | `debug` | reference captures from MAME used as ground truth (gitignored) |
- README.md:319 | `roms` | your own MAME sets (gitignored, never committed) |
Says it matches, follows or was checked against MAME — 8
- README.md:96 | MC68000, 8 MHz (Toaplan) or 12 MHz (SemiCom) | main CPU | TG68K.C, vendored from the KonamiGX core; checked against MAME from restored states |
- README.md:98 | YM3812 | Toaplan FM | jtopl2 (jotego); chip writes match MAME |
- README.md:99 | YM2151 | SemiCom FM | jt51 (jotego); chip writes match MAME |
- README.md:100 | OKI M6295 | SemiCom ADPCM | jt6295 (jotego); commands match MAME |
- README.md:101 | PIC (undumped) | yutnori protection and sound control | MAME's high-level stand-in (mamedev/mame#16478) in RTL: the protection reply and a command sequencer i
- README.md:103 | Kaneko Pandora | sprites | written here from `kan_pand.cpp`; a per-line engine fed from the list fixed at vblank, pixel-exact against MAME |
- README.md:279 Graphics: the Pandora software model pixel-exact against MAME, 35 of 35 frames of the first sets, 33 of 33 frames of the ten later ones and 9 of 9 of sutjarod,
- README.md:284 68000, whole core through the SDRAM model: snowbros' boot matches MAME on 12,702 of 12,702 writes; finalttr's on 12,222 writes, up to an interrupt-timing diverg
Says it was translated, ported or taken from MAME — 1
- README.md:240 `docs/MAME_KLUDGES.md` lists what is taken from MAME as behaviour and what is known not to be right.
Keeps a MAME approximation — 2