← コア一覧
Arcade-SetaDowntown (ppriest)
MAMEのドライバにもある実基板の情報・測定値を引用 — 2
実基板で確認したと記載 — 3
- rtl/downtown/downtown_board_cfg.sv:142 272 lines = 57.44 Hz (downtown, twineagl: 57.42 in MAME, "verified on pcb" for downtown); 264 lines = 59.19 Hz (metafox, arbalest: MAME's 59.1845, Thundercade's PCB measurement).
- README.md:115 MAME gives only refresh rates, and the `downtown.cpp` sets carry no "verified on PCB" comment.
- README.md:117 Confirmed on a PCB: Guru's measurement of Caliber 50 (`downtown.cpp`, same X1-001 / X1-007 / X1-012 chipset) is **HSync 15.6250 kHz, VSync 57.4449 Hz** on X1-00
MAMEとの相違点を記載 — 1
- README.md:169 See `docs/MAME_DIVERGENCE.md` for cases that are considered 'hacks' from MAME, and also any cases where we diverge from MAME.
MAMEのソースを引用 — 73
- SetaDowntown.sv:3 Seta X1-010 hardware for MiSTer -- seta/seta.cpp, Group A.
- SetaDowntown.sv:303 downtown.cpp's coins are PORT_IMPULSE(5): a press is five frames of coin, however long the button is held (a held coin miscounted on DownTown and Twin Eagle).
- rtl/cpu/maincpu.sv:53 Undriven reads are zero, as MAME's unmapped reads.
- rtl/cpu/maincpu.sv:197 downtown.cpp downtown_map
- rtl/cpu/maincpu.sv:215 downtown.cpp calibr50_map
- rtl/cpu/maincpu.sv:234 downtown.cpp tndrcade_map
- rtl/cpu/seta_irq.sv:5 seta.cpp's ipl0/1/2_ack_w clear levels 1/2/4.
- rtl/downtown/downtown_board_cfg.sv:1 Per-game constants for the downtown.cpp boards, selected by the .mra mod byte: what seta_core and the shared Seta chip modules take, plus the sub CPU's. Values from each set's machine_config and memory map in MAME's seta/downtown.cpp.
- rtl/downtown/downtown_board_cfg.sv:90 calibr50: tile scroll taken each line, tile VRAM written live (its scroll is changed mid-frame; MAME redraws at each write)
- rtl/downtown/downtown_board_cfg.sv:142 272 lines = 57.44 Hz (downtown, twineagl: 57.42 in MAME, "verified on pcb" for downtown); 264 lines = 59.19 Hz (metafox, arbalest: MAME's 59.1845, Thundercade's PCB measurement).
- rtl/downtown/downtown_board_cfg.sv:195 downtown, twineagl: sprite Y written 0-24 lines after vblank start (248), codes through the frame, ending by about line 208 (MAME, scripts/write_timing.py).
- rtl/downtown/downtown_board_cfg.sv:199 MAME draws at 248, before them.
- rtl/downtown/downtown_board_cfg.sv:247 Sprites: flipped at line 249 every frame, Y written from 248 through line 15 (MAME, 900 frames).
- rtl/downtown/downtown_board_cfg.sv:250 MAME draws at vblank start, 248, before any of it.
- rtl/downtown/downtown_board_cfg.sv:254 224 lines; MAME's 60 Hz, Guru's PCB measurement 59.1845 Hz.
- rtl/downtown/downtown_board_cfg.sv:267 No page flip and no setac_eof: one sprite list, written from line 248 (Y) through about line 100 (codes) -- MAME, 900 frames (scripts/write_timing.py tndrcade).
- rtl/downtown/downtown_board_cfg.sv:271 MAME draws at vblank start, 240, inside the quiet window: take it as the engine starts rendering line 240.
- rtl/downtown/downtown_board_cfg.sv:276 A PCB recording flickers the same way (README), so the frames are drawn as they come, as MAME does.
- rtl/downtown/downtown_sub.sv:1 The downtown.cpp boards' 65C02 sub CPU: T65 (rtl/cpu/t65c02.vhd) and what each map puts on its bus.
- rtl/downtown/rotary_input.sv:1 Rotary joysticks for the downtown.cpp games, with the controls the Ikari Warriors core (MiSTer-devel/Arcade-IkariWarriors_MiSTer) gives: Rotate Left and Rotate Right buttons step the stick while held, at the OSD's Rotary Speed, and a GRS Su
- rtl/memory/gfx_swizzle.sv:1 MAME's gfx1 (RGN_FRAC(1,2) 4bpp) keeps a tile row's four 16-bit words in four places; permuted, a row is one 64-bit SDRAM granule addressed by {tile, yh, yl}.
- rtl/memory/seta_sdram_top.sv:1 SDRAM: every ROM the core reads at runtime, on one chip through sdram.sv's three fixed-priority ports (port 0 preempts 1, 1 preempts 2): port 0 sprite and tile graphics (arbiter, 3 clients) port 1 X1-010 samples (byte bridge
- rtl/memory/seta_sdram_top.sv:8 Address map, per layout (bases below; scripts/build_mra.py reads the localparams, so every .mra loads to these offsets): A maincpu 0, gfx1 1M (2 MB), x1snd 3M B maincpu 0, gfx1 1M (1 MB), gfx2 2M, x1snd 4M C maincpu 0, gfx1 2M (4 MB), gf
- rtl/memory/seta_sdram_top.sv:89 downtown.cpp "sub" region, byte address (SUB)
- rtl/memory/seta_sdram_top.sv:138 LAYOUT_G: downtown.cpp
- rtl/seta_core.sv:170 downtown.cpp's tile bank, declared before seta_video uses it (ModelSim)
- rtl/seta_core.sv:628 tndrcade: YM2203 (DSW 1 on port A, DSW 2 on port B: dsw1_r / dsw2_r) and YM3812, both 16 MHz / 4; mixed 0.35 and 0.5 as MAME routes them
- rtl/video/seta_palette.sv:1 X1-006 palette RAM: xRRRRRGGGGGBBBBB words, looked up per pixel, expanded with MAME's pal5bit, (v << 3) | (v >> 2).
- rtl/video/seta_video.sv:31 setac_eof, and whether MAME draws after it (x1_001.sv)
- rtl/video/seta_video.sv:144 every line start, with the line starting (MAME's numbering)
- rtl/video/seta_video_timing.sv:1 MAME gives only refresh rates and visible areas; the totals come from seta_board_cfg.sv (8 MHz dot clock, htotal 512).
- rtl/video/seta_video_timing.sv:3 `line` is MAME screen-space y.
- rtl/video/seta_video_timing.sv:30 the line starting, as MAME numbers it (scanline timers), with line_start
- rtl/video/seta_video_timing.sv:32 MAME scanline 240
- rtl/video/seta_video_timing.sv:33 MAME scanline 112
- rtl/video/x1_001.sv:2 Reference: scripts/x1_001_model.py (MAME's video/x1_001.cpp), checked by sim/x1_001_tb.
- rtl/video/x1_001.sv:11 Per scanline L, MAME's four wrap copies reduce to: fg: covered iff ((L + Y) & 0xff) < 16, Y = (sy + fg_yoffs) & 0xff bg: row r = (L - S0) >> 4, S0 = -(scrolly + bg_yoffs) x: (sx + xoffs) & 0x1ff on a 512-wide buffer
- rtl/video/x1_001.sv:69 VIDEO_UPDATE_AFTER_VBLANK: MAME runs the copy, then draws
- rtl/video/x1_001.sv:133 Games rewrite the list mid-frame (daioh, eightfrc at line 112); MAME draws at vblank.
- rtl/video/x1_001.sv:178 setac_eof, at vblank, in MAME's order for the board (docs/MAME_DIVERGENCE.md, "setac_eof: the copy and the draw").
- rtl/video/x1_001.sv:180 Draw-then-copy boards (drgnunit, stg, qzkklogy, qzkklgy2, msgundam): MAME draws at vblank start from the RAM as it stands, then copies.
- rtl/video/x1_001.sv:229 MAME draws at vblank from the half selected then, as it stands then; the game may keep writing other halves right through the frame (stg does), so there is no settled moment to copy both.
- rtl/video/x1_001.sv:617 MAME draws offs 2r then 2r+1
- rtl/video/x1_011_index.sv:1 MAME's colortables (gundhara_palette, jjsquawk_palette, zingzip_palette, blandia_palette) reduce to arithmetic:
- rtl/video/x1_012.sv:2 Reference: scripts/x1_012_model.py (MAME's video/x1_012.cpp).
- rtl/video/x1_012.sv:53 downtown.cpp twineagl_tile_offset: codes 0x3exx take bits 13-7 from one of four bank bytes (>> 1), selected by code bits 8-7
- rtl/video/x1_012.sv:59 bank select and scroll are latched at vblank_rise, as MAME draws the frame
- rtl/video/x1_012.sv:61 raster: latched at every line_start instead, and a scroll or bank write also releases the queued VRAM writes -- MAME redraws the lines above at each such write (calibr50's trampoline), so the lines after it see the VRAM as it stood then.
- rtl/video/x1_012.sv:111 CPU writes are queued and applied at vblank_rise, so a frame renders from VRAM as it stood at vblank, with the scroll latched there: MAME draws the frame at vblank from both.
- rtl/video/x1_012.sv:123 Blandia tests its VRAM at boot, 12288 reads a layer in MAME, and read back old words it stopped with a black screen.
- rtl/video/x1_012.sv:181 twineagl writes its tile bank mid-frame (lines 32-120 after vblank start, scripts/write_timing.py --extra tbank:400000:400007); MAME draws with the value it holds at vblank.
- README.md:3 A MiSTer FPGA core for the [Seta](https://en.wikipedia.org/wiki/Seta_Corporation) boards MAME covers in `seta/downtown.cpp` — a 68000 with a W65C02 sub CPU, the
- README.md:7 Split from [Arcade-Seta_MiSTer](https://github.com/ppriest/Arcade-Seta_MiSTer) (`seta/seta.cpp`, the same chipset without a sub CPU), which carries the history
- README.md:60 The goal is the boards MAME covers in `downtown.cpp`, minus the ones that overlap with Jotego's cores and U.S. Classic's trackball hardware.
- README.md:85 | MAME description | Why |
- README.md:87 | U.S. Classic (`downtown.cpp`) | Not yet: two trackballs through a uPD4701, colour PROMs, 6bpp tiles |
- README.md:115 MAME gives only refresh rates, and the `downtown.cpp` sets carry no "verified on PCB" comment.
- README.md:117 Confirmed on a PCB: Guru's measurement of Caliber 50 (`downtown.cpp`, same X1-001 / X1-007 / X1-012 chipset) is **HSync 15.6250 kHz, VSync 57.4449 Hz** on X1-00
- README.md:123 | Caliber 50 (unsupported/) | 15.6250 kHz | 57.4449 Hz | `downtown.cpp`, Guru |
- README.md:124 | Crazy Fight (`seta.cpp`) | 15.1433 kHz | 59.1851 Hz | `seta.cpp`, Guru |
- README.md:125 | Thundercade (in this core) | 15.21 kHz | 59.1845 Hz | `downtown.cpp`, Guru |
- README.md:161 Put the MAME merged or split ROMs in `games/mame`
- README.md:166 MAME shows the same, and so does a [PCB recording](https://www.youtube.com/watch?v=g4TswNhGXjM), so the core draws every frame as it comes (`docs/MAME_DIVERGENC
- README.md:192 The author is somewhat familiar with some of the games on this platform, being a co-author of the MAME driver.
- README.md:196 MAME is the accuracy reference for the most part, with its own acknowledged uncertainties noted where they matter.
- README.md:198 Hardware facts come from the MAME driver and verified against it.
- README.md:200 The CPU is diffed against a real MAME trace
- README.md:201 The sprite engine and the video path are diffed against MAME's own render
- README.md:202 The sound is diffed against a line-by-line transcription of MAME's mixer.
- README.md:217 The **MAMEdev team** — in particular **Luca Elia** and **David Haywood** — for [MAME](https://github.com/mamedev/mame)'s `seta/downtown.cpp`, `video/x1_001.cpp`
- README.md:219 There is no FPGA implementation of the X1-010 anywhere, so MAME's C++ is the whole specification for the sound chip.
- README.md:238 | `debug` | reference captures from MAME used as ground truth (gitignored) |
- README.md:239 | `roms` | your own MAME sets (gitignored, never committed) |
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 3
- README.md:97 | X1-001A + X1-002A | Sprites, and the "floating tilemap" made of sprite columns | Written, verified against MAME |
- README.md:100 | X1-010 | 16-voice PCM / wavetable sound | Written, verified against MAME |
- README.md:104 | X1-012 | Tilemaps | Written, verified against MAME |
MAMEの近似をそのまま採用 — 1
- README.md:169 See `docs/MAME_DIVERGENCE.md` for cases that are considered 'hacks' from MAME, and also any cases where we diverge from MAME.
MAMEドライバと同じ文言を含む(出典の明記なし) — 2