← コア一覧
Shanghai3 (YoAaronD)
実基板での測定値を記載 — 4
MAMEのソースを引用 — 25
- Shanghai3.sv:156 SYSTEM (MAME shangha3): 0 coin1, 1 coin2, 2 service1 (service credit), 3 start1, 4 start2, 5 service-mode switch (OSD "Service Mode").
- rtl/shangha3_blitter.sv:3 Behavior follows MAME shangha3.cpp's description of the chip and is checked pixel-for-pixel against our software model (sim/refmodel/blitter.c).
- rtl/shangha3_blitter.sv:118 MAME's blitter draws instantly at "go", so a queued run must see RAM exactly as it was at its go: while a run is queued, the board holds every CPU write to the list and tilemap areas until that run's own snapshot has copied them (scan_from
- rtl/shangha3_blitter.sv:195 draw from the snapshots; work RAM is not touched The board holds CPU writes to RAM the blitter has yet to read, which gives the same result as MAME's instantaneous blitter.
- rtl/shangha3_blitter.sv:241 MAME darkens a second time through its generic shadow bank, which the PCB does not (Aaron's cursor videos, 20261024).
- rtl/shangha3_board.sv:3 Behavioural reference: MAME src/mame/sunelectronics/shangha3.cpp (BSD-3-Clause, Nicola Salmoria).
- rtl/shangha3_board.sv:4 No MAME code is included here.
- rtl/shangha3_board.sv:209 Address decode (MAME shangha3_state::program_map)
- rtl/shangha3_board.sv:321 Protection at 20004E: MAME returns this sequence on successive reads
- rtl/shangha3_board.sv:491 On the PCB the title, mode select and zodiac screens run at 30 updates per second and gameplay and the demo at 60 (Aaron's videos; the mode-select timeout takes 14.9 s on the PCB and 7.4 s in MAME).
- rtl/shangha3_board.sv:520 MAME's blitter is instantaneous.
- rtl/shangha3_video.sv:12 Each frame shows what was drawn before vblank, which puts each blitter result one frame later than MAME (measured with scripts/mame_latency.py; see docs/DEVELOPMENT.md).
- rtl/shangha3_video.sv:24 Entries with bit 11 set use the darkened shadow bank (x0.6, as in MAME).
- rtl/shangha3_video.sv:73 Board reset (including every ROM download) clears the draw buffer, as MAME starts with an empty bitmap.
- rtl/shangha3_video.sv:296 5-bit colour -> 8 bits; shadowed pixels x0.6 (as in MAME).
- rtl/shangha3_video_timing.sv:6 MAME uses 263 lines (59.41 Hz) and notes "refresh rate is unknown"; the core used that until v0.1.8 (OSSC: "263-p, 59.40 Hz").
- rtl/shangha3_video_timing.sv:9 HSYNC / VSYNC positions are NOT known (MAME doesn't need them).
- rtl/shangha3_video_timing.sv:33 PCB-measured (MAME: 263)
- README.md:22 Use a MAME 0.289 set (`mame -verifyroms shangha3j`).
- README.md:30 Copy the ROM zip(s) to `/media/fat/games/mame/`.
- README.md:40 (MAME shows solid flashes there.)
- README.md:104 **One frame of display delay** compared with MAME: each new picture appears about 17 ms later.
- README.md:110 See [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md): Quartus build, simulations, the MAME comparison tools, and how the core was verified.
- README.md:120 **The MAME team:** the `shangha3.cpp` driver by Nicola Salmoria, used as a behavioral reference.
- README.md:120 No MAME code is in the core.
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 1
- README.md:12 It was checked against MAME and against a real Shanghai III PCB: boot, picture, gameplay and sound balance.