← コア一覧
crospang (decoryah)
MAMEのソースを引用 — 48
- Crospang.sv:3 F2 System "Cross Pang" hardware (1997-1998): Cross Pang, Heuk Sun Baek Sa, Bestri, Pitapat Puzzle -- MAME's f32/crospang.cpp -- for MiSTer.
- Crospang.sv:6 Written for MiSTer from MAME 0.289's driver (src/mame/f32/crospang.cpp) and its sprite chip (src/mame/shared/decospr.cpp).
- Crospang.sv:157 ioctl index 254: byte 0 = SW1 (MAME's DSW port bits 7:0), byte 1 = SW2 (bits 15:8); a 1 is "off" (the switches are active low).
- Crospang.sv:166 keyboard: 1/2 start, 5/6 coin (MAME's defaults)
- Crospang.sv:189 No service button: every game reads the DIP switches once while it boots (tools/service.py), so the way into the test mode is the OSD's Service Mode switch and a reset, as in MAME.
- Crospang.sv:197 the board's inputs, active low (MAME's INPUT_PORTS crospang and the others): P1_P2: bit 0 up, 1 down, 2 left, 3 right, 4 button 1, 5 button 2, 6 button 3 (pitapat), 7 start 1; bits 8..15 the same for player 2 (15 start 2) COIN: bit 8 coin
- Crospang.sv:308 MAME mixes both chips into one speaker at route 1.0: the YM3812's 16-bit output plus the OKI's, which 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/cp_cen.sv:1 Clock enables from the 96 MHz machine clock, all derived from the board's one crystal (14.318181 MHz, MAME's XTAL(14'318'181)):
- rtl/cp_cen.sv:5 OKI crystal / 16 = 894.886 kHz (MAME's OKIM6295 clock; the driver notes it as unverified) cen_oki
- rtl/cp_core.sv:8 the picture shows the video RAMs as they were at the start of vertical blank (MAME)
- rtl/cp_core.sv:114 ---------------------------------------------------------------- the line renderer decospr hides a flashing sprite when the frame number is odd: the parity flips at every vertical blank (its phase against the board's cannot be known; the fr
- rtl/cp_main.sv:1 F2 System "Cross Pang" family board (MAME src/mame/f32/crospang.cpp): the 68000 side.
- rtl/cp_main.sv:24 Unmapped addresses read as 0 and swallow writes (MAME's defaults).
- rtl/cp_main.sv:45 vertical blank (MAME); 0: as they are while each line is drawn
- rtl/cp_main.sv:82 level 6 interrupt, held until acknowledged (MAME: irq6_line_hold)
- rtl/cp_main.sv:144 The CPU's tile and sprite RAMs are copied into the renderer's copies of them (`*_d`) by a sweep of 1024 clocks: once at the start of vertical blank when `vsnap` (MAME draws the whole frame at that moment, before the interrupt routine rewrit
- rtl/cp_main.sv:146 5.5 ms after the interrupt, measured in MAME with tools/lua/vwrites.lua), over and over otherwise (the copy then trails the CPU's writes by at most 11 us).
- rtl/cp_main.sv:193 ------------------------------------------------------------------ registers The raw scroll registers (100000-10000F as last written), the tile banks and the sound latch are plain latches: the machine's reset does not clear them (the game w
- rtl/cp_main.sv:196 `wv` marks a register that has been written: until then its scroll contribution is 0, as the MAME tilemap's.
- rtl/cp_main.sv:209 MAME hands a byte write to a 16-bit handler as the byte on both lanes (the log of the driver shows `0101 ff00`)
- rtl/cp_mem.sv:8 100000-2FFFFF tile ROM, MAME's "tiles" region SDRAM word 080000 (remapped, below: a tile row is 4 words)
- rtl/cp_mem.sv:15 In MAME's layouts (tlayout, tlayout_alt: 16 x 16, 4 planes, planes in the two halves of the region, 64 bytes per tile and half, two 8-pixel column groups 32 bytes apart, a row = 2 bytes) a word of the region at word offset r of half h is (t
- rtl/cp_render.sv:1 Line renderer: MAME's crospang_state::screen_update for one line (the one after the line being shown).
- rtl/cp_render.sv:9 Sprite placement (decospr.cpp draw_sprites_common, the 320-wide branch): y' = ((w0 & 1FF) + 7) & 1FF, signed 9 bit; yb = 240 - y'; a sprite of M + 1 tiles covers the lines yb - 16 * M ...
- rtl/cp_render.sv:17 byte is bit 7 - x. tiles: pen = {w0[hi], w0[lo], w1[hi], w1[lo]} sprites: pen = {w1[hi], w1[lo], w0[hi], w0[lo]} (MAME's tlayout_alt / tlayout)
- rtl/cp_sound.sv:1 The sound board (MAME crospang_state::sound_map / sound_io_map): a Z80 at 3.579545 MHz, its 48 KB program in block RAM (written by the loader), 2 KB of RAM, a YM3812 (jtopl2, Jose Tejada) at 3.579545 MHz whose IRQ drives the Z80's INT, an O
- rtl/cp_sound.sv:8 (global mask 0xFF; MAME's unmapped reads are 0; no NMI)
- rtl/cp_video.sv:4 MAME gives the board's picture as 320 x 240 at 60 Hz (a 512 x 256 total); the totals here are the usual 15 kHz arcade ones.
- rtl/cp_video.sv:5 A line is drawn (cp_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..511 sprites, 256..511 FG tiles, 512..767 BG tiles), a
- rtl/cp_video.sv:33 simulation only (sim/run.sh VFLAGS=-DSIM_RASTER_60HZ): MAME's exact 60.000 Hz, 96 MHz / 16 / 400 / 250, to tell the effect of the frame rate on the games' CPU-paced effects from anything else
- rtl/cp_video.sv:84 palette entry: xRGB555 (MAME palette_device::xRGB_555)
- README.md:3 The four games of MAME's `f32/crospang.cpp` driver, F2 System's bootleg-style "Tumble Pop" board (68000 at 7.16 MHz, Pitapat Puzzle at 14.32 MHz; Z80 with a YM3
- README.md:22 The title screens as MAME 0.289 draws them.
- README.md:24 Written for MiSTer from MAME 0.289's driver and its sprite chip (`decospr.cpp`).
- README.md:38 What was checked besides, in simulation and in the Quartus tool flow, against MAME 0.289 (details and numbers in `docs/status.md`):
- README.md:43 The video, against a reference renderer (`tools/crospang_ref.py`) that is MAME's `screen_update` and `decospr` written out: 0 differing pixels on 1,358 MAME fra
- README.md:48 The sound: the Z80's YM3812 traffic is MAME's frame by frame; the OKI's level within 0.5 dB of MAME's recording, the YM3812's within 0.6 dB (envelope correlatio
- README.md:78 The names come from the games' own help texts and from pressing each button in MAME.
- README.md:78 Cross Pang's third button goes beyond MAME 0.289, which leaves that input unknown: the game's demo shows buttons A, B and C, and C brings up new balls.
- README.md:82 For the test mode set the **Service Mode** DIP switch and reset the core (as in MAME).
- README.md:93 **DIP switches**: each game's, as MAME 0.289 defines them, with MAME's defaults.
- README.md:94 **Volume**: Normal is MAME's mix (the YM3812 plus 16 times jt6295's sum, both at MAME's route 1.0, clipped to 16 bits), then 6 / 12 / 18 dB lower.
- README.md:97 *At vblank (MAME)* (default) copies the tile and sprite RAMs and the scroll / bank registers at the start of vertical blank and draws the next frame from the co
- README.md:105 96 MHz machine clock; 68000 7.159 MHz (14.318 MHz for Pitapat Puzzle, as MAME runs it), Z80 and YM3812 3.579545 MHz, OKI 894.886 kHz (pin 7 high), dot clock 6 M
- README.md:106 MAME gives a 320 x 240 window at exactly 60 Hz with no vertical blank time; the board's real timing is not known.
- README.md:117 sim/run.sh <image> 2 <out> +state=<MAME state prefix> +first=1 +foff=-1 # one frozen MAME state, vs MAME's pixels sim/run.sh <image> <frames> <out> +inputs
- README.md:123 `tools/capture.py` with `tools/lua/dump_state.lua` makes MAME 0.289's states and input replays; `tools/crospang_ref.py`, `tools/corpus_rtl.py`, `tools/sys_match
- README.md:137 fx68k (Jorge Cwik), TV80 (Guy Hutchison), jtopl and jt6295 (Jose Tejada), MiSTer-CRT-Adjust (rmonic79), the Pocket Gaiapolis core's SDRAM controller and `mra_bu
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 2
- README.md:40 The ROM path: all 30 regions of the six sets are byte-identical to what MAME loads (`tools/crospang_rom.py check`), the loader's graphics remap decodes all 166,
- README.md:46 The whole machine from reset with MAME's inputs replayed: Cross Pang's frames 266 to 311 (the mode select and the start of play) pixel-identical to MAME's; Pita