← All cores
KnuckleBash
Cites MAME source — 23
- rtl/knuckle_bash/knuckle_bash_gp9001_cpu.sv:5 The four decoded ports follow MAME's GP9001 behavior: 0x0: VRAM word pointer write 0x4: VRAM read/write with post-increment 0x8: low-byte scroll/control selector write (data & 8'h8f) 0xc: status read or selected scroll/control write
- rtl/knuckle_bash/knuckle_bash_gp9001_cpu.sv:280 MAME accepts only the low-byte selector.
- rtl/knuckle_bash/knuckle_bash_gp9001_object_line.sv:5 Object descriptors are consumed in ascending RAM order, exactly as MAME 0.288 draw_sprites() does.
- rtl/knuckle_bash/knuckle_bash_gp9001_object_line.sv:148 MAME's default GP9001 sprite offsets are -0x1cc/-0x17b in X and -0x1ef/-0x108 in Y. Negating the adjusted scroll values yields these modulo-512 origins.
- rtl/knuckle_bash/knuckle_bash_gp9001_tile_line.sv:198 These are the MAME 0.288 GP9001 tilemap equations reduced modulo 512.
- rtl/knuckle_bash/knuckle_bash_gp9001_video.sv:80 MAME clears the destination bitmap to palette index zero before drawing nonzero GP9001 pens.
- rtl/knuckle_bash/knuckle_bash_highscore.sv:2 The MRA supplies MAME's exact descriptor at index 4 and a 264-byte NVRAM image at index 2.
- rtl/knuckle_bash/knuckle_bash_inputs.sv:3 Convert MiSTer's active-high HPS joystick words to the active-high TP-023 input bytes exposed by MAME.
- rtl/knuckle_bash/knuckle_bash_inputs.sv:18 MAME bit 6 is physically unpopulated; B2 is Jump and B1 Attack.
- rtl/knuckle_bash/knuckle_bash_inputs.sv:35 MAME: unknown, start2, start1, coin2, coin1, test, tilt, service1.
- rtl/knuckle_bash/knuckle_bash_jt6295.sv:19 The top remains identical to the protected JT6295 integration except that it binds the board-local serial scheduler with MAME-compatible inclusive phrase-end semantics.
- rtl/knuckle_bash/knuckle_bash_jt6295_serial.sv:120 MAME counts both nibbles of the inclusive stop byte.
- rtl/knuckle_bash/knuckle_bash_sdram.sv:113 Preserve the renderer's MAME-logical address while moving the plane selector from the MSB to the physical word LSB.
- rtl/knuckle_bash/knuckle_bash_sdram_loader.sv:87 The HPS stream and ROM-valid CRC remain the authoritative raw MAME layout; only the physical bank-1 destination address is transformed.
- rtl/knuckle_bash/knuckle_bash_sound.sv:3 The ROM-based encrypted V25 owns the low 2 KiB shared-RAM window and reaches YM2151/OKI devices at the MAME-audited map.
- rtl/knuckle_bash/knuckle_bash_sound.sv:220 MAME maps 80000-87fff with mirror mask 78000.
- rtl/knuckle_bash/knuckle_bash_sound.sv:287 Preserve their exact default/MAME behavior while production always supplies a known two-bit value.
- rtl/knuckle_bash/knuckle_bash_sound_mixer.sv:23 MAME normalizes YM samples by 32768 and OKI samples by 2048, then routes each YM output and OKI to the mono speaker at gain 0.5.
- rtl/knuckle_bash/knuckle_bash_sound_mixer.sv:30 High is the exact MAME route.
- rtl/knuckle_bash/knuckle_bash_v25_cpu.sv:1642 MAME's V20 timing is ten processor clocks here; the compact escape path supplies eleven half-clocks.
- README.md:3 This is a vibe coded, MAME-based Knuckle Bash arcade core for the MiSTer FPGA, implementing Toaplan's 1993 TP-023 hardware.
- README.md:8 MAME models Knuckle Bash as:
- README.md:56 Behavioral references: [MAME 0.288 Toaplan `kbash.cpp`](https://github.com/mamedev/mame/blob/mame0288/src/mame/toaplan/kbash.cpp), [MAME Toaplan `gp9001.cpp`](h
Says it matches, follows or was checked against MAME — 1