← コア一覧
KonamiGV (kyledlester)
MAMEのソースを引用 — 91
- PSX.sv:487 GV 93C46 EEPROM (64 x 16 bit, MAME/.25c byte order = big-endian words).
- PSX.sv:532 the 16-bit flash is kept in MAME's byte order (big-endian words, = MAME's nvram/<set>/flash file)
- PSX.sv:548 GV trackball (Simpsons Bowling uPD4701; MAME TRACK0_X is reversed, TRACK0_Y counts down-positive): USB mouse / trackball (ps2_mouse, PS/2 Y is up-positive) plus, optionally, the left analog stick as a rate input (deadzone, ~2000 counts/s at
- PSX.sv:630 Dead Eye guns (MAME kdeadeye GUNX 0x4C..0x1BB, GUNY 0x00..0xEF across the screen, trigger = button 1).
- PSX.sv:687 Tokimeki: simulated heartbeat (MAME "Simulated" default 80 bpm; OSD rate or hand off) and the GSR (sweat) sensor from player 1's stick pulled down (0..0x7F; MAME's usable range is 0x00-0x80).
- PSX.sv:782 MiSTer joystick: [0]R [1]L [2]D [3]U [4]B1 [5]B2 [6]B3 [7]Start [8]Coin [9]Service [10]Test MAME P1: 0 L, 1 R, 2 U, 3 D, 4-6 B1-B3, 9 START1, 10 COIN1, 11 SERVICE1, 12 TEST, 13 EEPROM DO (board) MAME P2: 0-6 as P1 (player 2), 9 START2
- PSX.sv:790 Dead Eye: joystick/button bits 0-6 unknown (MAME kdeadeye), P3/P4 unknown; triggers are on the gun board.
- PSX.sv:1257 GV: 2 MB main RAM (MAME konamigv)
- PSX.sv:1297 GV: ZV610 uses the CXD8514Q (MAME konamigv)
- rtl/dma.vhd:750 Konami GV: NCR 53CF96 DMA (MAME konamigv scsi_dma_read/write)
- rtl/gpu_videoout.vhd:240 GV: VRAM row = display start (GP1 05h) + line within the display range, as on the real GPU and in MAME.
- rtl/gv/gv_board.vhd:1 Konami GV (ZV610 / GV999) base board devices on the PSX EXP1 bus, per MAME 0.289 src/mame/konami/konamigv.cpp konamigv_map():
- rtl/gv/gv_board.vhd:13 The EXP1 bus is presented byte-stepped by memorymux: bus_addr is the true byte address (offset from 0x1F000000) of each lane of a CPU access, so MAME's umask lane semantics are reproduced exactly by decoding the byte address.
- rtl/gv/gv_board.vhd:18 DMA channel 5 is bridged to the NCR's byte DMA port (MAME konamigv scsi_dma_read/write: 4 bytes per 32-bit word, little-endian).
- rtl/gv/gv_board.vhd:50 inputs (active low, MAME port layout; P1 bit 13 is replaced by the EEPROM DO line)
- rtl/gv/gv_board.vhd:241 If the SCSI data phase ends before the programmed block count, MAME simply stops transferring; here the remaining words are released with stale data so the engine (and the paused CPU) cannot hang.
- rtl/gv/gv_cd_media.vhd:10 It converts to MAME logical frames (LBA = HPS LBA - 150), keeps the TOC, serves Mode 1 user data to the SCSI target from a two-sector cache with read-ahead, and streams audio frames to the CD-DA player.
- rtl/gv/gv_cd_media.vhd:90 frame layout per buffer = word offset of the 2048 user-data bytes (MAME cdrom_file::read_data with datatype MODE1): 8 = raw Mode 1 frame (MODE1_RAW, CUE MODE1/2352: byte 16), 12 = raw Mode 2 frame (MODE2_RAW, e.g. Simpsons Bowling: byte 24,
- rtl/gv/gv_cd_media.vhd:209 MAME cdrom_file::read_data(.., CD_TRACK_MODE1) fails for audio-track frames -> zeros
- rtl/gv/gv_cdda.vhd:1 Konami GV: Red Book CD-DA player, behaviour of MAME 0.289 src/devices/sound/cdda.cpp as driven by the XM-5401 SCSI model (PLAY AUDIO TRACK/INDEX, PAUSE/RESUME, READ SUB-CHANNEL).
- rtl/gv/gv_cdda.vhd:5 This block produces the drive's 44.1 kHz stereo stream; the top level mixes it with the SPU like MAME's speaker (SPU 0.75, CD-DA 1.0).
- rtl/gv/gv_cdda.vhd:8 MAME semantics kept: start(lba, blocks): playing, not paused, not ended; position = lba; cache flushed pause(p) : output silence and freeze while paused end of range : playing <= 0, ended <= 1 once the last sample has been pla
- rtl/gv/gv_eeprom93c46.vhd:1 Konami GV: 93C46 serial EEPROM (64 x 16 bit), behavioural model of MAME src/devices/machine/eepromser.cpp (eeprom_serial_93cxx_device, streaming disabled) and src/devices/machine/eeprom.cpp (operation timing), MAME 0.289.
- rtl/gv/gv_eeprom93c46.vhd:5 Board wiring (MAME konamigv.cpp): write 0x1F180000 : bit0 = DI, bit1 = CS, bit2 = CLK (one port write updates all three lines; MAME applies them in bit order DI, CS, CLK) read P1 bit 13 : DO (active high)
- rtl/gv/gv_eeprom93c46.vhd:57 power-on locked (MAME device_start)
- rtl/gv/gv_eeprom93c46.vhd:113 AND against present contents (MAME write_all); two-phase read/modify/write
- rtl/gv/gv_eeprom93c46.vhd:124 DO line (MAME do_read): WAIT_FOR_START_BIT reports READY (busy -> 0); READING_DATA drives the shift register MSB; everything else is the tristated pull-up (1).
- rtl/gv/gv_eeprom93c46.vhd:171 MAME applies the three lines in bit order: DI, then CS, then CLK.
- rtl/gv/gv_expio.vhd:1 Konami GV expansion I/O ports at 0x1F680080-0x1F6800FF, per MAME 0.289 konamigv.cpp:
- rtl/gv/gv_expio.vhd:3 Beat the Champ (btchamp_map): 0x80-0x87 two uPD4701A read_xy: trackball 0 on the odd lanes (umask32 0xFF00FF00: 81 X lo, 83 X hi, 85 Y lo, 87 Y hi), trackball 1 on the even lanes (umask32 0x00FF00FF: 80, 82, 84, 86) 0x88 btc_trackbal
- rtl/gv/gv_lba2msf.vhd:1 Konami GV: frame count -> binary M:S:F (MAME nscsi_cdrom_device::to_msf, not BCD).
- rtl/gv/gv_ncr53cf96.vhd:5 MAME's event-driven step() is reproduced as an event-gated FSM: the FSM is evaluated in a cycle only when MAME would have called step() - a SCSI obus line it watches changed, a FIFO write or DMA byte access happened, the delay timer expired
- rtl/gv/gv_ncr53cf96.vhd:11 Delays: MAME delay(n) = n * clock_conv SCSI clocks (16 MHz board clock), delay_cycles(n) = n SCSI clocks.
- rtl/gv/gv_ncr53cf96.vhd:35 DMA byte port (MAME dma_r / dma_w)
- rtl/gv/gv_ncr53cf96.vhd:88 architectural state (MAME member variables)
- rtl/gv/gv_ncr53cf96.vhd:137 working copies (MAME mutates these sequentially inside one call chain)
- rtl/gv/gv_ncr53cf96.vhd:171 MAME recursion: evaluate again next cycle
- rtl/gv/gv_ncr53cf96.vhd:344 MAME command_pop_and_chain(): the chained start_command() runs on the next cycle
- rtl/gv/gv_ncr53cf96.vhd:579 select timeout (DELAY_HACK in MAME)
- rtl/gv/gv_scsi_cdrom.vhd:3 Bus behaviour ports MAME 0.289 src/devices/machine/nscsi_hle.cpp (nscsi_full_device): selection, MESSAGE OUT (IDENTIFY), COMMAND, optional DATA IN/OUT, STATUS, MESSAGE IN (COMMAND COMPLETE), BUS FREE, with zero data-byte period / command de
- rtl/gv/gv_scsi_cdrom.vhd:7 Command semantics port src/devices/bus/nscsi/cd.cpp (nscsi_cdrom_device) for the commands a GV board can issue: TEST UNIT READY, REZERO, REQUEST SENSE, READ(6), INQUIRY, MODE SELECT(6), MODE SENSE(6), START/STOP, RECEIVE/SEND DIAGNOSTIC, PR
- rtl/gv/gv_scsi_cdrom.vhd:13 Addresses are MAME logical frames: LBA 0 = first frame of track 1 (MiSTer HPS LBA - 150).
- rtl/gv/gv_scsi_cdrom.vhd:15 Red Book playback is delegated to gv_cdda (MAME cdda_device equivalent).
- rtl/gv/gv_scsi_cdrom.vhd:60 MAME cdda get_audio_lba()
- rtl/gv/gv_scsi_cdrom.vhd:91 phase plan built by command execution (replaces MAME's control queue)
- rtl/gv/gv_scsi_cdrom.vhd:100 sense data (MAME set_sense_data with a sense_data struct -> byte0 = 0xF0)
- rtl/gv/gv_scsi_cdrom.vhd:146 MODE SENSE pages in MAME emission order for page 0x3F (0x31, 0x30, 0x0E, 0x02, 0x01, 0x00)
- rtl/gv/gv_scsi_pkg.vhd:4 The bus is modelled at signal level exactly like MAME's nscsi_bus: every device drives control lines and data that are OR-ed together; REQ/ACK handshakes move the bytes.
- rtl/gv/gv_scsi_pkg.vhd:12 information transfer phase = MSG & C/D & I/O (MAME S_MSG, S_CTL, S_INP)
- rtl/gv/gv_simpbowl.vhd:1 Konami GV: The Simpsons Bowling daughtercard (PWB402610), per MAME 0.289 src/mame/konami/konamigv.cpp simpbowl_state (flash_r / flash_w, simpbowl_map) src/devices/machine/intelfsh.cpp fujitsu_29f016a_device (8-bit, 2 MB, maker 04h, device
- rtl/gv/gv_simpbowl.vhd:24 Erase/status timers follow MAME (chip erase 16 s, sector/block erase 1 s), measured on time_ck, a free-running clk1x (33.8688 MHz) cycle count.
- rtl/gv/gv_simpbowl.vhd:29 16-bit personality (f16_en, Beat the Champ / Dead Eye, MAME btchamp_map / kdeadeye_map): 0x1F380000-0x1F3FFFFF Sharp LH28F400 (intelfsh16: 512 KB, maker B0h, device EDh), read/write as a 16-bit device: word address = (offset >> 1), chip 0
- rtl/gv/gv_simpbowl.vhd:34 The array is the first 512 KB of the same DDR3 window; blank_fill erases it to 0xFF (a never-saved flash reads blank, as in MAME without an nvram file).
- rtl/gv/gv_simpbowl.vhd:43 MAME intelfsh: chip erase timer 16 s
- rtl/gv/gv_simpbowl.vhd:265 MAME intelfsh write_full for one chip (8-bit Fujitsu 29F016A: m_addrmask = 0)
- rtl/gv/gv_simpbowl.vhd:356 MAME intelfsh read_full for one chip; ERASEAMD4 toggles DQ6|DQ2 per read (Fujitsu ADh: always)
- rtl/gv/gv_simpbowl.vhd:499 erase / status timers (MAME delay_tick), once the fill has landed
- rtl/gv/gv_simpbowl.vhd:549 16-bit personality: one chip, 64 KB block (MAME base & ~0xFFFF) or whole 512 KB, all lanes
- rtl/gv/gv_sio_host.vhd:6 That is how a new board's blank flash was prepared; MAME connects nothing to SIO1, so its btchamp stops at "FLASH ROM CORRUPT".
- rtl/memorymux.vhd:59 ext_byteStep: which byte of the CPU access this step serves (konami.cpp lane semantics)
- rtl/memorymux.vhd:966 lane-within-CPU-access, decoupled from the address (konami.cpp semantics)
- rtl/memorymux.vhd:1094 DuckStation ignores MEMCTRL width for EXP1 entirely (konami.cpp is size-agnostic) -- mirror that.
- rtl/psx_top.vhd:128 active low, MAME konamigv port layout
- rtl/psx_top.vhd:131 '1': MAME routing (SPU ch1 -> left)
- rtl/psx_top.vhd:359 GV: VRAM clear on every board reset (MAME starts with zeroed VRAM; DDR3 keeps the previous session's contents, visible in rows a game never draws).
- rtl/psx_top.vhd:412 CPU-access byte-step (konami.cpp lane semantics)
- rtl/psx_top.vhd:1163 flash erase timers (MAME delay_tick)
- rtl/psx_top.vhd:1990 Tokimeki device-check start value per program (MAME m_device_val_start_state), from MRA board byte bits 5:4: 0 tmosh, 1 tmoshs (Seal), 2 tmoshsp / tmoshspa (Seal Plus)
- rtl/psx_top.vhd:1996 Tokimeki: P2 bit 10 is the expansion board's device-check line (MAME tokimeki_device_check_r)
- rtl/psx_top.vhd:2051 Audio: MAME konamigv speaker = 0.75 * SPU (ch1 -> left, ch0 -> right) + 1.0 * CD-DA
- README.md:19 Beat the Champ and Dead Eye work despite MAME listing both as not working, and Tokimeki Memorial plays without its cabinet sensors (see below).
- README.md:31 Put each game's **CHD** in **`/media/fat/games/<set name>/`**, unchanged from your MAME set, for example `/media/fat/games/susume/gv027j1.chd`.
- README.md:41 | Game | MAME set | Year | Genre | CHD | Status |
- README.md:59 | Game | MAME set | Year | Parent game | CHD | Status |
- README.md:68 **Tokimeki Memorial Oshiete Your Heart Seal Version Plus (GE756 JAA):** a clone of the JAB set in MAME.
- README.md:70 MAME marks that disc as dumped from a damaged CD; it works properly in this core, but if something goes wrong in this set only, the disc is the likely cause.
- README.md:74 The Simpsons Bowling keeps its program in 8 MB of flash on an add-on board, and MAME's set does not include a flash dump: the game copies itself from the disc i
- README.md:97 MAME has nothing on that port, so in MAME the game stops at *FLASH ROM CORRUPT*.
- README.md:150 Up to four players, each with an 8-way joystick and three buttons, wired as in MAME's driver:
- README.md:188 How the core relates to MAME
- README.md:190 MAME 0.289's `konamigv` driver is the behavioural reference.
- README.md:197 **EEPROM**: MAME's 93C46 bit-banging replayed with identical results.
- README.md:198 **Simpsons Bowling flash**: 5.5 million flash accesses from MAME (chip ID, erases, the blank check, 46,548 program-and-verify sequences) replayed with every byt
- README.md:200 **Beat the Champ / Dead Eye flash**: 16.7 million flash accesses from MAME's Beat the Champ replayed with every byte read back identical.
- README.md:204 **Video**: the picture is read from video memory exactly as MAME and the real GPU do.
- README.md:206 Where MAME falls short, the core goes further: Beat the Champ initializes its blank flash through the factory host (MAME stops at *FLASH ROM CORRUPT*), and Dead
- README.md:210 The benches are in [`sim_gv/`](sim_gv/); the MAME tracing and replay tools are in [`tools/`](tools/).
- README.md:211 They need your own MAME set and are not run as part of the build.
- README.md:232 The GV board itself (SCSI controller and CD drive, CD audio, EEPROM, inputs, the Simpsons daughtercard) is new and follows MAME.
- README.md:234 **Original MAME CHDs, no conversion.** MiSTer Main's PSX CD support streams the disc.
- README.md:264 [MAME reference](docs/MAME_REFERENCE.md) and [memory map](docs/GV_MEMORY_MAP.md)
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 8
- PSX.sv:655 The game then reads X = Y = 0, outside its 0x4C-0x1BB / 0x00-0xEF window, which it treats as a shot off the screen (reload; checked in MAME).
- rtl/gv/gv_eeprom93c46.vhd:10 Storage layout matches MAME's nvram file and the ROM_REGION16_BE "susume.25c" image: word n = byte[2n] << 8 | byte[2n+1].
- rtl/gv/gv_eeprom93c46.vhd:190 A CLK edge in the same write as the CS rising edge sees the old state (IN_RESET) and is ignored, which matches MAME's "time > m_last_cs_rising_edge_time" start-bit rule.
- rtl/gv/gv_ncr53cf96.vhd:8 This keeps the software-visible register sequence identical to MAME while timing becomes real hardware cycles.
- rtl/gv/gv_sio_host.vhd:8 Echoing the challenge decodes to the zero payload (verified in MAME with a Lua host).
- README.md:190 During development every new piece of hardware was checked against MAME in simulation:
- README.md:193 **SCSI CD-ROM**: complete MAME SCSI sessions (Susume, and The Simpsons Bowling's boot from its Mode 2 disc) replayed into the core's NCR 53CF96 controller and C
- README.md:202 **Expansion ports**: trackball counters, gun ports, Tokimeki sensors, printer and device check, and the Beat the Champ factory host, checked against MAME's beha
MAMEから移植・書き写した、または取り入れたと記載 — 1
- rtl/gv/gv_ncr53cf96.vhd:1 Konami GV: NCR 53CF96-2 SCSI controller (initiator role), register-accurate port of MAME 0.289 src/devices/machine/ncr53c90.cpp (ncr53cf96_device, which inherits the 53C90A status register and command validity rules and the 53CF94 tcount/ID
MAMEの近似をそのまま採用 — 1