← コア一覧
slapshot (decoryah)
MAMEとの相違点を記載 — 1
- rtl/ss_board.sv:193 The copy holds the two 8 K-word areas the chip reads (sprite RAM words 0x0000-0x1FFF, 0x4000-0x5FFF: MAME's areas 0 / 0x8000; the TC0200OBJ's A13 bit, word 0x2000, is not used by these games -- MAME ignores it).
MAMEのソースを引用 — 44
- Slapshot.sv:3 Taito Slap Shot / Operation Wolf 3 (1994) -- MAME's taito/slapshot.cpp -- for MiSTer: slapshot, slapshotj, opwolf3, opwolf3u, opwolf3j.
- Slapshot.sv:6 The board (rtl/ss_board.sv) is written from MAME 0.289's driver; its custom chips TC0480SCP (tilemaps) and TC0520TBC / TC0540OBN (sprites), the 68000's ROM cache, the loader, the SDRAM controller and the clocking come from the Taito F2 core
- Slapshot.sv:289 keyboard: 1 / 2 start, 5 / 6 coin, 9 service coin, F2 the test switch (held), as MAME's defaults
- Slapshot.sv:330 MAME's INPUT_PORTS (1 = pressed here; ss_board inverts)
- rtl/ss_adc.sv:1 ADC0809 on Operation Wolf 3's sub board (MAME 0.289 src/devices/machine/adc0808.cpp, clock 500 kHz): a write to 0xE00000 + 2 * n starts a conversion of input n (0 gun 1 X, 1 gun 1 Y, 2 gun 2 X, 3 gun 2 Y); one ADC clock later it is ready, 6
- rtl/ss_board.sv:1 Taito Slap Shot / Operation Wolf 3 (MAME 0.289 src/mame/taito/slapshot.cpp): the machine, without the platform (SDRAM, DDR3, loader, video output) of the top level.
- rtl/ss_board.sv:4 68000 at 16 MHz (32 MHz / 2: MAME's choice of the board's two crystals), slapshot_map / opwolf3_map: 000000-1FFFFF program ROM (slapshot 1 MB, opwolf3 2 MB; SDRAM behind the F2 core's rom_cache) 500000-50FFFF work RAM 600000-6
- rtl/ss_board.sv:37 the TC0640FIO ports' bits as MAME's INPUT_PORTS (1 = pressed)
- rtl/ss_board.sv:187 SPRITES: TC0200OBJ (the F2 core's) on a snapshot of its RAM MAME (slapshot_v.cpp) draws the sprite list and the code extension as they are at vertical blank.
- rtl/ss_board.sv:246 the code extension (0x700000): the high byte of word n is bits 15-8 of the code of sprite entry n (entries 0x000-0x3FF of bank 0, 0x400-0x7FF of bank 1 -- MAME: "spriteram[0x4000-7fff] has no corresponding extension area")
- rtl/ss_board.sv:328 TC0640FIO (MAME taitoio.cpp: ports 0-3 and 7 read, 4 = the coin control written back, the others 0xFF) 1 COINS, 2 BUTTONS, 3 SYSTEM (C00020 mirror: bit 4 = the service switch), 7 JOY; 0 is unconnected
- rtl/ss_color.sv:1 The colour stage: the TC0360PRI's sprite / tile priorities and the palette (TC0650FDA: 8192 entries of xRGB 888, MAME's palette_device xRGB_888 at 0x900000-0x907FFF, two big-endian words per entry), after MAME 0.289's slapshot_v.cpp screen_
- rtl/ss_color.sv:9 Sprites use the palette's first half (6 bpp: colour / 4 * 64 + dot), the tilemaps the second (MAME's col_base 4096).
- rtl/ss_color.sv:35 ---- TC0360PRI (write only; MAME reads back registers 4-9)
- rtl/ss_guns.sv:3 The light guns of Operation Wolf 3 (MAME 0.289 slapshot.cpp, INPUT_PORTS opwolf3: GUN1X / GUN1Y / GUN2X / GUN2Y, IPT_LIGHTGUN_X / _Y through the ADC0809), taken from the owner's seta2-mister core (rtl/s2_guns.sv, itself after ppriest's gx_g
- rtl/ss_guns.sv:14 The ports read v as MAME's lightgun fields do, linearly across the picture over PORT_MINMAX(0x10, 0xF0), X reversed (PORT_REVERSE): X = 0xF0 - v * 224 / 255, Y = 0x10 + v * 224 / 255, here (v * 225) >> 8, exact at both ends.
- rtl/ss_guns.sv:16 The crosshair (OSD) marks v / 256 of the 320 x 224 picture, as MAME draws its own.
- rtl/ss_guns.sv:26 { Y, X } in MAME's units (the ADC's values)
- rtl/ss_nvram.sv:5 The bytes are the chip's in order, as MAME's mk48t08 file.
- rtl/ss_nvram.sv:6 Without a saved file the RAM is filled when the ROM image is through (8192 clocks, the machine held in reset; a file that comes cuts it short, one that came first skips it): Slap Shot all 0xFF, as MAME's timekeeper starts (the game
- rtl/ss_nvram.sv:11 The game's own first boot draws its calibration targets upside down and black (the empty RAM's settings word has DISPLAY REVERSE set; MAME 0.289 does the same), so a gun aimed at them is calibrated wrongly; set up, the game's aim is where s
- rtl/ss_nvram.sv:13 Made with MAME 0.289 (the first boot with these ADC values; the three sets alike): work/nvdef/.
- rtl/ss_sound.sv:2 MAME 0.289 slapshot.cpp sound_map: 0000-3FFF ROM, 4000-7FFF ROM bank (F200 & 3, 16 KB pages of the 64 KB ROM), C000-DFFF RAM, E000-E003 YM2610B, E200 TC0140SYT slave port (write), E201 slave comm, E400-E403 pan (ignored), F200 bank.
- rtl/ss_sound.sv:5 The TC0140SYT is MAME's taitosnd.cpp: nibble mailboxes both ways, the status register, the Z80's NMI while a mailbox from the 68000 is full and the Z80 has NMIs on (modes 5 / 6), and the Z80's reset held while the 68000's mode 4 value is no
- rtl/ss_sound.sv:8 The mix follows the F2 core's audio_mix.sv (two low-pass stages, the SSG added), in stereo: MAME routes the YM2610B's FM / ADPCM outputs left and right at 1.0 and the SSG to both at 0.75.
- rtl/ss_timekeeper.sv:1 MK48T08 timekeeper (MAME 0.289 src/devices/machine/timekpr.cpp): 8 KB of battery-backed RAM whose last eight bytes are the clock: 0x1FF8 control (bit 7 W: write the clock, bit 6 R: freeze the read registers), 0x1FF9 seconds (bit 7 ST: the o
- rtl/ss_timekeeper.sv:3 These games keep their settings (MAME: "DIPs in nvram") and the high scores here.
- rtl/ss_timekeeper.sv:6 As MAME: the counters run once a second unless ST or W is set; they are copied into the RAM after each tick unless R is set; clearing W loads the counters from the RAM; clearing R (with W clear) copies the counters into the RAM.
- rtl/system_consts.sv:7 SDRAM (32 MB modules and up; this core uses the first 8 MB): 0x000000 68000 program (slapshot 1 MB, opwolf3 2 MB), 16-bit words, the 68000's byte order 0x200000 YM2610 ADPCM-A samples (512 KB / 2 MB) 0x400000 TC0480SCP tiles (1 MB / 4 MB
- rtl/tc0200obj.sv:5 1: each entry's position (words 2 / 3 with the master and extra offsets) worked out as the list is read, in the order it is drawn (MAME); 0: the F2 core's, from words 6 / 7 that the vertical-blank DMA wrote over the area selected at that ti
- rtl/tc0480scp.sv:169 slapshot-mister: a dot is (256 - zoom) / 256 of a source pixel (MAME's tc0480scp.cpp: 0x10000 - (zoom << 8)), where the F2 core stepped (255 - zoom) / 256 -- one dot slipped every 256 even without zoom
- rtl/tc0480scp.sv:268 slapshot-mister: the text layer's origin against the background layers' (MAME's per-game offsets_tx: Slap Shot's text sits a dot right and a line down of the F2 games')
- rtl/tc0480scp.sv:317 slapshot-mister: which background layers (bit = layer number) have an opaque dot here, aligned with SD; the mixer hides a sprite behind any of them that has a higher TC0360PRI priority (MAME's slapshot_v.cpp primasks)
- rtl/tc0480scp.sv:590 slapshot-mister: 64 x 64 text tiles in both widths (MAME's tc0480scp.cpp; Slap Shot switches to the double width with text on screen), where the F2 core had 128 x 32 in the double width
- README.md:3 The games of MAME's `taito/slapshot.cpp` driver, Taito's 1994 board (68000 at 16 MHz; Z80 with a YM2610B; the TC0480SCP tilemap chip, the TC0520TBC / TC0540OBN
- README.md:19 These pictures come from MAME 0.289's attract mode.
- README.md:21 Written for MiSTer from MAME 0.289's driver.
- README.md:102 +state=<MAME state> # MAME's video RAMs frozen, the core's picture vs MAME's sim/sys/run.sh <image> <frames> ...
- README.md:103 SEQ=<dir>/f,<first>,<n> # MAME's consecutive states through the CPU's RAM sim/sys/run.sh <image> <frames> # the whole machine from
- README.md:108 `tools/slapshot_rom.py image <set>` makes a ROM image; `tools/slapshot_rom.py check <set>` compares it with MAME's loaded regions.
- README.md:109 `tools/capture.py` with `tools/lua/dump_state.lua` makes MAME's states.
- README.md:112 These tools expect a scratch folder `work/` next to the repository, for MAME's dumps and the ROM images; it is never committed.
- README.md:122 **MAME**: the slapshot driver (David Graves) and the devices it uses.
- README.md:122 MAME supplied the hardware knowledge and was the oracle for every comparison.
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 1
- README.md:31 `docs/status.md` describes what was checked against MAME 0.289 and how: in simulation and in the Quartus tool flow.
MAMEドライバと同じ文言を含む(出典の明記なし) — 2