← All cores
mcatadv (decoryah)
Says it was checked on “real hardware” — 1
- README.md:169 The Pocket core is a working alpha, tested on hardware; its README lists what it could not do.
Cites MAME source — 42
- MCatAdv.sv:6 Written for MiSTer from MAME's driver (src/mame/misc/mcatadv.cpp, tmap038.cpp), after the Analogue Pocket core of finner (https://github.com/finner/openFPGA-Wintechno): the CPUs (fx68k, tv80), the YM2610 (jt10, Jose Tejada) and the memory m
- MCatAdv.sv:60 Nostradamus (cfg_game from the ROM image) is a vertical game, MAME's ROT270: the scaler shows its 320x224 raster rotated a quarter turn counter-clockwise.
- MCatAdv.sv:189 keyboard: 1/2 start, 5/6 coin, 9 service, F2 test (MAME's defaults)
- MCatAdv.sv:201 F2: the service switch, a toggle as in MAME
- MCatAdv.sv:209 The boards' other inputs, SERVICE1 and the test mode's extra buttons (MAME: "button 2 / 3 in test mode", "test 3"), are not on the gamepad: the test mode is entered with the OSD's Service Mode switch or F2, and its screens are stepped with
- MCatAdv.sv:220 the board's inputs, active low (MAME's INPUT_PORTS mcatadv, nost): P1: bit 0 up, 1 down, 2 left, 3 right, 4 button 1 (fire), 5 button 2 (jump), 6 button 3 (test mode only, not wired), 7 start 1, 8 coin 1, Nostradamus also 9 "test 3" (test m
- MCatAdv.sv:229 DIP switches: the MRA's <switches> arrive as ioctl index 254, byte 0 = DSW1 bits 15:8 and byte 1 = DSW2 bits 15:8 as MAME's ports hold them (a 1 is MAME's default).
- rtl/mcatadv_main.sv:3 The 68000 (fx68k, 16 MHz), its memory map (MAME src/mame/misc/mcatadv.cpp, mcatadv_state::main_map), the RAMs the video chips read, the inputs, the sound latches and the watchdog.
- rtl/mcatadv_main.sv:26 clocks without a kick before the reset: 3 s (MAME's time) = 288000000 at 96 MHz
- rtl/mcatadv_main.sv:81 level 1 interrupt, held until acknowledged (MAME: irq1_line_hold)
- rtl/mcatadv_main.sv:184 ------------------------------------------------------------------ watchdog (MAME: 3 s) A cold start, with no signature in the RAM, ends in a wait for this reset (the game writes "MASICAL CAT ADVENTURE" into its RAM and spins until the watc
- rtl/mcatadv_main.sv:186 A boot that goes on kicks the watchdog for the first time about 95 ms after the reset, so until the first kick the limit is an eighth of the full one (0.375 s for MAME's 3 s): the cold start's wait is shorter and no boot that goes on is hit
- rtl/mcatadv_main.sv:188 The short limit is for the start after a hard reset only: once the watchdog has expired or been kicked (Nostradamus' first kick comes later than 0.375 s) the limit is MAME's.
- rtl/mcatadv_main.sv:228 MAME: mcatadv_wd_r
- rtl/mcatadv_sound.sv:3 MAME (mcatadv_sound_map / mcatadv_sound_io_map, and the Nostradamus pair nost_sound_map / nost_sound_io_map):
- rtl/mcatadv_sound.sv:13 The bank is 1 when a ROM is loaded (MAME sets it in machine_start only; a reset leaves it).
- rtl/mcatadv_sound.sv:95 ---------------------------------------------------------------- program ROM and bank (MAME sets the bank once, in machine_start: a reset leaves it as the program last wrote it)
- rtl/mcatadv_sound.sv:170 MAME's unmapped read
- rtl/mcatadv_sound.sv:181 ---------------------------------------------------------------- mix: MAME's YM2610 routes into one speaker MAME: the SSG (ymfm: (a + b + c) * 2/3, channel levels 0..16382) with 1.0 for Magical Cat Adventure and 0.6 for Nostradamus, the FM
- rtl/mcatadv_spr.sv:3 MAME (mcatadv_state::draw_sprites): the sprite RAM holds 2048 entries of four words per half (B00004 picks the half).
- rtl/mcatadv_spr.sv:10 MAME draws the entries from the last to the first and a pixel that is non-zero in a sprite hides the ones under it, so the highest entry number wins: drawn here from the first to the last, each over the last.
- rtl/mcatadv_spr.sv:12 An entry whose w3 equals its w0 is skipped (MAME: "don't draw sprites while it's testing the RAM").
- rtl/mcatadv_spr.sv:51 5 MB of sprite ROM; MAME's region is FF past it
- rtl/mcatadv_sprbuf.sv:1 MAME draws the sprites from a copy of the sprite RAM made at the start of vertical blanking (buffered_spriteram16 on a vblank rising edge); the registers at B00000/B00002 (the sprite offset) are read live, B00004 (the buffer half) is copied
- rtl/mcatadv_tmap.sv:3 MAME (mcatadv_state::draw_tilemap_part and tilemap038_device): scrollx = (reg0 & 1FF) - 194, scrolly = (reg1 & 1FF) - 1DF row select (reg1 bit 14): scrolly = lineram[((line + scrolly) & 1FF) * 2 + 1] - line row scroll (reg0 bit 14): scrollx
- rtl/mcatadv_tmap.sv:21 MAME's own flip (its tilemaps' flip with other constants, no sprites) is not what the games show.
- rtl/mcatadv_tmap.sv:84 ---------------------------------------------------------------- tile code -> ROM tile MAME wraps a tile code modulo the number of tiles in the ROM.
- rtl/mcatadv_video.sv:4 MAME gives 60 Hz and a 320 x 224 visible area; the totals are the usual 15 kHz arcade ones.
- rtl/mcatadv_video.sv:14 The mix is MAME's screen_update: tile layer 1 over layer 0 unless layer 0's tile has the higher priority; a sprite over the tiles when its priority is higher than the tile's (or there is no tile); the background is palette entry 0x3F0.
- README.md:7 It started from the Analogue Pocket core by **finner** ([openFPGA-Wintechno](https://github.com/finner/openFPGA-Wintechno)): the board's memory map, the choice
- README.md:10 The video chips, the memory system, the raster, the clocks and the platform layer are new, written for MiSTer from MAME's driver (`src/mame/misc/mcatadv.cpp`, `
- README.md:32 The video, against a reference renderer (`tools/refrender.py`) that is MAME's `screen_update` written out literally: RAM states of the real programs (title scre
- README.md:36 The 68000 side: the real programs boot, pass their RAM and ROM tests, write the power-on signature, wait for the watchdog as MAME's driver comments say they sho
- README.md:82 **A cold start shows a black screen for a moment** (about 0.4 s): the game writes a signature into its RAM and waits for the watchdog to reset it, as on the boa
- README.md:97 | Orientation | Game default, Horizontal, Rotate CCW, Rotate CW | Nostradamus is a vertical game (MAME's ROT270): its default is the scaler rotating the picture
- README.md:106 The boards' test-mode inputs (MAME's driver notes: Magical Cat Adventure's button 3, which selects "object ROM check" and changes the background number; Nostrad
- README.md:156 The mix follows MAME's routes into one speaker: the SSG with 1.0 (0.6 on Nostradamus), the FM and ADPCM-A left and right 0.5 each.
- README.md:171 The MiSTer FPGA has room for MAME's behaviour, so this core implements it:
- README.md:175 both tilemaps with row scroll and row select (the title screen uses them), per-tile priority, the palette bank, MAME's tile/sprite priority comparison and sprit
- README.md:177 sprites from the vblank-buffered copy of the sprite RAM, with MAME's flip, size and clipping rules;
- README.md:186 MAME's driver does not finish this (MACHINE_NO_COCKTAIL, "fix sprites and rowscroll/select for cocktail"): its tilemaps flip with constants that do not match wh
- README.md:257 MAME (Paul Priest, David Haywood, Luca Elia; BSD-3-Clause): `mcatadv.cpp`, `tmap038.cpp`.
Keeps a MAME approximation — 1
Shares text with the MAME driver without saying so — 1