← コア一覧
Arcade-Cischeat (ppriest)
MAMEとの相違点を記載 — 1
- README.md:111 Sprite zoom differs from MAME by a few thousand pixels a frame on zoomed sprites (one accumulator per sprite).
MAMEのソースを引用 — 42
- Cischeat.sv:229 The driver's ports are active low (cischeat.cpp, INPUT_PORTS_START( cischeat )).
- Cischeat.sv:233 Gear Shift is PORT_TOGGLE in MAME: each press flips low/high gear
- Cischeat.sv:274 The accelerator is the digital IN2 bit 4 on Cisco Heat and a PEDAL port elsewhere, 0x00 released to 0xff (cischeat.cpp 1320), read inverted on F1 GP Star (PORT_REVERSE).
- rtl/cischeat_board.sv:3 Cisco Heat board: main, two road and the sound 68000, their memory maps (jaleco/cischeat.cpp: cischeat_map 749, cischeat_map2/3 1013-1031, cischeat_sound_map 1112), the on-chip RAMs, the board registers, the sound gate array's handshake ove
- rtl/cischeat_board.sv:14 Unmapped reads return 0, as MAME's do on this board (the main CPU's read of 0x82308 in debug/cischeat-boot/cischeat_boot.trace).
- rtl/cischeat_board.sv:17 Audio: MAME's mix (1806-1815), the YM2151 at 0.50 to each side and each M6295 at 0.25 to both.
- rtl/cischeat_board.sv:96 ---- power-up fill: scroll RAM reads 0xffff after reset (ms1_tmap.cpp 130-137)
- rtl/cischeat_board.sv:196 cischeat_comms_w / f1gpstar_comms_w (cischeat.cpp 590-596, 638-644)
- rtl/cischeat_board.sv:257 Cisco Heat (cischeat_map, cischeat.cpp 749-787): link 088000, shared RAM road2 090000 / road1 098000 (Wild Pilot the reverse, docs/HACKS.md), scroll RAM 0a0000-0b7fff, palette 0b8000, 32 KB each.
- rtl/cischeat_board.sv:449 gate array: GS88000 on Cisco Heat, D65006 on Big Run, none on the F1 GP Star family (cischeat.cpp 1818-1841; ms1_gatearray.cpp 139-184, unlock sequences in ms1_gatearray.h 55, 69)
- rtl/cischeat_board.sv:733 MAME's copy is instant; this one takes 2,048 clocks, and a DMA and the latch copy wait for each other.
- rtl/cischeat_timing.sv:6 vcount is the driver's bitmap row: rows 16..239 are visible (Cisco Heat's MAME visarea ends at 231; the core shows the 224-line window), 240..259 and 0..15 are vblank.
- rtl/cpu/board_cpu.sv:14 irq_set[n] latches level n + 1 pending until the CPU acknowledges that level, as MAME's HOLD_LINE does.
- rtl/cpu/fx68k_bus.sv:32 One line was not enough: Cisco Heat's boot ROM checksum loop (0x2118-0x2123) spans two lines and refilled both every iteration, 41 frames behind MAME by frame 199.
- rtl/memory/cischeat_rom_transform.sv:3 The .mra holds the CPU programs in 68000 order (even byte first), and the board reads an SDRAM word as the 68000 word, so every word below CPU_TOP is byte swapped; on Big Run (D65006) and Cisco Heat (GS88000) the sound program is also bitsw
- rtl/memory/cischeat_rom_transform.sv:8 The F1 GP Star family and Wild Pilot have no gate array (cischeat.cpp 1818-1841) and a plaintext sound ROM.
- rtl/video/cischeat_mixer.sv:5 A sprite shadow sets bit 14 (MAME's shadow palette half) on whatever lies beneath it, once.
- rtl/video/cischeat_mixer.sv:8 Cisco Heat, screen_update_cischeat (cischeat.cpp 430-453), backdrop pen 0: road0 7..5 opaque; road1 7..5; tmap0; tmap1; sprites 7..3 (group 0); road0 4..1; road1 4..1; sprites 2 (1); road0 0; road1 0; sprites 1..0 (2); tmap2 MAME's last pas
- rtl/video/cischeat_mixer.sv:20 F1 GP Star, screen_update_f1gpstar (460-488), backdrop road0's colour base, road1 before road0: road1 6..7; road0 6..7; tmap0; tmap1; road1 1..5; road0 1..5; sprites 2..7 (group 0); road1 0; road0 0; sprites 1 (1); tmap2; sprites 0 (2) A zo
- rtl/video/cischeat_video.sv:3 Big Run, Cisco Heat and F1 GP Star video: three ms1_tmap_line, two road engines (jaleco_road_line, or jaleco_zoomroad_line on F1 GP Star) and one jaleco_zoomspr_line engine into double-buffered line buffers (up to seven sprite pass groups),
- rtl/video/cischeat_video.sv:71 Big Run: the last pass that draws priority p is max(p - 1, 0) (draw_sprites(i + 1, i), cischeat.cpp 399-423).
- rtl/video/cischeat_video.sv:270 MAME's shadow: (8-bit channel as float32) * 0.6, truncated, by 5-bit value
- rtl/video/jaleco_road_line.sv:4 Transcribes MAME's jaleco/jaleco_road.cpp as scripts/render_model.py models it.
- rtl/video/jaleco_zoomroad_line.sv:4 MAME: jaleco/jaleco_road.cpp, jaleco_zoom_road_device::draw.
- rtl/video/jaleco_zoomroad_line.sv:8 With z = zoom + 1, MAME's row starts at screen x xstart = 1024 - (scroll mod 2048) - z and a source pixel is z / 512 screen pixels wide.
- rtl/video/jaleco_zoomroad_line.sv:13 One accumulator spans the row: MAME draws each 64-pixel tile on its own, rounded up a pixel, so tile edges can differ by a pixel (docs/HACKS.md).
- rtl/video/jaleco_zoomspr_line.sv:3 Jaleco zoom sprites, the standard record format (Cisco Heat, F1 GP Star) or Big Run's (bigrun = 1, jaleco_zoomspr.cpp 196-235), one scanline at a time.
- rtl/video/ms1_tmap_line.sv:4 Transcribes MAME's jaleco/ms1_tmap.cpp as scripts/render_model.py models it.
- README.md:3 A MiSTer FPGA core for Jaleco's Cisco Heat driving-game hardware and its relatives (MAME's `jaleco/cischeat.cpp`), built with Quartus Prime 17.0.2 Lite for the
- README.md:33 Wild Pilot left out as I want to fix it in MAME and here
- README.md:59 | 68000 x4-5 | main, two road CPUs, sound, I/O (f1gpstr2, wildplt) | FX68K, vendored unchanged; main CPU boot traced against MAME |
- README.md:60 | Mega System 1 tilemaps x3 | 8x8/16x16 page-mapped scroll layers | written here from `ms1_tmap.cpp` |
- README.md:61 | Jaleco road x2 | per-line road layers; zooming on F1 GP Star and Wild Pilot | written here from `jaleco_road.cpp` |
- README.md:69 6.000 MHz pixel clock (48 MHz / 8), 384 x 260 total, 15.625 kHz and 60.096 Hz; 256 x 224 visible (Cisco Heat's MAME visible area is 216 lines).
- README.md:70 MAME declares only 60 Hz and a 256 x 256 screen, so the pixel clock is a hypothesis (`docs/ROADMAP.md`, Open items).
- README.md:97 Driving games: Brake, Gear Shift (toggles low/high, as MAME's `PORT_TOGGLE`), Accelerator, Horn (Big Run and Cisco Heat), Start, Coin, Pause, Service.
- README.md:148 MAME is the accuracy reference, with its own acknowledged uncertainties noted where they matter.
- README.md:151 Cisco Heat main CPU boot: 700,000 bus accesses against MAME, all matching (`sim/cischeat_boot_tb`, `docs/PHASE0.md`).
- README.md:155 ROM load: Cisco Heat's SDRAM image after DDR3, loader and transforms equals MAME's initialised regions, 7,864,320 words (`sim/rom_load_tb`).
- README.md:164 The **MAMEdev team**: Luca Elia for `cischeat.cpp`, `ms1_tmap`, `jaleco_road` and `jaleco_zoomspr`; Angelo Salese and David Haywood for `ms1_gatearray`.
- README.md:187 | `debug` | reference captures from MAME used as ground truth (gitignored) |
- README.md:188 | `roms` | your own MAME sets (gitignored, never committed) |
MAMEから移植・書き写した、または取り入れたと記載 — 2
- README.md:31 Based on MAME, but the sprite zooming uses a single accululator across tiles to avoid seams and be more like the hw presumably works
- README.md:117 `docs/MAME_KLUDGES.md` lists what is taken from MAME as behaviour and what is known not to be right.
MAMEの近似をそのまま採用 — 3
- rtl/cischeat_timing.sv:11 Interrupts, MAME's guess (cischeat.cpp 1719-1743, docs/MAME_KLUDGES.md): at row 240 the main CPU gets IRQ1 on odd frames and IRQ4 on even frames; at row 0, IRQ2 on even frames.
- rtl/video/jaleco_zoomspr_line.sv:4 Bit-exact to scripts/sprite_acc.py, which documents the algorithm and how it departs from MAME's per-tile scaling (docs/HACKS.md).
- README.md:113 Wild Pilot's road shared-RAM order differs from the other boards, from a patched MAME rather than stock (`docs/HACKS.md`).
MAMEドライバと同じ文言を含む(出典の明記なし) — 1