← コア一覧
HardDrivin_cockpit (retrogarage)
MAMEのドライバにない実基板の資料を引用 — 22
- rtl/harddrivin_main_bus.sv:3 In addition to ROM and RAM, this implements the SP-327 NBUS control decoder and the direct GSP/MSP host windows.
- rtl/harddrivin_main_bus.sv:5 The 74LS259 is unusual: A3:A1 select an output and A4 is the data bit, so its state is controlled entirely by the write address.
- rtl/harddrivin_main_bus.sv:77 ADSP board window 0x800000-0x83ffff (sheet 1 decoder: A23:A18 = 100000).
- rtl/harddrivin_main_bus.sv:212 SP-327 sheet 4: A23:A21=011 selects NBUS.
- rtl/harddrivin_main_bus.sv:252 MAME hd68k_zram_w and SP-327 sheet 4 agree: the battery-backed zero RAM is writable only with ZP1 low and ZP2 high.
- rtl/harddrivin_sound_board.sv:2 Hard Drivin' "driver sound" board (Atari 136052-1150 family).
- rtl/harddrivin_sound_board.sv:10 Register semantics follow the schematics as documented by MAME's harddriv_a.cpp; everything runs on the 48 MHz core clock.
- rtl/harddrivin_adsp_board.sv:6 68010 window 0x800000-0x83ffff (sheet 1 decoder 7B on A17:A15): 000 /PROGMEM 0x800000 8Kx24 program RAM, one 24-bit word per 32-bit longword (upper word carries bits 23:16) 001 /DATAMEM 0x808000 8Kx16 data memory, word address A13:A
- rtl/harddrivin_adsp_board.sv:18 ADSP data-memory ports (sheet 2 decoders 7J/5K, DMA13=1, DMA2:0): 0x2000 read /SIMBUF sequential input EPROM word, counter post-increments 0x2001 write /SIMLD load the 16-bit sequential input counter 0x2002 write /SOMD sequential out
- rtl/harddrivin_adsp_board.sv:25 The first RTL had 0x2001/0x2002 swapped, which left the polygon buffer empty -> BAD POLY BUFF ERROR.) 0x2003 write /SOMLD load the sequential output counter 0x2005 write /XOUT XFLAG <= DMD0 0x2006 write /GINT set DIRQ (68010 interru
- rtl/harddrivin_adsp_board.sv:77 ---- Control latch (74LS259 7K), cleared by power-on reset ----
- rtl/harddrivin_milestone.sv:536 SP-327 sheet 8 low switch byte.
- rtl/harddrivin_milestone.sv:1891 SP-327 sheet 3 divides the 32 MHz master by 16 four times and then toggles a 74LS74, producing the periodic 68010 IRQ at 244.140625 Hz.
- rtl/harddrivin_milestone.sv:1912 Populated Compact-board priorities from the 74S148 encoder: periodic IRQ=5, GSP HINT=3, MSP HINT=1.
- rtl/harddrivin_milestone.sv:2201 Atari ADSP board: 68010 window 0x800000-0x83ffff, ADSP-2100 core, data memory, sequential input EPROMs, double-buffered output memory, and the GINT interrupt to the 68010 (level 2 on the 74S148).
- rtl/tms34010/tms34010_pkg.sv:355 On-chip I/O register file (1988 User's Guide Figure 6-1, page 6-3).
- rtl/tms34010/tms34010_pkg.sv:453 FFFFFEE0h") and HSTCTLH (page 5507/4322).
- rtl/tms34010/io/tms34010_io_regs.sv:6 Per the 1988 User's Guide Figure 6-1 (page 6-3), the GSP has 32 internal 16-bit registers occupying the bit-address range 0xC0000000-0xC00001FF.
- rtl/tms34010/io/tms34010_io_regs.sv:54 Spec source: third_party/TMS34010_Info/docs/ti-official/1988_TI_TMS34010_Users_Guide.pdf Figure 6-1 (I/O Register Memory Map), §6 "I/O Registers".
- rtl/tms34010/io/tms34010_io_regs.sv:654 Figure 6-1 reserves these locations.
- rtl/tms34010/video/tms34010_display_addr.sv:87 User's Guide Figure 9-14 is explicit that the stored DPYADR field is decremented for both ORG values.
- rtl/tms34010/core/tms34010_decode.sv:112 This is the only MOVE that crosses register files (e.g. MOVE A0,B1 = 0x4E01, the object code in Figure 12-3).
MAMEのソースを引用 — 44
- HardDrivin.sv:99 ---- controls: MAME racedrivc port layout (the Compact set uses it) ---- MRA buttons (joystick_0 bits 4..11): Gas, Brake, Clutch, Abort, Gear down, Gear up, Key (start), Coin; bits 12..15 select gears 1..4.
- HardDrivin.sv:155 bit 7 = SW1:1, 1 = off, MAME's port 0 high byte), byte 1 bit 0 = the DIAGN jumper (1 = off).
- HardDrivin.sv:278 MAME declares the cabinet Key as momentary START1, without PORT_TOGGLE.
- HardDrivin.sv:467 The force-brake transducer (8-bit ADC channel 6) reads 0xf0 released and falls to 0x20 under full pressure (MAME racedrivc 8BADC.6: MINMAX 0x20..0xf0, reversed, rest 0xf0 - the values MAME's saved calibration expects).
- HardDrivin.sv:482 harddrivc uses MAME's racedrivc map: its ADC0809 channels 2..5 are physically unused; ordinary gear selection is the maintained digital port below.
- HardDrivin.sv:516 MAME racedrivc a80000: bit 0 Abort, bit 1 Key, bit 2 aux coin, bits 8..11 gears 1st..4th (all active low); bit 14 = wheel edge (the bus).
- tests/tb_harddrivin_gsp_memory.sv:187 LAD is the multiplexed address/data bus and the latch changes during the data phase, so the register captures the write DATA (MAME: finescroll = data & 7); the address nibble is irrelevant.
- tests/tb_harddrivin_gsp_memory.sv:433 inside block 3: the write waited for block 3's copy and landed after it (MAME order: RTM then write)
- rtl/harddrivin_main_bus.sv:195 The status word mirrors the board/MAME hd68k_snd_status_r: {mainflag, soundflag, 14'h1fff}.
- rtl/harddrivin_main_bus.sv:234 MC68681 DUART at 0xff0000-0xff001f on the upper byte lane (MAME umask 0xff00).
- rtl/harddrivin_main_bus.sv:240 Driver sound board latches (MAME harddriv_sound_board_device): 0x840000 data (main<->sound), 0x844000 status, 0x84c000 sound reset.
- rtl/harddrivin_main_bus.sv:252 MAME hd68k_zram_w and SP-327 sheet 4 agree: the battery-backed zero RAM is writable only with ZP1 low and ZP2 high.
- rtl/harddrivin_main_bus.sv:543 Movement that the game has not read remains invisible, exactly as on the board/MAME.
- rtl/harddrivin_main_bus.sv:684 MAME hd68k_adc12_r returns the selected byte with ZEROS in the unused bits (the handler is mapped 16 bits wide).
- rtl/harddrivin_main_bus.sv:754 MAME COMBINE_DATA: an upper-lane write does not replace the ADC control bits in the low byte on the cockpit board.
- rtl/harddrivin_compact_scanout.sv:98 MAME renders each line at its programmed HEBLNK inside one fixed frame viewport.
- rtl/harddrivin_compact_scanout.sv:220 Exact MAME get_display_params + scanline_driver formula, in bytes: row=(effective DPYADR >> 4), col=((DPYADR & 0x7c)<<4)|DPYTAP.
- rtl/harddrivin_gsp_memory.sv:115 Ordinary VRAM accesses that fall inside the range covered by queued copies wait until the queue has drained, so the memory image is always the one MAME's immediate copies produce.
- rtl/harddrivin_gsp_memory.sv:385 The Compact board (MAME harddriv_v.cpp hdgsp_write_to_shiftreg / hdgsp_read_from_shiftreg) uses them as whole-block copies: an MTR latches the source block, an RTM copies the block to the destination when the SHIFTREG latch (f4800000/f48000
- rtl/harddrivin_gsp_memory.sv:401 MAME's m_gsp_vram is a 16-bit array (vram_mask = words - 1): normal VRAM block = word ((a - ff800000) >> 4) & ~255 = {a[21:12], 8'b0}, 256 words.
- rtl/harddrivin_gsp_memory.sv:984 (posted writes captured before the RTM drain first so the copy lands after them, as MAME's immediate copy did).
- rtl/harddrivin_gsp_memory.sv:1224 The ALS574 captures the DATA bus LAD3:0 on the SCROLL rising edge (MAME: finescroll = data & 7 on the MultiSync board).
- rtl/adsp2100_core.sv:9 MAME was used only as a behavioral replay oracle.
- rtl/adsp2100_core.sv:25 1: MAME-compatible variant (midpoint test on the shifted product only) used by the replay testbench to stay in lock-step with the oracle.
- rtl/adsp2100_core.sv:29 1: MAME still pops the loop, PC and counter stacks when the termination condition is true (replay oracle behaviour, kept only for lock-step verification).
- rtl/adsp2100_core.sv:357 MAME tests the midpoint on the shifted product and clears bit 16 of the rounded result (fitted to 400 recorded samples).
- rtl/adsp2100_core.sv:795 MAME-compatibility only: pop the stacks on a true termination even though the explicit branch is taken.
- rtl/harddrivin_sound_board.sv:10 Register semantics follow the schematics as documented by MAME's harddriv_a.cpp; everything runs on the 48 MHz core clock.
- rtl/harddrivin_cockpit_expander.sv:3 MAME hdgsp_vram_1bpp_w: each source bit enables one of sixteen bytes.
- rtl/harddrivin_adsp_board.sv:18 ADSP data-memory ports (sheet 2 decoders 7J/5K, DMA13=1, DMA2:0): 0x2000 read /SIMBUF sequential input EPROM word, counter post-increments 0x2001 write /SIMLD load the 16-bit sequential input counter 0x2002 write /SOMD sequential out
- rtl/harddrivin_adsp_board.sv:36 MAC rounding rule of the ADSP-2100 core: 0 = manual 2.3.2.6 (default), 1 = MAME's variant (replay benches only, to stay word-exact with the oracle).
- rtl/harddrivin_milestone.sv:292 MAME: L5 ~244/s from ~1.3 s, L1/L4 ~80/s from 2.7 s, L2 0.
- rtl/harddrivin_milestone.sv:296 Page A7 65: the first seven HSTCTL values the 68010 READS from the MSP after the HLT release (MAME: 3800 3890 3810 3880 ...).
- rtl/harddrivin_milestone.sv:297 Page A7 66: the first seven HSTCTLL values the MSP itself WRITES after release (MAME: 0090 0080 0000 ...).
- rtl/harddrivin_milestone.sv:844 Reset only with the domain (rst_msp): the 68010 pulses the MSP core reset mid-download, which used to clear these counters (page 57 then showed only the post-pulse tail: 34723 words, exactly MAME's tail count).
- rtl/harddrivin_milestone.sv:883 Page 66: the first seven CHANGES of the live HSTCTLL register value after release (either side may write it; MAME sequence 0090 0080 0000 0090 ...
- rtl/harddrivin_milestone.sv:964 Three wait states per MSP RAM access: calibrated against MAME with the full 68010 host stream (tests/tb_harddrivin_msp_cosim.sv): the MSP's message hold time (HSTCTLL 0x0090 -> 0x0080) is 796 us with 3, 529 us with 0; MAME/real board ~790 u
- rtl/harddrivin_milestone.sv:1109 The Compact ROM/MAME oracle writes F720/FFF5 here, forming PC=FFF5F720.
- rtl/harddrivin_milestone.sv:1923 With an enable every 6 clocks (8 MHz) the boot timeline ran ~2.7x ahead of the real machine (MAME: first periodic tick 1.3 s, MSP release 2.70 s, GSP release 2.93 s; ours 0.60 / 1.00 / 1.06 s) and the game's bounded waits shrank accordingly
- rtl/harddrivin_milestone.sv:1928 An enable every 16 clocks (3 MHz) brings the timeline to MAME's within ~5 %.
- rtl/harddrivin_milestone.sv:2036 ADSP sequential-input EPROMs: MAME's user1 region is 16_BE with 10h at even bytes, so the ADSP sees (10h << 8) | 10k (index 0x41 = 0x0714).
- rtl/tms34010/tms34010_system.sv:23 0: no DRAM refresh cycles on the local bus (a controller that refreshes its own memory, e.g. SDRAM, does not need them; MAME charges none)
- rtl/tms34010/core/tms34010_decode.sv:2500 K is stored as its 1s complement: bit = 31 - K (SPVU001A 12-46; MAME BTST_K)
- README.md:76 MAME was used as a behavioral reference during development.