← コア一覧
supduck (decoryah)
MAMEのドライバにない実基板の資料を引用 — 1
- rtl/sd_sound.sv:5 0000-7FFF ROM 8000-87FF RAM 9000 (w) OKI bank 9800 OKI M6295 (r/w) A000 (r) sound latch
MAMEのソースを引用 — 46
- SuperDuck.sv:3 Comad "Super Duck" (1992) -- MAME's capcom/supduck.cpp -- for MiSTer.
- SuperDuck.sv:5 Written for MiSTer from MAME 0.289's driver (src/mame/capcom/supduck.cpp) and its sprite chip (src/mame/capcom/tigeroad_spr.cpp).
- SuperDuck.sv:162 ioctl index 254: byte 0 = DIP-A (MAME's DSW port bits 7:0), byte 1 = DIP-B (bits 15:8); a 1 is "off" (the switches are active low).
- SuperDuck.sv:163 Until the MRA's bytes arrive: MAME's defaults (BF, FF).
- SuperDuck.sv:172 keyboard: 1/2 start, 5/6 coin (MAME's defaults)
- SuperDuck.sv:188 The joysticks are 4-way (MAME's PORT_4WAY), filtered as MAME's digital_joystick::frame_update does it: opposite directions cancel; on a diagonal the direction that has just been added wins (a stick rolled from left to up-left goes up), and
- SuperDuck.sv:216 MAME's INPUT_PORTS give each player four buttons; the game reads only buttons 1 and 2 (tools/probe.py, docs/status.md), so only those are mapped and the other two stay released.
- SuperDuck.sv:217 No service button: the test mode is the OSD's Service Mode DIP switch and a reset, as in MAME.
- SuperDuck.sv:224 the board's inputs, active low (MAME's INPUT_PORTS supduck): P1_P2: bit 0 right, 1 left, 2 down, 3 up, 4..7 buttons 1..4; bits 8..15 the same for player 2 SYSTEM: bit 8 start 1, 9 start 2, 10 the vertical blank (sd_main puts it in), 13 ser
- SuperDuck.sv:338 MAME routes the OKI to the one speaker at 1.0.
- SuperDuck.sv:338 The OKI's output in MAME's units is 16 times jt6295's 14-bit sum of the voices (measured on the owner's ohmygod-mister core), clipped to 16 bits as MAME does.
- rtl/sd_cen.sv:1 The board takes every clock from its 8 MHz crystal (supduck.cpp: "All clock timing comes from crystal 1"):
- rtl/sd_core.sv:8 the picture shows the video RAMs as they were at the start of vertical blank (MAME)
- rtl/sd_main.sv:1 Comad "Super Duck" board (MAME src/mame/capcom/supduck.cpp, supduck_state::main_map): the 68000 side.
- rtl/sd_main.sv:20 Unmapped addresses read as 0 and swallow writes (MAME's defaults).
- rtl/sd_main.sv:36 the raster is in vertical blank (MAME's screen_device::vblank())
- rtl/sd_main.sv:40 vertical blank (MAME); 0: as they are while each line is drawn
- rtl/sd_main.sv:79 level 2 interrupt, held until acknowledged (MAME: irq2_line_hold)
- rtl/sd_main.sv:138 The tile RAMs are copied into the renderer's copies (`*_d`) by a sweep of 2048 clocks (21 us): once at the start of vertical blank when `vsnap` (MAME draws the whole frame at that moment, before the interrupt routine rewrites the RAMs), ove
- rtl/sd_main.sv:197 ------------------------------------------------------------------ registers The raw scroll registers (FE8000-FE8007 as last written) and the sound latch are plain latches: the machine's reset does not clear them (MAME's tilemap scrolls kee
- rtl/sd_main.sv:200 `wv` marks a register that has been written: until then its scroll is 0, as the MAME tilemap's (a written y register gives the tilemap -data - 256).
- rtl/sd_main.sv:246 SYSTEM bit 10 is the screen's vertical blank, active low as MAME reads it (the port's value XOR its active-low default)
- rtl/sd_mem.sv:8 040000-0BFFFF FG tile ROM, MAME's "fgtiles" SDRAM word 020000 (remapped, below: a tile row is 8 words)
- rtl/sd_mem.sv:16 The remaps put the words a row of a tile needs side by side: tiles (supduck.cpp tile_layout: 32 x 32, 4 planes, two in each half of the region, 256 bytes per tile and half; four 8-pixel column groups 64 bytes apart, a row = 2 bytes): the wo
- rtl/sd_render.sv:1 Line renderer: MAME's supduck_state::screen_update for one line (the one after the line being shown).
- rtl/sd_sound.sv:1 The sound board (MAME supduck_state::sound_map): a Z80 (2 MHz), its program in block RAM (written by the loader), 2 KB of RAM, an OKI M6295 (jt6295, Jose Tejada; 1 MHz, pin 7 high: sample rate clock / 132) reading its samples from SDRAM, an
- rtl/sd_sound.sv:6 (MAME's unmapped reads are 0; the interrupt acknowledge reads 0xFF: the bus floats high, RST 38h in IM 0 / IM 1)
- rtl/sd_video.sv:3 MAME's screen (supduck.cpp): set_raw(6000000, 384, 0, 256, 262, 16, 240): dot clock 6 MHz (96 MHz / 16), 384 dots a line (15.625 kHz), 262 lines a frame (59.637 Hz), dots 0..255 of lines 16..239 visible.
- rtl/sd_video.sv:4 The counters here are MAME's own: line 0 is MAME's vpos 0, so the picture is lines 16..239 and the vertical blank (and the board's interrupt) starts at line 240.
- rtl/sd_video.sv:9 A line is drawn (sd_render) while the one before it is shown, into the other half of the line buffer; the display reads the buffer, then the palette RAM (a 10-bit pen, MAME's numbers: 0..255 FG, 256..511 BG, 512..767 sprites, 768..1023 text
- rtl/sd_video.sv:23 MAME's vpos of the line (16..239)
- rtl/sd_video.sv:82 palette entry: MAME palette_device::xRGBRRRRGGGGBBBB_bit4: 5 bits a component, bits 14 / 13 / 12 the high bits of R / G / B
- README.md:3 MAME's `capcom/supduck.cpp` driver, Comad's 1992 board "roughly based off Bionic Commando, close to the Tiger Road / F1-Dream based Pushman / Bouncing Balls" (6
- README.md:15 Pictures from MAME 0.289; the core draws the same pictures (`docs/status.md`).
- README.md:17 Written for MiSTer from MAME 0.289's driver and its sprite generator (`tigeroad_spr.cpp`), on the owner's Silver Millennium core (the same platform layer: `rtl/
- README.md:48 | **Shot**: a shot straight up from the duck -- the game acts on it only in some states (in the opening play MAME shows no effect) | **Jump**: the duck jumps to
- README.md:50 MAME 0.289's INPUT_PORTS give each player four buttons; the game's input routine reads only the first two (buttons 3 and 4 appear only in the service mode's inp
- README.md:51 The names come from the game's code and pressing each button in MAME (`docs/status.md`).
- README.md:54 There is no service button: for the test mode set the **Service Mode** DIP switch and reset the core (as in MAME).
- README.md:64 **DIP switches**: MAME 0.289's, with MAME's defaults; the multi-bit ones (Coinage, Lives) as bit ranges with every setting.
- README.md:66 **Volume**: Normal is MAME's level (the OKI at route 1.0, clipped to 16 bits), then 6 / 12 / 18 dB lower.
- README.md:67 **Video RAM**: *At vblank (MAME)* (default) copies the tile RAMs and the scroll registers at the start of vertical blank and draws the next frame from the copy,
- README.md:76 The raster is MAME's: 384 x 262 total, 256 x 224 visible, 15.625 kHz, 59.637 Hz, with the sync pulses where the driver's notes put them (dots 306..333, lines 25
- README.md:87 sim/run.sh <image> 0 <out> +state=<MAME state prefix> # one frozen MAME state, vs MAME's pixels (<out>.ppm) sim/run.sh <image> <frames> <out> +i
- README.md:92 `tools/capture.py` with `tools/lua/dump_state.lua` makes MAME 0.289's states and input replays; `tools/supduck_ref.py` (a reference renderer written from the dr
- README.md:106 **MAME** (the supduck driver and the Tiger Road sprite device by David Haywood; BSD-3-Clause): the hardware knowledge, the oracle for every comparison, and the
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 1
- README.md:27 See `docs/status.md` for that test and for what was checked and how, against MAME 0.289, in simulation and in the Quartus tool flow.
MAMEから移植・書き写した、または取り入れたと記載 — 1
- rtl/sd_main.sv:174 MAME draws the frame at that moment from the buffer of the vertical blank before, then copies: with `vsnap` the renderer reads the other buffer (the one copied a frame earlier), so its picture is MAME's; without it, the one just copied (the
MAMEドライバと同じ文言を含む(出典の明記なし) — 2