← コア一覧
monstermaulers (decoryah)
MAMEのドライバにもある実基板の情報・測定値を引用 — 1
MAMEとの相違点を記載 — 1
- rtl/k053936_roz.sv:33 Deliberate divergence from MAME: K053936GP_copyroz32clip advances its destination row before the loop body, so MAME paints raster row N with the transform for row N-1 and never writes the first visible row.
MAMEのソースを引用 — 63
- MonsterMaulers.sv:5 The machine (rtl/) descends from the Gaiapolis core written for the Analogue Pocket by plasticbugs (https://github.com/plasticbugs/analogue-pocket-gaiapolis), as carried to MiSTer in gaiapolis-mister: Gaiapolis and Monster Maulers are board
- MonsterMaulers.sv:171 keyboard: 1/2 start, 5/6 coin, F2 test (MAME's defaults)
- MonsterMaulers.sv:196 the board's inputs, active low (docs/hardware.md section 8; MAME's dadandrn ports): IN0_P1: bit0 L, 1 R, 2 U, 3 D, 4-6 buttons 1-3, 7 start1, 8 coin1, 9 coin2, 11 test switch P2: the same low byte IN1: bit3 test (low = on), bit4 mono (0 = s
- MonsterMaulers.sv:425 Colours: the board's video DAC (a Konami 054573 per channel) is not linear: its output rises faster near the top, so mid tones come out darker than MAME's straight 8-bit palette.
- MonsterMaulers.sv:426 Board DAC looks each channel up in the DAC's curve (tools/make_dac_table.py: 0 stays 0 and 255 stays 255, this game writing the full range); MAME passes the palette through.
- rtl/er5911.sv:2 ER5911 serial EEPROM, 128 x 8, as MAME's eeprom_serial_er5911_device models it (eepromser.cpp): a start bit, a 2-bit opcode and a 9-bit address field (only the low 7 bits select a cell) on rising CLK while CS is high; READ shifts data out M
- rtl/er5911.sv:8 the Pocket repository's tools/eeprom_replay.py checks this protocol against MAME's pin traffic.
- rtl/er5911.sv:98 a 1 on DI at a rising clock is the start bit (edges that coincide with CS rising are ignored, as MAME does)
- rtl/k053936_roz.sv:14 MAME draws the transform of raster row N-1 at row N and never writes the first row (its blitter advances its destination row before the loop body); MAME_SHIFT=1 does the same, which is what the frame bench's pixel-for-pixel comparison again
- rtl/k053936_roz.sv:52 draw row N with the transform of row N-1, row 0 blank (as MAME does)
- rtl/k053936_roz.sv:111 16.16, wraps as uint32 like MAME
- rtl/k053936_roz.sv:239 MAME draws the transform of row N-1 at row N, and nothing at row 0
- rtl/k054321.sv:6 MAME models the gain as 2^((volume - 40) / 10) with 40 as "normal"; mm_core applies it.
- rtl/k054539.sv:3 Modelled on MAME's k054539.cpp.
- rtl/k054539.sv:16 Rendering follows sound_stream_update: per 48 kHz sample, each keyed channel steps its 16.16 position by the 24-bit delta, fetching 8-bit PCM, 16-bit PCM or 4-bit DPCM from the ROM (looping at the end marker if reg 0x201 bit 0 is set, else
- rtl/k054539.sv:25 While 0x22f bit 0 is set (MAME's UPDATE_AT_KEYON, its default) a write to a channel's position registers is held in a latch and only copied into the registers by that channel's key-on.
- rtl/k054539.sv:28 Volumes are Q2.14 tables from tools/gen_k054539_tables.py; the per-channel gain MAME applies at reset for this game (chip 1 channels 4-7 x2.0, the "voice" channels) comes in through GAIN_Q14.
- rtl/k054539.sv:78 UPDATE_AT_KEYON (MAME's default for every game, k054539.cpp): while the chip is enabled (0x22f bit 0) a write to a channel's position registers (0x0c-0x0e of its 0x20 block) is held in a latch and the register keeps its value; the key-on wr
- rtl/k054539.sv:260 Every position step fetches a sample, as MAME does, so a pitch above 1.0 costs one ROM read per step; DPCM depends on that.
- rtl/k054539.sv:309 the Q2.14 fraction bits of the product are dropped, as MAME does
- rtl/k054539.sv:353 16-bit samples are read as two bytes at cur_pos and cur_pos + 1, whatever the alignment (MAME: read_byte(pos) | read_byte(pos + 1) << 8); an odd start address is common in this game's music
- rtl/k054539.sv:430 a 16-bit sample steps two bytes (MAME: pdelta <<= 1)
- rtl/k054539.sv:475 MAME adds the ring position twice: rdelta = (delay + pos) & 0x3fff, then the entry is rbase[(rdelta + pos) & 0x1fff].
- rtl/k054539.sv:483 the ring holds int16; MAME truncates the scaled sample the same way
- rtl/k056832_tilemap.sv:93 dadandrn per-layer pixel offsets (mystwarr_v.cpp, VIDEO_START dadandrn: set_layer_offs(0, -2+4, 0), (1, 0+4, 0), (2, 2+4, 0), (3, 3+4, 0))
- rtl/mm_core.sv:270 The sprite table the renderers work from is a copy of the sprite RAM taken at the first blanking line, as the K053246's DMA into the K053247 does and as MAME's list is taken: the game writes its table during the visible frame as well, and a
- rtl/mm_main.sv:4 Address decode follows docs/hardware.md section 3 (MAME's dadandrn_map in mystwarr.cpp).
- rtl/mm_main.sv:5 The CPU is TG68K.C, paced by a token bucket the way the S.T.U.N. Runner core paces its 68010 -- STEP_COST_BUS/STEP_COST_INT/STEP_GAIN set the step rate; the values are calibrated against MAME's frame timing.
- rtl/mm_main.sv:278 MAME's test is (word offset & 0x78) == 0, i.e. A[7:4] all clear -- four bits, not three.
- rtl/mm_main.sv:309 The bank is the low byte of regs[0x1a] | regs[0x1b] << 16 (MAME takes it modulo the 768 banks of the region; only the first 256 hold ROM).
- rtl/mm_main.sv:329 MAME's dddeeprom_r: an access that includes the high byte returns IN1 there with a zero low byte; only a low-byte access reads P2
- rtl/mm_main.sv:367 MAME does it in zero time at the write; the board's chip masters the bus, so here the CPU is held for the word-a-clock the fill takes.
- rtl/mm_main.sv:410 IRQ5 is asserted at vblank and held until the kernel's interrupt-acknowledge cycle -- a *read* with FC = 111, which TG68K performs even with IPL_autovector (MAME's HOLD_LINE).
- rtl/mm_main.sv:486 the u16s just above them are the fifth plane area, as MAME's flat region has it
- rtl/mm_sound.sv:197 MAME routes each chip's output 0 to the right speaker and output 1 to the left ("stereo channels are inverted", mystwarr.cpp), which a comparison of this core's audio with MAME's confirms (the pan balance of the two correlates -0.76 without
- rtl/mm_video.sv:12 That is MAME's raster for this driver too (set_raw(6 MHz, 384, ..., 264)); unlike Gaiapolis there is nothing to choose between.
- rtl/mm_video.sv:25 (A frame rendered by the machine against MAME's of the same state is the check: sim/tb_mm.cpp with DUMPSTATE, see tools/cmp_state.py.
- README.md:6 The machine descends from the Gaiapolis core that **plasticbugs** wrote for the Analogue Pocket ([analogue-pocket-gaiapolis](https://github.com/plasticbugs/anal
- README.md:24 What was checked besides, in simulation and in the Quartus tool flow, against MAME 0.289 (the reference for every comparison; MAME marks these sets `MACHINE_IMP
- README.md:27 **Video, frame for frame.** `sim/tb_frame*`: a frozen MAME machine state (the Lua probes in `tools/lua/` dump the video chips' registers and RAMs) is rendered t
- README.md:37 **ROM path.** `tools/make_mra.py`, `tools/mra_build.py` and `tools/mm_rom.py` rebuild MAME's memory regions from the zip and `tools/check_regions.py` compares t
- README.md:44 The game runs one to three frames behind MAME's (see "Known differences"), and state dumps of the video chips' registers and RAMs agree with MAME's register for
- README.md:59 **Audio.** The first 5.5 s of the game's sound (`tools/cmp_audio.py`, same boot shortcut in MAME): the two channels follow MAME's in level within about 1-2 dB p
- README.md:61 That is a check of the whole chain (the Z80 program, both K054539s, the K054321's volume and channel enables), not of the chips sample by sample (the next bulle
- README.md:73 **K054539 against MAME, chip level** (`sim/run_k539.sh`): the Z80's register writes to both chips are logged from MAME (USA set, `tools/lua/k539_log.lua`), repl
- README.md:80 **20261025** -- Colours in the OSD: **Board DAC** (the default) or **MAME**.
- README.md:80 The board turns each 8-bit colour into a voltage with a Konami K054573 per channel, and that DAC is not linear: its output rises faster near the top, so mid ton
- README.md:82 Board DAC looks each channel up in the DAC's curve (`rtl/data/k054573_dac.hex`, written by `tools/make_dac_table.py`: 0 stays 0 and 255 stays 255, this game usi
- README.md:86 There is no recording of a Monster Maulers PCB, so it was checked against one of Metamorphic Force, the same chip family: two scenes paired with MAME's identica
- README.md:89 A KLOV capture of this game's title screen pairs exactly with MAME's but has only five flat colours and an unknown capture chain, and was not used.
- README.md:95 In simulation (`sim/emu/run_emu.sh`, `COLOURS_MAME=1`; `sim/emu/dac_check.py`): with MAME the scaler picture of a 110-frame run is byte-identical to 20261021's,
- README.md:103 Every entry is a wired input: the three buttons and Start reach the game for both players, Coin is each player's coin input, and the board reads no third or fou
- README.md:198 *Weak, crackling music.* Three differences from MAME's `k054539.cpp` in `rtl/k054539.sv`: 16-bit PCM stepped one byte a sample and was forced to word alignment
- README.md:201 The sum of the two chips also saturates now, as MAME's does, instead of wrapping.
- README.md:229 The game's own power-on memory check (about 22 s, as in MAME) comes after the load either way.
- README.md:238 | Colours | Board DAC, MAME | Board DAC (the default) gives the board's video DAC curve: mid tones darker than MAME's linear palette, as on the PCB. MAME is the
- README.md:289 | picture | 376 x 224, ROT90, 8 MHz / 508 x 263 | 288 x 224, ROT0, 6 MHz / 384 x 264 = 59.1856 Hz (the board and MAME agree) |
- README.md:301 Known differences from MAME
- README.md:303 **A pixel shadowed twice.** The renderer keeps one shadow flag per pixel; MAME's software mixer darkens a pixel once for every shadow sprite that covers it.
- README.md:306 **The K055550 takes time.** MAME performs the memset of command 0x97 in zero time at the register write; this core's engine masters the bus for the word-a-few-c
- README.md:307 The game uses it to clear all sixteen tile RAM pages (128 KB) at start-up and again before the attract mode, a quarter of a frame each time, so the game's own t
- README.md:311 The power-on memory check runs for about 1,300 frames (22 s) as in MAME; the Diagnostic overlay shows progress.
- README.md:348 **plasticbugs** -- the Gaiapolis core for the Analogue Pocket, the machine this one is built on (`rtl/`, the SDRAM controller `target/mister/sdram_ctrl.sv` and
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 5
- rtl/k056832_tilemap.sv:11 Semantics follow the Pocket repository's tools/render_model.py, which is pixel-exact against MAME across the frozen-state corpus; see docs/hardware.md section 6.
- README.md:29 39 of the 40 frames in the corpus (attract mode, the ROZ stages, fades, alpha blends, shadows) are **pixel-identical**; the other has 10 pixels (of 64,512) wher
- README.md:40 With the power-on memory check and the boot's software delay shortcut (as MAME is run for the comparison) and MAME's scripted inputs (coin, start, buttons) appl
- README.md:51 Every word of the image is where the ports read it (11,141,120 compared with the chips' arrays), the raster is 384 x 264 x 16 clocks = 59.1856 Hz in every frame
- README.md:173 Fixed in three parts, all checked against MAME's frames in simulation and then on the board:
MAMEドライバと同じ文言を含む(出典の明記なし) — 5
- rtl/k053247_draw.sv:31 k055673 set_config(K055673_LAYOUT_GX, -42, -22) for dadandrn — 共通の文言: konami/konamigx.cpp:1775
- rtl/k053247_objlist.sv:7 order = pri<<24 | zcode<<16 | offs<<5 | drawmode<<4 | shadow — 共通の文言: konami/konamigx_v.cpp:618
- rtl/k053936_roz.sv:48 K053936GP_set_offset(0, -8, 0) for dadandrn (a laser attack's offset) — 共通の文言: konami/mystwarr_v.cpp:197
- rtl/k056832_tilemap.sv:94 set_layer_offs(0, -2+4, 0), (1, 0+4, 0), (2, 2+4, 0), (3, 3+4, 0)) — 共通の文言: konami/mystwarr_v.cpp:191
- rtl/mm_main.sv:309 K056832 readback (k056832_device::mw_rom_word_r). The bank is the low byte — 共通の文言: konami/k054156_k054157_k056832.cpp:818