← All cores
ffdeadang
Cites hardware documentation that MAME's driver does not — 2
- cores/deadang/hdl/deadang_sound.v:3 deadang_sound -- Seibu Sound System as used by Dead Angle (MAME 0.288 deadang.cpp:554-575, 822-851) Z80 @ 3.579545 MHz, IM0 vectors from the YM3931 (deadang_seibu) 0000-1FFF ROM 13.b1, SEI80BU-encrypted (deadang_sei80bu, opcode table when M
- cores/deadang/hdl/deadang_adpcm.v:9 The sample ROM is stored as dumped; the line swap of init_adpcm()/decrypt() (bitswap<8>(v, 7,5,3,1,6,4,2,0)) is applied here.
Notes where it differs from MAME — 1
Cites MAME source — 16
- cores/deadang/hdl/deadang_video.v:3 deadang_video -- timing + line renderers + priority mixer + palette (MAME deadang.cpp:329-363).
- cores/deadang/hdl/deadang_video.v:5 Lines are numbered like MAME's screen (0..255), visible 16..239, x 0..255.
- cores/deadang/hdl/deadang_video.v:8 Flip (ctl34 bit 6) = mirror of the unflipped frame: render line 255-v and read x as 255-x. Mixer (pri values as MAME's priority bitmap: PF3=1, PF1=2, PF2=4): PF3 opaque, PF1/PF2/text/sprites pen 15 transparent; sprite class w2[15:14]: 00 hi
- cores/deadang/hdl/deadang_sound.v:3 deadang_sound -- Seibu Sound System as used by Dead Angle (MAME 0.288 deadang.cpp:554-575, 822-851) Z80 @ 3.579545 MHz, IM0 vectors from the YM3931 (deadang_seibu) 0000-1FFF ROM 13.b1, SEI80BU-encrypted (deadang_sei80bu, opcode table when M
- cores/deadang/hdl/deadang_sub.v:3 deadang_sub -- sub V30 and its memory map (MAME 0.288 deadang.cpp:536-544): 00000-037FF work RAM 03800-03FFF PF1 ("foreground") VRAM, 32x32 words (video reads)
- cores/deadang/hdl/deadang_sub.v:8 Measured in MAME: 3.48 M sub accesses while the main held the lock, a race the hardware must prevent (research/DEADANG-PLAN.md §4-R1).
- cores/deadang/hdl/deadang_shared.v:3 deadang_shared -- 4 kB RAM shared by the two V30 ("share1", MAME deadang.cpp:494/540).
- cores/deadang/hdl/deadang_obj.v:3 deadang_obj -- sprites for one line, unflipped (deadang.cpp:286-327): w0: b14 = 0 -> flipY (inverted), b13 flipX, b7-0 Y w1: colour[15:12], code[11:0] w2: pri[15:14], b8 sign: x = x - 255 (sic, MAME), b7-0 X w3: active iff (w3 & 0xFF0
- cores/deadang/hdl/deadang_adpcm.v:3 deadang_adpcm -- "Seibu ADPCM" (MSM5205 + address counter in the YM3931), MAME 0.288 src/mame/shared/seibusound.cpp:384-451, plus the MSM5205 itself (jt5205, 375 kHz, S48 -> 7.8125 kHz).
- cores/deadang/hdl/deadang_tilemap.v:5 ROMMAP=1 PF3/PF2: 128x256 tiles, map in ROM, bg_scan order (deadang.cpp:204-207):
- cores/deadang/hdl/deadang_tilemap.v:7 tile = word & 0x7FF, colour = word >> 12 (deadang.cpp:209-221) ROMMAP=0 PF1: 32x32 tiles, map in the sub's RAM, TILEMAP_SCAN_COLS idx = col*32+row, tile = (word & 0xFFF) + bank*0x1000, colour = word >> 12 (deadang.cpp:223-230) S
- cores/deadang/hdl/deadang_tilemap.v:11 GFX (spritelayout, deadang.cpp:704-713): 128 bytes/tile, one 32-bit word per 8-pixel row half, word address = tile*32 + half*16 + fine_y.
- cores/deadang/hdl/deadang_text.v:3 deadang_text -- one line of the 32x32 8x8 text layer (deadang.cpp:232-238, 693-702), unflipped.
- cores/deadang/hdl/deadang_main.v:3 deadang_main -- main V30 and its memory map (MAME 0.288 deadang.cpp:490-507): 00000-037FF work RAM 03800-03FFF sprite RAM (video reads it) 04000-04FFF shared RAM (+ lock, see deadang_shared) 06000-0600F Seibu sound interface, low b
- cores/deadang/hdl/deadang_main.v:10 Text RAM and palette read back their contents (MAME: write-only -> 0; the game never reads them, measured in the boot trace).
- cores/deadang/hdl/deadang_seibu.v:3 deadang_seibu -- the SEI0100 "YM3931" side of the Seibu Sound System as MAME 0.288 models it (src/mame/shared/seibusound.cpp:137-316): main side (umask 0x00FF, offset = A[3:1]):
Says it matches, follows or was checked against MAME — 1
Says it was translated, ported or taken from MAME — 1
Shares text with the MAME driver without saying so — 1