← コア一覧
Namco_S10 (kyledlester)
「実機」で確認したと記載 — 1
- rtl/cpu.vhd:615 Confirmed on HW via the packed capture: at the BIOS decompressor "or a0,s2,zero" @0x1FC20320, decodeSource1=0x12($18) decoded correctly but all 3 MLAB read ports (decodeValue1, regs3_q_b_wt, value1) returned 0, while the write-port tap prov
MAMEとの相違点を記載 — 1
- rtl/s10_exio.sv:26 MAME does not emulate it; the protocol is taken from the uploaded MCU program (SC0 receive interrupt at MCU 0x3D2A) and the game's driver (main CPU 0x80013BF0, 0x800A1B80, 0x800A1D20), and was checked in MAME with a Lua stand-in for the boa
MAMEのソースを引用 — 170
- Namco_S10.sv:702 Main RAM zero fill after the download (MAME's RAM is zero initialised) - SDRAM channel 3 fill
- Namco_S10.sv:933 System 10's CXD8606 runs from 101.4912 MHz / 2 = 50.7456 MHz (MAME CXD8606BQ at 101.4912 MHz, internal /2), 1.5x the PlayStation.
- Namco_S10.sv:981 JAMMA inputs, MAME namcos10 IN1 layout (active low).
- Namco_S10.sv:984 MAME: TEST is a slide switch (PORT_TOGGLE)
- Namco_S10.sv:990 GAHAHA (record: EXIO analog) has its own IN1 layout (MAME 'gahaha' port): b0 Button 2, b1 Button 1, b2 Select Down, b3 Select Up, b4 Enter (= Button 3 here), b7 / b15 Start; the sticks go to the EXIO ADC.
- Namco_S10.sv:992 MEM(P3) games' IN1 layouts (MAME g13jnr / nicetsuk / squizchs ports), active high here, inverted below: 1 Golgo 13: standard + b27 scope sensor (active high on the board, toggled by Button 3 as MAME's PORT_TOGGLE) 2 Nice Tsukkomi: b0/b3 Up,
- Namco_S10.sv:1008 4 NFL Classic Football (MAME nflclsfb IN1): b0/b8 right side Choose L/R, b15 right side Decide (Player 2 Buttons 3/4/5), b1/b9 left side Choose L/R, b7 left side Decide (Player 1 Buttons 3/4/5), b3/b2 Select Up/Down (Player 1 Up/Down), b4 E
- Namco_S10.sv:1117 the current channel-5 transfer belongs to the drive (MAME m_is_cdrom_dma)
- Namco_S10.sv:1153 MiSTer analog axis (signed, -128..127, right/down positive) -> 10-bit ADC value 0..1023 (MAME EXIO_ANALOG PORT_MINMAX(0, 0x3ff); PORT_REVERSE where MAME has it)
- Namco_S10.sv:1709 CXD8561CQ = type-2 GPU (MAME gputype 2)
- rtl/cpu.vhd:226 MAME-correct = 0xA420FB00 (sh zero).
- rtl/cpu.vhd:245 CAPTURE #4 (2026-06-24): MAME ground-truth output halfwords for RAM 0x10000-0x101FF (index = addr[8:1]); used by the first-mismatch detector to find the first divergent decompressed output byte vs MAME.
- rtl/cpu.vhd:1169 MAME a0=0x1FC28002 => zn_debug_val=0x8002FA00.
- rtl/cpu.vhd:1172 MEASUREMENT RULER (first-mismatch detector): at the byte-writer combiner "sh v0,-1(a1)" (pcOld1 low28=0xFC2029C, output 0x10000-0x101FF), compare value2(=output halfword) vs the MAME ground-truth mame_tab; latch the FIRST mismatch.
- rtl/cpu.vhd:1180 MAME first source read = lhu(0x1FC28000)=0xE0FF (s11_prog.bin[0x28000]).
- rtl/cpu.vhd:1185 MAME: addr=0x8002 (0x28002), v1=0xBDFF.
- rtl/cpu.vhd:1191 MAME: s2 advances 0x...8000 -> 0x8001 -> 0x8002.
- rtl/cpu.vhd:1262 Matched as v_wait's own prologue, "addiu sp,sp,-32" then "sll a1,a1,15": every System 10 set has exactly this pair in v_wait (MAME RAM dumps of all 26 sets); Point Blank 3 / Gunbalina and Taiko 2 also use "sll a1,a1,15" elsewhere, never aft
- rtl/cpu.vhd:2426 DECISIVE DIAG 2026-06-24: report the RAW delivered word (cap_raw) on the cache-MISS FILL of 0x10170 (vs MAME 0xA420FB00).
- rtl/cpu.vhd:3189 Compare vs MAME's value at that slot.
- rtl/dma.vhd:107 dbg_corrupt_hdr=the 32b header word read from RAM; dbg_corrupt_src=[31]seen [23:0]=the D_MADR it was read from (compare vs MAME RAM => read-corruption test).
- rtl/dma.vhd:435 System 12 ROM DMA: CHCR 0x01000000 starts at once (MAME psxdma: no trigger bit needed)
- rtl/dma.vhd:472 2026-06-28: on a DMA2 (GPU) trigger (start bit set), latch the D_MADR the game wrote (dbg_madr_orig) + the sync mode, to compare vs MAME (OT head 0x2B261C / block buffers 0x100174/0x3DFExx).
- rtl/dma.vhd:725 Latch the header word + the D_MADR it was read from (to compare vs MAME RAM).
- rtl/gpu.vhd:24 System 11 GPU is the CXD8538Q = MAME "gputype 1": all coordinate-register Y fields sit 2 bits higher than the retail PSX GPU (gputype 2) this core models.
- rtl/gpu.vhd:816 Per MAME: 109 bank switches during cube attract (game code at 0x800504F0 loads assets from banks).
- rtl/gpu.vhd:833 Tests whether DMA can carry MAME's expected R=31 for cube CLUT entries.
- rtl/gpu.vhd:1006 ★ 2026-07-05 READY FIX part 2 (gputype1): MAME NEVER clears GPUSTAT bit26 (init 0x14802000, no writer touches it).
- rtl/gpu.vhd:1145 gputype1 (System 11 CXD8538Q): MAME treats GP1(01) as a packet-framing reset ONLY (n_gpu_buffer_offset=0) — queued/in-progress work is NOT destroyed, and Tekken sends GP1(01) every frame while the (slower) FPGA renderer is still busy.
- rtl/gpu.vhd:1215 CXD8538Q (System 11) = MAME gputype 1; retail = 2.
- rtl/gpu.vhd:1342 2026-07-11 note: 4096 was tried for the T2 texture-corruption overflow theory but BOTH seeds nofit, and MAME BCR ground truth (16-word DMA blocks vs 240-word request margin) makes overflow implausible anyway.
- rtl/gpu.vhd:1484 2026-07-06 INTERLEAVED-TEXTURE FIX: tpage bit13 = ti (CXD8538Q swizzled texture mode; MAME n_ti).
- rtl/gpu.vhd:1491 type 2 (MAME decode_tpage): a polygon's tpage also sets the sprite flips ix/iy
- rtl/gpu.vhd:1523 GPU-type-dependent tpage field layout (MAME decode_tpage, psx.cpp:824).
- rtl/gpu.vhd:1539 ★ 2026-07-05 MASK FIX (MAME ground truth, decode_tpage gputype1): E1 bits 11/12 are REFLECTED in GPUSTAT (gpustatus = tpage & 0x1fff — the game's gputype probe reads bit12 back) but have NO mask semantics (bit12 is even flagged "not handled
- rtl/gpu.vhd:1592 gputype1: E6 also updates the reflected status bits (MAME keeps gpustatus bits 11/12 in sync from both E1-tpage and E6)
- rtl/gpu.vhd:1614 ★ 2026-07-05 READY FIX (gputype1): MAME keeps GPUSTAT bit28 permanently 1 (init 0x14802000, never cleared) — Tekken's PIO texture-upload loop polls bit28 between strips and was written against that optimistic semantic.
- rtl/gpu.vhd:2815 Cube attract drives global drawMode[3:0] to 0xA (TexPage X=640) or 0xB (X=704) per MAME ground truth.
- rtl/gpu.vhd:2831 B125/B126 (Y=482 exact) showed write_R=read_R=0, suggesting cube CLUT might use different Y. Y∈[460,500] covers Y=462 (text font) + Y=480-487 (cube CLUT band per MAME).
- rtl/gpu_cpu2vram.vhd:16 System 11 CXD8538Q: MAME image-load uses RAW W/H (no 0->1024/512 expand)
- rtl/gpu_cpu2vram.vhd:77 Three stickys distinguish where it goes: A any_ever — any such upload ever (sanity) B y482_ever — and copyDstY=482 (MAME ground truth) C y488_ever — and copyDstY=488 (FPGA's existing in_cube guess)
- rtl/gpu_cpu2vram.vhd:267 This tells us what data accompanies the suspect upload: if it's MAME's cube CLUT (entry0=0x0000, entry1=0x7FFF), only the position is wrong.
- rtl/gpu_cpu2vram.vhd:344 0->1024/512 size expand is RETAIL-PSX behavior; MAME's CXD8538Q (System 11) uses RAW W/H (a 0-width/height IMGLOAD writes a 1px sliver, not a 1024/512 runaway that would consume the following GP0 command stream as texels).
- rtl/gpu_cpu2vram.vhd:481 GREEN = h49_fifo_data(24:16) — entry 1 (upper halfword) bits 8:0 (includes R[4:0] in 4:0) BLUE = anchor sticky — fired at first WRITING+copySizeX=16+copySizeY=1+copyDstY∈[472..476] MAME-expected values (cube CLUT first FIFO word = 0x7FFF00
- rtl/gpu_pixelpipeline.vhd:121 Expected entries 0..3 (MAME-verified): 0x0000, 0x7FFF, 0x023F, 0x3FFF.
- rtl/gpu_pixelpipeline.vhd:226 MAME ground truth says CLUT[3] != 0x0003.
- rtl/gpu_pixelpipeline.vhd:516 2026-07-06 INTERLEAVED-TEXTURE FIX (CXD8538Q/System 11, tpage bit13 = ti; MAME TEXTUREINTERLEAVED4BIT/8BIT): texels are stored tile-swizzled; remap (u,v) into the halfword address.
- rtl/gpu_poly.vhd:547 MAME stream for DoA++ shows 267 of 2270 textured polys use extended Y CLUTs (Y >= 512) via bit 15 of polygon CLUT word.
- rtl/gpu_rect.vhd:20 texture flip (CXD8561Q/CXD8654Q "type 2" GPU: E1 bits 12/13 = ix/iy, MAME SPRITESETUP)
- rtl/gpu_rect.vhd:253 MAME stream for DoA++ shows 267 textured polys use bit 15 of CLUT word to address Y>=512 in extended VRAM.
- rtl/gpu_videoout_async.vhd:782 hCrop: blank pixels whose VRAM x is past the frame buffer width (System 10: Taiko 3 shows VRAM x 2..321 and keeps scratch data at x >= 320; MAME shows it as a coloured right edge)
- rtl/memorymux.vhd:149 rom8_64 upper-16MB latch (MAME rom8_64_upper_w @0x1F080000/2); consumed by zn1_io at bank-register write time.
- rtl/memorymux.vhd:1015 VRAM destination (per MAME): X=256, Y=482, 4-bit CLUT 16×1.
- rtl/memorymux.vhd:1016 MAME 20s trace shows NO direct CPU read at 0x1F7B61CC, so the load likely happens via I/D-cache fill of a 32-byte line, or via a bulk DMA copy.
- rtl/memorymux.vhd:1063 Per MAME's analysis, 109 bank switches happen during cube attract via game code at 0x800504F0.
- rtl/memorymux.vhd:1076 build #79 fix: Raizing bank is data & 3 (bits[1:0]) per MAME raizing_zn_state::znsecsel_w.
- rtl/memorymux.vhd:1114 MAME: unknown_r() returns 0x0000FFFF for all ZN platforms
- rtl/psx_top.vhd:794 DERAIL-BRACKET milestones (2026-06-14): "reached" latches in MAME execution order
- rtl/psx_top.vhd:846 System 11 boot diagnostic: MAME's Tekken reaches GAME code at physical 0x18654 (= 0x80018654), which is BELOW ram_exec_seen's 0x40000 threshold — so ram_exec would stay dim even when the game runs.
- rtl/psx_top.vhd:859 build #150: sticky latches for CPU PC at the cube CLUT PIO upload site (MAME PC 0x8003CB20).
- rtl/psx_top.vhd:1200 PC ever in [0x1FC09000,0x1FC0C000) (MAME's GPU-init region @0xBFC097F8)
- rtl/psx_top.vhd:1783 Report both (MAME: stat 0x0005); a stat of 0 hangs the boot in the TTY driver.
- rtl/psx_top.vhd:1960 Compare vs MAME's slot value.
- rtl/psx_top.vhd:2135 MAME namcos11.cpp:
- rtl/psx_top.vhd:2583 CAT702 is a ZN-1 feature: MAME's namcos11 driver contains zero CAT702 references, and every System 11 title uses a KEYCUS C-chip (C406/C409/...) via zn1_io instead.
- rtl/psx_top.vhd:2617 X=768 is the ONLY CLUT at X>=512 in lpadv's entire stream (MAME log: CLUT X in {0,256,768}), so a sticky latch firing == the cubes.
- rtl/psx_top.vhd:2639 Show the FIRST (=fatal, MAME takes zero) exception: value top nibble = ExcCode (4/5=AdEL/AdES, 6/7=bus err, A=RI, B=CpU, C=Ov, 0=IRQ), remaining 7 digits = faulting EPC[27:0].
- rtl/psx_top.vhd:2675 BOOT-DIVERGENCE LOCATOR (2026-06-13): how far does boot get vs MAME (GPU-init @0xBFC097F8 instr~1357)?
- rtl/psx_top.vhd:2762 Read over JTAG/ISSP and compare to MAME's 0xA420FB00 @0x10170: a COP-range top6 (0x10-0x13) or any != 0xA420FB00 = the SDRAM/icache delivered a CORRUPT instruction word (pinpoints the read-corruption bit pattern).
- rtl/psx_top.vhd:2774 Tekken 1 (the keycus-less game) uses it, and so do the older Tekken 2 revisions (MAME's tekken2o sets: TES1/TES2/TES3 VER.A/B/C) — those carry KEYCUS C406 so the keycus byte alone cannot identify the board; their MRAs set platform-byte bit5
- rtl/psx_top.vhd:2888 RED = h40_cube_clut_loaded_ever — CLUTwrenA + CLUTaddrA=0 + vram_DOUT[31:16]=0x7FFF + vram_DOUT[47:32]=0x023F (cube CLUT word 0 loaded into dpram with the EXACT MAME-verified values) GREEN = h40_clut_read_7fff_ever — any CLUTDataB lane
- rtl/psx_top.vhd:2933 Display origin is at Y=240 per MAME GP1 0x05 trace, so screen shows the empty front buffer.
- rtl/psx_top.vhd:2945 MAME proved: the MIPS boots iff the 0x1FA0BD32 poll reads 0 (timeout); reading bit 0x80 takes the early-exit path that hangs.
- rtl/psx_top.vhd:2947 (MAME takes 0.) RED = any exception taken (EPC latched != 0) GREEN = first ExcCode == 0 => INTERRUPT was first (spurious early IRQ -> 0xBFC00180 reset) BLUE = first ExcCode == 5 => AdES was first (no earlier exc; wild jump into KUSEG h
- rtl/psx_top.vhd:2958 Disasm it in MAME (same bytes) to see `jr rX` and which register held the garbage 0x1FC20298 -> trace where rX was set.
- rtl/psx_top.vhd:3214 boot-progress milestones (vs MAME ground truth): how far does the boot get?
- rtl/psx_top.vhd:3228 If the boot is stuck in the kernel memset (0xBFC01A4C, called from 0xBFC03FD4) this is the memset dest — reveals bounded(~0xa000e0xx, MAME) vs runaway(huge) vs wrong-region.
- rtl/psx_top.vhd:3283 MAME: GPU init -> strcmp (0xBFC03298, cmp 0x1FC20004 vs 0xBFC0D66C) -> 0xBFC0903C bnez: PASS=>0xBFC09044 jal 0xBFC004B8 launch -> 0x1FC202B4 decompressor; FAIL=>0xBFC09054 (skip launch).
- rtl/psx_top.vhd:3330 MAME's correct value = 0x1FC20038; HW lw got 0x1FC20298.
- rtl/psx_top.vhd:3379 s11_reached_1fc2: CPU ever fetched an instruction from the late-boot ROM region 0x1FC20000..0x1FC30000 (where MAME's Tekken does GPU init + the C76 handshake).
- rtl/psx_top.vhd:3388 s11_reached_game: CPU ever fetched early GAME code in physical [0x10000,0x40000) (MAME reaches 0x80018654 after the handshake timeout — below ram_exec's 0x40000).
- rtl/psx_top.vhd:3536 Banking + MRA ROM layout were proven correct vs MAME (byte-for-byte), so the upstream ROM->SDRAM->banked-read path is clean.
- rtl/psx_top.vhd:3538 The classification now happens in gpu.vhd gated on the cube CLUT's UNIQUE VRAM destination (X<256, Y=488 = MAME's exact cube-CLUT upload), removing the value/address ambiguity that contaminated builds #40-43.
- rtl/s10_atapi.sv:4 [MAME-SOURCE namcos10.cpp (m_ata, cs0 at 0x1FBC0000, pio_dma_read), machine/atahle.cpp, bus/ata/atapihle.cpp, bus/ata/atapicdr.cpp, machine/t10mmc.cpp] Behaviour of MAME's ATAPI CD-ROM for the commands the games use (captured from taiko2 wi
- rtl/s10_atapi.sv:12 Data phase: PIO through the data register or, with feature bit 0 set (the games program multiword DMA with SET FEATURES 03h/22h and leave feature = 03h), PSX DMA channel 5, which MAME hands to the drive while its DMARQ is pending (32-bit DM
- rtl/s10_atapi.sv:18 Sectors are delivered one at a time (2048 bytes = one DRQ block) from an 8-sector read-ahead cache: the drive keeps the sectors after the last one requested loaded (one multi-block SD request per sector), so the games' streaming finds its s
- rtl/s10_atapi.sv:165 ================================================================== IDENTIFY PACKET DEVICE (MAME matsushita_cr589_device, as read by taiko2): firmware "1.0", model "MATSHITA CR-589", word 49 = 0x0400
- rtl/s10_atapi.sv:267 one 16-bit register write (MAME command_w); 'busy' is the state before this access
- rtl/s10_atapi.sv:314 ---- bus reads (MAME 16-bit handlers: low half, then high half)
- rtl/s10_atapi.sv:384 SET FEATURES (MAME set_features with IDENTIFY words 62-64/88 = 0): transfer mode PIO default 0/1 or PIO flow control 0-2 succeed, DMA modes fail (the games still use DMA afterwards: feature bit 0 stays set); 01/66/81/CC succeed; else ABRT
- rtl/s10_ch3.vhd:7 fills: a word range set to a value (BIOS area to 0x55555555 before the BIOS arrives, main RAM to zero after the download - MAME initialises both that way) 3.
- rtl/s10_crypt_t1.sv:31 INIT_SBOX {U,U,U,0,4,9,U,U,U,8,U,1,U,9,U,5}, U = 16 (unknown in MAME, unused by mrdrilr2)
- rtl/s10_crypt_t2s.sv:4 Same function as s10_crypt_t2.sv (MAME ns10_type2_decrypter_device / ..._nonlinear_device), generalised: plain = cipher ^ mask C' = {C[47:0], cipher} P' = {P[47:0], plain} mask'[j] = parity(emask[j] & C') ^ parity(dmask[j] & P') ^ xmask[
- rtl/s10_exio.sv:4 [MAME-SOURCE namcos10_exio.cpp namcos10_exio_device (ident 0x30), namcos10.cpp namcos10_map_exio_inner] Board-bus window 0xE00000 (CPU 0x1FE00000): E06000-E0FFFF shared RAM, one byte per 16-bit location: byte k at E06000 + 2k (MCU address
- rtl/s10_exio.sv:10 The program's main loop (disassembled from the upload, entry 0x3067, loop at 0x3B4D) keeps a block at MCU 0x6008 (shared byte 0x3008) up to date: 0x3008 0x31 every pass (the game writes 0x17 there and looks for it to come back) 0x300A
- rtl/s10_gun.sv:4 [MAME-SOURCE namcos10.cpp exio_lightgun_io_r, INPUT_PORTS ptblank3] The EXIO board returns, per player, X and Y as 22-bit values split over two registers (bits 5-0, bits 21-6).
- rtl/s10_gun.sv:5 MAME's EXIO_LIGHTGUN ports run X 0..0x13F and Y 0..0xEF across the visible screen; the game (code at 0x80094848) builds (lo << 4 | hi << 10) and converts it to screen positions with the calibration in its settings, whose FIRST POWER ON defa
- rtl/s10_gun.sv:15 Board values, exact integer forms of MAME's ranges: X = v * 320 / 256 = v + v/4, Y = v * 240 / 256 = (v * 15) >> 4.
- rtl/s10_io.sv:1 Namco System 10 main-board I/O CPLD (MAME 0.289 namcos10.cpp namcos10_state::namcos10_map_inner).
- rtl/s10_io.sv:4 All registers are 16 bit wide on the 32-bit bus: a word access covers the register at addr and the one at addr+2 (MAME splits it into two 16-bit handler calls).
- rtl/s10_io.sv:11 BA0008 R/W I2C clock BA000A R/W I2C data (bit-banged; the device ACKs every byte, as in MAME) BA0012/14/16/18 W interrupt acknowledge, bit 0/1/2/3 BA001A R interrupt status: bit 3 = I/O update (100 Hz or 2x VBlank), bit 2 = CD-
- rtl/s10_io.sv:20 B20000, B60000 (watchdog), BC0000 (ATA): ignored / read 0 A 100 Hz timer sets status bit 3 and pulses IRQ10 (MAME io_update_interrupt_callback).
- rtl/s10_io.sv:23 The real-board IRQ10 source is unknown (MAME: TODO); Mr.
- rtl/s10_io.sv:40 IN1, active low, MAME bit layout
- rtl/s10_io.sv:42 light-gun positions (MAME EXIO_LIGHTGUN ports: X 0..319, Y 0..239)
- rtl/s10_io.sv:44 IRQ10 source: 0 = 100 Hz timer (MAME), 1 = 2x VBlank
- rtl/s10_io.sv:46 ATAPI INTRQ (level): status bit 2 + IRQ10 (MAME cdrom_interrupt)
- rtl/s10_io.sv:68 ------------------------------------------------------------------ I2C (MAME i2c_update)
- rtl/s10_io.sv:184 low half (addr+0) then high half (addr+2), as MAME's 16-bit handlers
- rtl/s10_loader.sv:4 MRA indexes (hps_io WIDE=1: one little-endian 16-bit word per ioctl_wr, ioctl_addr = byte offset): 1 board record (docs/ARCHITECTURE.md section 5), sent first 0 BIOS part of the first flash / NAND: unscrambled here and written to the SDRA
- rtl/s10_loader.sv:12 2 MEM(M) flash / MEM(N) NAND chips -> DDR3 image +0 3 MEM(M) data mask ROMs -> DDR3 image +0x800000 4 type-2 nonlinear bit table (MAME "decrypter:nonlinear_table", Point Blank 3) -> DDR3 image +NL_OFF 9 nvram
- rtl/s10_loader.sv:125 record bytes 10..25: MAME bitswap<16> arguments in order (source bit of output bit 15, ..., of bit 0)
- rtl/s10_loader.sv:158 PSX VRAM (DDR3 +0, 1 MB) and SPU RAM (+0x300000, 512 KB) are zeroed when a game loads (the board record, index 1, comes first), as MAME starts them: otherwise the previous game's pixels show in lines a game never draws (Taiko no Tatsujin 3
- rtl/s10_loader.sv:188 MAME ROM_FILL(0x55) of the 4 MB BIOS region, before the copy
- rtl/s10_mem.sv:5 Behaviour follows MAME 0.289: namcos10.cpp (namcos10_memm_state / namcos10_memn_state), nandflash.cpp, intelfsh.cpp (16-bit Intel StrataFlash) and ns10crypt.cpp.
- rtl/s10_mem.sv:8 All ROM-board images live in DDR3 (byte offset img_base from 0x30000000): MEM(M): flash (8 MB) at +0, data mask ROMs at +0x800000, stored as MAME's little-endian 16-bit words.
- rtl/s10_mem.sv:15 Bus semantics (MAME 16-bit handlers on the 32-bit bus): a word access is two 16-bit handler calls, low half (addr+0) first, then high half (addr+2); a byte/half access is one call for the half it falls in.
- rtl/s10_mem.sv:42 nonlinear term from the bit table (MAME ..._nonlinear_device)
- rtl/s10_mem.sv:60 the channel-5 DMA still needs words (fetch only then: MAME pio_dma_read
- rtl/s10_mem.sv:65 ---- SDRAM channel 3 client: MEM(N) SRAM at 0x1F500000 (bad-block table, 1 MB window as MAME)
- rtl/s10_mem.sv:95 Descrambler: MAME m_unscrambler = bitswap<16>(d, s15, ..., s0)
- rtl/s10_mem.sv:110 nonlinear bit table: global bit cursor (MAME m_nonlinear_count: reset only with the board, advanced by every decrypted word, wraps at the table end) and one cached 64-bit DDR3 beat of the table
- rtl/s10_mem.sv:290 NAND chips (MAME nand_device), one state set per chip
- rtl/s10_mem.sv:302 MAME m_nand_address: column | row << 8 | page << 16
- rtl/s10_mem.sv:317 program data register wraps at the page end (MAME data_w)
- rtl/s10_mem.sv:324 MAME m_bank_access_nand_direct
- rtl/s10_mem.sv:333 after an erase, status reads 0x80 again after ~1 s (MAME)
- rtl/s10_mem.sv:511 0x1F400000 RnB reads 0 (MAME: the ready callback always leaves it 0)
- rtl/s10_mem.sv:527 ---- MEM(N) data register: two NAND byte reads, high byte first (MAME nand_data_r)
- rtl/s10_mem.sv:571 page index < 64 (MAME: block < 2)
- rtl/s10_mem.sv:583 ---- MEM(M) window (MAME range_r)
- rtl/s10_mem.sv:678 command (MAME nand_device::command_w)
- rtl/s10_mem.sv:707 address (MAME address_w)
- rtl/s10_mem.sv:762 ---- MEM(M) flash command interface (MAME intelfsh_device::write_full, 16-bit device)
- rtl/s10_mem.sv:787 erase the 64 KB block (MAME: generic Intel path)
- rtl/s10_mem.sv:794 then read status (MAME)
- rtl/s10_p3.sv:5 [MAME-SOURCE namcos10.cpp namcos10_memp3_state] Board bus (CPU 0x1F300000, 0x9F.., 0xBF..):
- rtl/s10_p3.sv:8 0x320000-0x33FFFF 128 KB window into the MCU's 8 MB SDRAM (MCU 0x800000-0xFFFFFF) [OBSERVED with MAME taps on all three games, local/mame/p3trace.lua] The game uploads the MCU program (64 KB at MCU 0xFF0000) and the MP3 files, writes a com
- rtl/s10_p3.sv:14 0056 v volume: LC82310 attenuation commands 0x13 / 0x15 with v (MAME gain table) 0041, 0043 set-up (no audible effect) The game never reads anything back from the MCU except the ADC registers it copies to MCU 0xFFFFF0-0xFFFFF7 (Golgo
- rtl/s10_p3audio.sv:4 The player scans the file's index (32-byte entries after a 32-byte header) for the entry with the same samples whose MP3 length F satisfies F <= length < F + 2048 (the games store lengths rounded up to 2 KB), then streams that entry's PCM (
- rtl/sio0_stub.vhd:5 Namco's runtime library runs stock PSX pad init at boot on several titles (dunkmnia, souledge, primglex, pocketrc): it writes JOY_CTRL and polls JOY_STAT bit0 (TX Ready 1) before anything else - with the bus tied to zero that poll never ter
- rtl/spu.vhd:1427 Namco System 10: the CXD2938Q runs from 101.4912 MHz / 2 (MAME: SPU clock 50.7456 MHz), 1.5x the PlayStation's, so its 768 clocks per sample give 66.15 kHz: 512 clk1x (33.8688 MHz) per sample here.
- README.md:20 Put the MAME 0.289 ROM zips in **`/media/fat/games/mame/`** (set names below).
- README.md:30 | Game | MAME set | Year | Board | Extra file | Status |
- README.md:55 MAME marks the Taiko games and NFL Classic Football as not working; all of them play on this core.
- README.md:61 | Game | MAME set | Year | Parent game | Status |
- README.md:70 The rest of MAME's System 10 list are cabinets built around mechanics, and MAME lists all of them as not working:
- README.md:80 MAME keeps the disc as a **CHD** file, which a MiSTer arcade core cannot read, so convert it once to **BIN/CUE** with `chdman`, the tool that comes with MAME.
- README.md:95 (MAME lists RT's CHD as a bad dump; it plays fine.)
- README.md:97 Convert.** `chdman` is in your MAME folder (`chdman.exe` on Windows; on Linux / macOS install the `mame-tools` package or use the binary from your MAME build).
- README.md:98 For example, for Taiko 2, from the MAME folder:
- README.md:104 To convert all six at once on Windows, run this in the MAME folder (Command Prompt):
- README.md:135 Convert.** Run [`tools/p3audio.py`](tools/p3audio.py) with the folder holding your MAME ROM zips and the set name.
- README.md:139 python tools/p3audio.py C:\MAME\roms g13jnr python tools/p3audio.py C:\MAME\roms nicetsuk python tools/p3audio.py C:\MAME\roms squizchs
- README.md:163 MAME has no emulation of that board, which is why it lists the game as not working; this core emulates it.
- README.md:222 **DIP Switches**: the board's DIP switches, named per game from MAME.
- README.md:227 **IRQ10 (Input)**: 100Hz (default, as MAME) or 2xVBlank.
- README.md:255 Differences from MAME
- README.md:257 MAME 0.289's `namcos10` driver is the reference for this core, which matches it everywhere that can be checked (decrypted ROM data, board register traffic, boot
- README.md:258 In a few places the core goes beyond MAME:
- README.md:260 **Taiko no Tatsujin 2-6 and RT.** MAME marks them not working because its PlayStation timing is not accurate enough for a rhythm game.
- README.md:263 **NFL Classic Football.** MAME cannot read the trackballs (its control-panel board is not emulated) and marks the game not working.
- README.md:266 **Sound.** MAME flags every System 10 game as *imperfect sound*.
- README.md:269 MAME emulates the full EXIO board instead; the core reports an EXIO(G) board, so the game takes the path it takes on the cabinet.
- README.md:271 **Light guns.** MAME aims with a mouse or stick-driven crosshair.
- README.md:273 Driller 2 operator menu.** MAME lists "opening the operator menu sometimes can crash Mr.
- README.md:275 **Taiko no Tatsujin 3 right edge.** During songs the game keeps scratch data just right of its 320-pixel frame buffer and starts the picture 2 pixels in, so MAM
- README.md:278 **Gamshara region.** MAME's driver notes that it is unknown whether the later Gamshara set (20020912A) honours the World region setting like the earlier one.
- README.md:281 MAME marks Point Blank 3 *unemulated protection*: part of the KEYCUS chip's decryption is not understood and is replayed from a recorded bit table (`ptblank3_no
- README.md:305 The decrypters reproduce MAME on every word the games read.
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 8
- rtl/cpu.vhd:1176 top byte 0x00 => NO mismatch (boot output matches MAME = the fix WORKED for this region).
- rtl/gpu.vhd:1658 reset to 1023, matching real hardware (MAME: n_drawarea_x2=1023)
- rtl/gpu.vhd:1659 reset to 1023, matching real hardware (MAME: n_drawarea_y2=1023)
- rtl/gpu_cpu2vram.vhd:61 Cube CLUT is uploaded at copyDstX=256, copyDstY=482 (verified via MAME GP0 stream).
- rtl/memorymux.vhd:1086 ZN-1 has no CD-ROM: return 0xFF for reads (matches MAME open-bus), ignore writes
- rtl/psx_top.vhd:1675 Verified with MAME (60s run, positive controls proving the tap works: GPU writes = 2111, ROM-bank writes = 9): Tekken performs ZERO reads and ZERO writes to SIO0.
- rtl/psx_top.vhd:2585 Verified with MAME (60s, positive controls on GPU + ROM-bank writes): Tekken performs 0 reads and 0 writes to SIO0.
- rtl/s10_exio.sv:26 MAME does not emulate it; the protocol is taken from the uploaded MCU program (SC0 receive interrupt at MCU 0x3D2A) and the game's driver (main CPU 0x80013BF0, 0x800A1B80, 0x800A1D20), and was checked in MAME with a Lua stand-in for the boa
MAMEから移植・書き写した、または取り入れたと記載 — 2
- Namco_S10.sv:1100 DSW1 from the MRA <switches> (ioctl index 254): the byte is MAME's SYSTEM port bits 7-0 (active low, SW1:1 = bit 7 ...
- rtl/s10_crypt_t1.sv:3 Port of MAME 0.289 ns10_type1_decrypter_device (src/mame/namco/ns10crypt.cpp).
MAMEの近似をそのまま採用 — 1
- README.md:227 The board's real I/O interrupt rate is unknown (MAME's 100 Hz is a placeholder); with 2xVBlank it fires twice per frame, so Mr.