← All cores
Arcade-NixPirates (ppriest)
Cites MAME source — 24
- NixPirates.sv:4 NIX's Pirates / Genix Family board (MAME src/mame/nix/pirates.cpp): sets in scripts/build_mra.py SETS.
- NixPirates.sv:43 Orientation: Auto follows the set, and every set is horizontal (pirates.cpp GAME lines, ROT0)
- NixPirates.sv:209 MAME's INPUTS (pirates.cpp 365-381), a byte per player, active low: up, down, left, right, buttons 1-3, start.
- NixPirates.sv:224 SYSTEM (383-400): 0 COIN1, 1 COIN2, 2 SERVICE1, 3 service mode (momentary, as MAME's PORT_SERVICE_NO_TOGGLE), active low; 4 the EEPROM's DO; 5, 6 unknown, read 0; 7 the protection bit, which MAME's prot_r reads as 1; 8-15 unknown, read 0.
- NixPirates.sv:245 out_w (pirates.cpp 289-301): 0 EEPROM CS, 1 CLK, 2 DI, 6 OKI bank, 7 unknown
- NixPirates.sv:272 After a write the 93C46 is busy, DO low, for MAME's write time (eeprom.cpp 42, 1750 us).
- NixPirates.sv:403 mono (pirates.cpp 460), the same on both channels; the menu reads Mono, None, 25%, 50%
- 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/np_dpram.sv:61 zero in simulation, as MAME's RAM; on the board M10K comes up zero from configuration (and Quartus refuses an initial loop past 5000 iterations)
- rtl/np_main.sv:8 Unmapped reads return 0 and unmapped writes are dropped, as MAME's. The second ports only read (np_dpram); other writers go through the CPU's port while it is paused.
- rtl/np_main.sv:12 I/O read data comes from the parent (inputs, SYSTEM with the EEPROM's DO and the protection bit, the M6295's status), so a bench can replay MAME's.
- rtl/np_main.sv:15 MAME's protection kludges, by the mod byte (rtl/np_rom_map.svh): pirates/piratesb program word 0x62c0 reads 0x6006 (init_pirates, 618) genix reads of 0x109e98/0x109e9a return 0x0004/0x0000; writes still reach work RAM (init_gen
- rtl/np_main.sv:107 bus_cs is every access, not only the ROM's: a write's strobes come out at S4, and DTACK, registered from them, would miss that phase's sample and cost a wait state the board does not have (sim/boot_tb: 22% of cycles at 7 phases, +4% clocks
- rtl/np_main.sv:176 MAME's split into the three layers is the video's business (352-356).
- rtl/np_sound.sv:3 The OKI M6295 (pirates.cpp 460): 24 MHz / 18 = 1.3333 MHz, pin 7 low, samples on SDRAM bank 3.
- rtl/np_video.sv:4 The video of src/mame/nix/pirates.cpp (186-285, 405-456), per scanline.
- rtl/np_video.sv:7 Visible 288 x 224, MAME's lines 16-239; IRQ1 at line 240.
- rtl/np_video.sv:9 tiles bg, fg, tx: jtframe_scroll each, 8x8 4bpp, column-major maps of code and colour words in one tile RAM at MAME's bases (352-356).
- rtl/np_video.sv:85 MAME's vblank start (wtiming: line 240)
- rtl/np_video.sv:101 Flip: the board has none (MAME), so it is the finished picture turned round.
- README.md:3 A MiSTer FPGA core for NIX's Pirates hardware (MAME's `nix/pirates.cpp`), built with Quartus Prime 17.0.2 Lite for the DE10-nano.
- README.md:56 David Haywood, Nicola Salmoria and Paul Priest, and the MAMEdev team, for `pirates.cpp`.
Says it was translated, ported or taken from MAME — 1
- rtl/np_main.sv:4 The 68000 and its memory map, from MAME src/mame/nix/pirates.cpp prg_map() (340-359).