← コア一覧
Vindicators
MAMEのドライバにない実基板の資料を引用 — 305
- Arcade-Vindicators.sv:176 Per-player switch word, ACTIVE HIGH ("pressed"), in the order of the panel switches Pn-S1..Pn-S8 on SP-317 sheet 13 (= MAME 0x260000 D8..D15); see the port comment in vind_core.sv.
- rtl/main/vind_addr_decode.sv:3 Vindicators 68010 address decode — SP-317 sheet 4 (PAL 3C, LS139 4J) and sheet 3 (LS138 7/8B), gate for gate.
- rtl/main/vind_addr_decode.sv:7 Structure derives from the Xybots MiSTer core's `xybots_addr_decode.sv` (GPL-3.0); every equation below is Vindicators' own, read off SP-317 sheets 4 and 3.
- rtl/main/vind_addr_decode.sv:11 ---- PAL16L8 3C = 136059-1150 (sheet 4) -------------------------------- Pin map from the drawing: 1=BAS 2=A19 3=A18 4=A17 5=A16 6=A15 7=A14 8=A13 9=BS0 11=BS1 | 12=MA14' 13=MA13' 14=/SLAPCS 15=/IOSEL 16=/COM 17=/ROM2 18=/ROM1 19=/ROM0.
- rtl/main/vind_addr_decode.sv:14 Fuse map decoded from the PAL dump with `jedutil`, re-checked against the sheet:
- rtl/main/vind_addr_decode.sv:30 The 2C slapstic socket is believed unpopulated (sheet 4).
- rtl/main/vind_addr_decode.sv:36 ---- LS139 4J (sheet 4) ------------------------------------------------
- rtl/main/vind_addr_decode.sv:44 ---- LS138 7/8B (sheet 3) ----------------------------------------------
- rtl/main/vind_addr_decode.sv:49 `CA20`, `CA16`, `CA5`, `CA4` are the buffered copies of the CPU's A20/A16/A5/A4 (the A1..A16 buffers are 7E/8E on sheet 4; CA20's buffer is on the video sheets, so it is taken here as a straight copy of A20).
- rtl/main/vind_addr_decode.sv:66 ---- derived control (sheet 4) -----------------------------------------
- rtl/main/vind_addr_decode.sv:76 2C slapstic socket empty -> the PAL's BS inputs float HIGH (sheet 4).
- rtl/main/vind_addr_decode.sv:87 ---- common-bus qualifiers, from the video sheets (sheet 3) ----
- rtl/main/vind_addr_decode.sv:91 ---- PAL 3C ----
- rtl/main/vind_addr_decode.sv:101 ---- LS139 4J ----
- rtl/main/vind_addr_decode.sv:137 ---- LS139 4J --------------------------------------------------------
- rtl/main/vind_cpu.sv:3 Vindicators main CPU wrapper — MC68010 at 5D, SP-317 sheet 4.
- rtl/main/vind_cpu.sv:10 The part on the board is a **68010** (sheet 4, 64-pin DIP at 5D, CLK = RCLKA = 7.15909 MHz).
- rtl/main/vind_cpu.sv:18 This wrapper presents the sheet's own active-high `BAS` and an active-high `dtack` to the rest of the main board, and A23..A1 with **no A0** — there is no A0 pin on a 68010 and none anywhere on this board; the byte lane is /UDS //LDS and no
- rtl/main/vind_cpu.sv:30 * `/AS`, `/UDS`, `/LDS` and `R//W` are driven from a `cpu_cen`-gated state machine, so every strobe edge lands on an RCLKA boundary — the same edges the 8D LS163A samples (`vind_dtack`, /CLR = BAS, CK = RCLKA).
- rtl/main/vind_cpu.sv:35 One extra RCLKA in the LS163A therefore becomes exactly one extra RCLKA of bus cycle, so the sheet's table maps one-for-one: 0 waits for ROM and the write strobes, **1** for /EEPROM, **stall until PVCPU** for /VRAM, **stall until EWAI** for
- rtl/main/vind_cpu.sv:43 Nothing on this board looks at that: every terminator is /DTACK off the LS163A, /BERR is tied high (no timeout), and the video side re-times its own accesses through PVCPU / EWAI.
- rtl/main/vind_cpu.sv:48 ---- /VPA and autovectors ---------------------------------------------- Sheet 4: `/VPA = ~(BAS & FC0 & FC1 & FC2)`, so every interrupt acknowledge is autovectored.
- rtl/main/vind_cpu.sv:140 CPU generic defaults to "01" (68010) in TG68K.vhd; the ghdl-generated netlist bakes it in, so it is not overridden here (works for both).
- rtl/main/vind_dtack.sv:3 Vindicators /DTACK and wait-state sequencer — SP-317 sheet 4, gate for gate (8D 74LS163A + 22F 74S74 + 23E/7D LS02 + 5F S32 + 22D LS10 + 24E LS86).
- rtl/main/vind_dtack.sv:7 Modelled on the Xybots core's `xybots_dtack.sv` (GPL-3.0); the counter, the load vector and the COM grant latch below are Vindicators' own, read off SP-317 sheet 4.
- rtl/main/vind_dtack.sv:35 ---- the sequencer ----------------------------------------------------- 22F 74S74 D = sd, CK = RCLKB, /PRE = /CLR = PR4 (inactive) Q -> 8D ENT 8D LS163A CK = RCLKA, /CLR = BAS (SYNCHRONOUS), /LD = QC (SYNCHRONOUS) ENT = 22F Q, ENP =
- rtl/main/vind_dtack.sv:87 PAL 3C /COM
- rtl/main/vind_dtack.sv:123 ---- 22F 74S74, clocked by RCLKB ------------------------------------
- rtl/main/vind_dtack.sv:129 ---- 8D 74LS163A, clocked by RCLKA ----------------------------------
- rtl/main/vind_eeprom_2804.sv:3 Vindicators X2804A (512 x 8) EEPROM at 1C + the 18E LS74 unlock latch — SP-317 sheet 4.
- rtl/main/vind_eeprom_2804.sv:6 Ported from the Xybots MiSTer core's `xybots_eeprom_2804.sv` (itself from Toobin's `toobin_eeprom_2804.sv`), GPL-3.0, and re-derived against the SP-317 sheet-4 wiring.
- rtl/main/vind_inputs.sv:3 Vindicators player / status input ports — SP-317 sheet 3 (1/2B, 3B, 6B LS244 and 9B LS367A).
- rtl/main/vind_inputs.sv:7 Shaped after the Xybots core's `xybots_inputs.sv` (GPL-3.0); the bit map is Vindicators' own, read off SP-317 sheet 3.
- rtl/main/vind_inputs.sv:10 ---- the three switch buffers ------------------------------------------ 1/2B LS244A (/PL1, 0x260000), 3B LS244B (/PL2, 0x260010) and 6B LS244C (/PL3, 0x260020) each drive the HIGH byte only, with BOTH enables tied to their strobe.
- rtl/main/vind_inputs.sv:22 **Sheet 12's legend numbers the bits the other way round** ("D15 (Switch 1) ...
- rtl/main/vind_inputs.sv:23 Sheet 3 is the wiring and wins; sheet 12 is just numbering bits top-down.
- rtl/main/vind_inputs.sv:27 ---- the status byte (9B LS367A, enabled by /PL2) ---------------------- CD0 = /VBLANK (video sheets) CD1 = S-TEST (self-test switch, pulled up by R68 -> 1 = not pressed) CD2 = /SINT (SCOM FULL, sheet 2 — sound -> main byte waiting
- rtl/main/vind_inputs.sv:37 ---- the unpopulated LETA / ADC0809 low byte (sheet 3) ---------------- 13B (LETA quadrature) would drive CD0-CD7 during /PL1 and 11B (ADC0809) during /PL3.
- rtl/main/vind_inputs.sv:39 Neither is populated on Vindicators (sheet 12 lists no analog entry, MAME declares the low bytes IPT_UNUSED, and the cabinet has only twin digital sticks), so those lanes read the floating/pulled-up bus = **0xFF**.
- rtl/main/vind_inputs.sv:64 the 9B LS367A byte, for observation in simulation
- rtl/main/vind_inputs.sv:73 CD5 — LS367A pin 2 is a bare stub
- rtl/main/vind_irq.sv:3 Vindicators interrupt encoding — SP-317 sheet 4 (21E LS08, R79/R80, 9F LS11, 20E LS00).
- rtl/main/vind_irq.sv:7 Shaped after the Xybots core's `xybots_irq.sv` (GPL-3.0); the encoding is Vindicators' own, read off SP-317 sheet 4.
- rtl/main/vind_irq.sv:24 /SINT is the SCOM's `FULL` pin, a push-pull output (sheet 2), so that half is settled; /VINT comes from the VIRQ latch on the video sheets, so the asymmetry is **(inferred)**.
- rtl/main/vind_irq.sv:45 ---- acknowledge -------------------------------------------------------- /VACK (sheet 3 LS138 Y0, write 0x360000) clears the VIRQ latch, which lives on the VIDEO sheets — so this module takes /VINT as an input and exports the /VACK strobe
- rtl/main/vind_irq.sv:57 /SINT — SCOM FULL, sheet 2
- rtl/main/vind_main_bus.sv:3 Vindicators main board — SP-317 sheets 2, 3 and 4 as one block.
- rtl/main/vind_main_bus.sv:10 Composes: vind_cpu (TG68K in 68010 mode) + vind_addr_decode (PAL 3C, LS139 4J, LS138 7/8B) + vind_dtack (8D LS163A sequencer + the EWAI latch) + vind_irq + vind_watchdog (22M/N LS197 + the sheet-2 one-shot) + vind_eeprom_2804 (1C + the 18E
- rtl/main/vind_main_bus.sv:16 The memory map, the wait-state table and the schematic-vs-MAME decisions are documented in the submodule headers; this one records the composition.
- rtl/main/vind_main_bus.sv:30 **The SCOM mailbox toward the JSA I board** — the SCOM device itself (14/15B on sheet 2, both halves of the 4-wire serial link) is `rtl/sound/vind_scom.sv`.
- rtl/main/vind_main_bus.sv:36 ---- two buses, not one ------------------------------------------------ Sheet 4 gives the 7E/8E LS244 and 8C/7C LS245 enables as `/EWAI`, and EWAI = ~(ENOWAI + /COM), asserted **only** for /COM cycles.
- rtl/main/vind_main_bus.sv:42 * sheet 6 — VRAM 1M/2M/2N/1N is addressed by **MA1..MA16** (the always-enabled 3D/3E LS244s) and sits on the **raw 68010 D0-D15**, through 3L/3K LS373 (read, G = VCPU, /OC = /VRAMRD = /VRAM + W//R) and 4L/4K LS244 (write, /G = VR//W).
- rtl/main/vind_main_bus.sv:45 `/CLRAM = MA16` splits CRAM off, and sheet 10 puts the CRAM CPU port on the same raw D bus, direction `VW//R`.
- rtl/main/vind_main_bus.sv:48 * so `/EWAI` gates only the I/O block on sheet 3 — the three LS244 switch ports, the 9B LS367A status byte, the SCOM and the 10B LS174.
- rtl/main/vind_main_bus.sv:54 ---- CDS, /CIO and CW//R ----------------------------------------------- All three are generated on **sheet 5** (the unpopulated ECPU sheet), not on the video sheets: 23D LS158A muxes the two CPUs (`SEL = EWAI`, B = the main CPU), 20D LS32
- rtl/main/vind_main_bus.sv:63 `/CIO` is the one thing the schematic does not settle: PAL 21D is undumped, but R78 470R ties `/CIO` to `/COM`, so `/CIO = /COM` (inferred).
- rtl/main/vind_main_bus.sv:92 3D/3E LS244, ALWAYS driven (sheet 4)
- rtl/main/vind_main_bus.sv:97 23D LS158A on sheet 5 (= A20 here)
- rtl/main/vind_main_bus.sv:102 synthesised from sheet 5, see header
- rtl/main/vind_main_bus.sv:103 synthesised from sheet 5, see header
- rtl/main/vind_main_bus.sv:176 Decode (PAL 3C + LS139 4J + LS138 7/8B)
- rtl/main/vind_main_bus.sv:193 The slapstic socket 2C is empty (sheet 4): /SLAPCS reaches nothing.
- rtl/main/vind_main_bus.sv:234 Program ROM address (sheet 4: the six EPROMs in three 128 KB banks)
- rtl/main/vind_main_bus.sv:244 This is the bus the program EPROMs, the EEPROM, the PAL, the VRAM (sheet 6) and the CRAM (sheet 10) all hang off.
- rtl/main/vind_main_bus.sv:255 Sheet 5: 23D LS158A (SEL = EWAI) then 20D LS32 (9,10->8).
- rtl/main/vind_main_bus.sv:258 PAL 21D, undumped; R78
- rtl/main/vind_main_bus.sv:329 Inputs (1/2B, 3B, 6B LS244 + 9B LS367A) and the 10B LS174
- rtl/main/vind_main_bus.sv:373 VRAM (3L/3K LS373, /OC = /VRAMRD) and CRAM (sheet 10) drive the RAW D bus — no /EWAI, no PVCPU: the LS373 holds the word the CPU slot fetched until /VRAMRD releases at the end of the cycle.
- rtl/main/vind_main_bus.sv:407 DTACK / wait states (8D LS163A + 22F 74S74 + the EWAI latch)
- rtl/main/vind_out_latch.sv:3 Vindicators output latch 10B 74LS174B — SP-317 sheet 3.
- rtl/main/vind_out_latch.sv:30 Two of the six outputs (`/ERESET`, `PRBK`) leave sheet 3 for the video sheets and are exported here; `LTEST`/`LRESL` reach only the unpopulated LETA and are therefore genuinely inert on this board.
- rtl/main/vind_watchdog.sv:3 Vindicators watchdog / reset counter — SP-317 sheet 4 (22M/N 74LS197, 18L LS08, the WDIS jumper) plus the sheet-2 power-on one-shot.
- rtl/main/vind_watchdog.sv:15 22M/N 74LS197 (dual counter: CK1 -> QA divide-by-2; CK2 -> QB,QC,QD /8) pin 13 /CLR = POWER-ON (sheet 2)
- rtl/main/vind_watchdog.sv:28 Sheet 12 says "128 msec.
- rtl/main/vind_watchdog.sv:34 ---- one departure from the sheet -------------------------------------- Sheet 4 calls the C/L load "synchronous".
- rtl/main/vind_watchdog.sv:50 sheet 2: R152 100 k x C60 0.1 uF ~ 10 ms (plus the Darlington Vbe)
- rtl/main/vind_watchdog.sv:67 ---- sheet 2: the power-on one-shot ---------------------------------
- rtl/main/vind_watchdog.sv:79 ---- 22M/N 74LS197 --------------------------------------------------- CK1 and CK2 are NEGATIVE-edge triggered; /VBLANK falls at the START of vertical blank, and QA's own falling edge clocks the divide-by-8 half.
- rtl/mem/vind_char_rom.sv:3 Vindicators alphanumeric character ROM — the 27128 at 15/16N (SP-317 sheet 7), 16 K x 8 in one M10K-backed BRAM.
- rtl/mem/vind_char_rom.sv:9 ---- the board (sheet 7) ------------------------------------------------- A13..A4 = AP9..AP0 the character code, alpha word D9:0 A3..A1 = 4V, 2V, 1V the pixel row inside the 8x8 cell
- rtl/mem/vind_char_rom.sv:21 Unlike the graphics ROMs this data is NOT inverted anywhere: MAME applies ROMREGION_INVERT to `sprites_pf` only, and sheet 7's shifters take the ROM bits straight.
- rtl/mem/vind_cpurom_sdram.sv:3 Vindicators 68010 program ROM out of SDRAM — the six 27512s at 1D/2D, 1F/2F, 1K/2K (SP-317 sheet 4) behind a prefetching set-associative cache.
- rtl/mem/vind_cpurom_sdram.sv:14 But sheet 4 gives ROM cycles **zero wait states**: the 8D LS163A loads 15 the moment BAS rises and RCO asserts /DTACK immediately, with no term that depends on the ROM at all.
- rtl/mem/vind_gfx_mem.sv:13 ---- what one request IS on the board (SP-317 sheet 9) ------------------- The sixteen graphics ROM sockets are wired as four quadrants, one per pixel bit-plane, all sharing ONE address bus:
- rtl/mem/vind_gfx_mem.sv:36 GA15 exists on the board but is not decoded by the fitted ROMs (sheet 8), so the caller drops it.
- rtl/mem/vind_gfx_mem.sv:44 (MAME's ROMREGION_INVERT is the same fact applied at load time; this core keeps the board's polarity so sheet 10's PAL equations can be written verbatim.) then drop *_req; the arbiter waits for the drop, so one request = exactly on
- rtl/mem/vind_gfx_mem.sv:54 ---- budget --------------------------------------------------------------- Sheet 6 alternates the graphics ROM between the playfield and the motion object every 4 pixel clocks (MO//PF = 4HDL), and each layer's SLAGS pair is reloaded once p
- rtl/mem/vind_mem.sv:41 PAL 3C decodes /ROM0..2 from the address alone, so `prog_rd` is asserted throughout the download even though the CPU is in reset, and a cache that fills from a not-yet-written SDRAM would hold zeros for ever.
- rtl/mem/vind_mem.sv:59 **WARNING**: sheet 4 gives ROM cycles zero wait states and `vind_main_bus` implements that literally, so on a cache miss the CPU would latch stale data.
- rtl/mem/vind_mem.sv:255 PAL 3C decodes /ROM0..2 from the address alone (sheet 4: there is no BAS term on those outputs), so `prog_rd` is HIGH at prog_a = 0 for the whole download, while the 68010 is still held in reset — and without this term the cache fills line
- rtl/mem/vind_rom_loader.sv:28 * maincpu is emitted as BIG-ENDIAN INTERLEAVED WORDS — the MAME even-offset ROM (the `1x` sockets 1D/1F/1K, sheet 4, D15:8) is `map="01"`, the FIRST byte of each output word.
- rtl/mem/vind_rom_loader.sv:36 * sprites_pf is emitted as a FOUR-WAY BYTE INTERLEAVE of the four bit planes, plane 0 (MSD0/PSD0) first, so the four plane bytes of one graphics address are consecutive and one 32-bit read returns the whole 8-pixel row the sheet 9 SLAGS pai
- rtl/mem/vind_sdram_loader.sv:18 prog : the MRA interleaves the six 27512s into BIG-ENDIAN 68010 words, so the EVEN download byte is D15:8 (the `1x` sockets at 1D/1F/1K, sheet 4) and the ODD byte is D7:0.
- rtl/video/vind_alpha.sv:3 Vindicators — SP-317 sheet 7 (`ALPHA`): the AP pipeline latch, the alpha control-word decoder, the VIRQ latch, the character ROM and its shifters, the playfield vertical counter and the motion-object X-scroll latch.
- rtl/video/vind_alpha.sv:13 14M LS273K (CK = 4H) : MATCH->MATCHD, VRD14->AP14, VRD13->AP13, VRD11..VRD8 -> AP11..AP8, VRD15 -> BARE STUB 14L LS273A (CK = 4H) : VRD7..VRD0 -> AP7..AP0 VRD12 is latched NOWHERE on sheet 7 and there is no AP12 net.
- rtl/video/vind_alpha.sv:16 That is not a missing bit: the alpha attribute bits D15, D12, D11 and D10 are latched INSIDE the GPC custom (15J/K pins 22..25, sheet 10) straight off the raw VRD bus, and D14/D13 come back as APAL4/APAL3 from 13M here.
- rtl/video/vind_alpha.sv:46 One byte is four pixels of two bit planes; 19N/18N LS194A parallel-load on H03 and shift right for the other three FCLOCKs, so QD emits O7,O6,O5,O4 (APIX1, the pen MSB) and O3,O2,O1,O0 (APIX0).
- rtl/video/vind_alpha.sv:56 19K/11L/13L LS163A, CK = 4H, /LD = /PFVS (AP8..AP0), ENT = PFHST (one pulse per line), ENP = /VBLANK (FROZEN during vertical blanking), /CLR = PR2.
- rtl/video/vind_alpha.sv:65 19M/N LS74 + 10L/10M LS175, CK = /MOHS, /CLR = /SYSRES, taking the /Q outputs, so `/PF256L../PF1L` is the ONE'S COMPLEMENT of the 9-bit MO X scroll -- which is what sheet 8's LS283 chain wants (subtract by add of complement).
- rtl/video/vind_alpha.sv:78 sheet 4 22M/N LS197, active high here
- rtl/video/vind_alpha.sv:89 6F Q2 -- the LS194A parallel-load window
- rtl/video/vind_alpha.sv:99 21E LS08 on sheet 8
- rtl/video/vind_alpha.sv:100 14M LS273K Q12
- rtl/video/vind_alpha.sv:114 sheet 3, write 0x360000
- rtl/video/vind_alpha.sv:115 18E LS74 /Q -> sheet 4's IPL network
- rtl/video/vind_alpha.sv:148 ap[12] has NO board net (VRD12 is latched nowhere on sheet 7) and is held at 0 so nothing can accidentally consume it.
- rtl/video/vind_alpha.sv:175 13M LS174A -- CK = /4HDF [inferred]
- rtl/video/vind_alpha.sv:177 Sheet 7 gives 13M's clock as `/4HDF`, a name that appears nowhere else in SP-317; the obvious reading is a drawing typo for `/4HDD` (SYNGEN pin 36).
- rtl/video/vind_alpha.sv:222 Character ROM and the 19N / 18N LS194A shifters
- rtl/video/vind_alpha.sv:246 v[7:3]: the alpha ROW index is formed on sheet 6, not here.
- rtl/video/vind_alpha.sv:247 vrd[15]/vrd[12]: latched inside the GPC (sheet 10), never on this sheet.
- rtl/video/vind_alpha.sv:253 19K / 11L / 13L LS163A -- the playfield vertical counter
- rtl/video/vind_cram.sv:3 Vindicators — SP-317 sheet 10: the 2048 x 16 colour RAM (16K + 18K, 2K8-45A) and its CPU port.
- rtl/video/vind_cram.sv:79 ---- the CPU's own read port ------------------------------------------ Clocked at clk_sys, NOT at ce_7m, for exactly the reason `vind_vram`'s read is: the board's 16K/18K are ASYNCHRONOUS 2K8-45A static RAMs, so during the CPU's one RCLKA
- rtl/video/vind_cram.sv:95 3L/3K LS373 (sheet 6): transparent while the CPU owns the array, latched on the falling edge of that slot, driven onto D15:0 while /VRAMRD is low.
- rtl/video/vind_gfx_hold.sv:10 ---- what the board does -------------------------------------------------- SP-317 sheet 9: the sixteen graphics EPROMs are asynchronous and permanently enabled.
- rtl/video/vind_intensity_dac.sv:3 Vindicators — SP-317 sheet 10 (the 18M LS283 intensity adder, the 18D / 18F registers and the 17M/17L output registers) and sheet 11 (the RGBI current DACs, the ZREF reference and the all-zero clamps).
- rtl/video/vind_intensity_dac.sv:10 THE INTENSITY ADDER (sheet 10)
- rtl/video/vind_intensity_dac.sv:21 BLANKING (sheet 10, sheet 11)
- rtl/video/vind_intensity_dac.sv:30 THE LADDER (sheet 11)
- rtl/video/vind_intensity_dac.sv:119 The blanking level is still colour code 0 -- there is no separate pedestal (sheet 11), which is the only thing the clear was there to say.
- rtl/video/vind_mo.sv:3 Vindicators — the motion-object engine: SP-317 sheet 8 (`MO-CTRL`) plus the two line-buffer customs on sheet 10.
- rtl/video/vind_mo.sv:8 This module is only the wiring between `vind_mo_fetch` (the PAL 7N sequencer, the word latches, the adders, the two undumped PROMs and the MO half of the SLAGS shifters) and `vind_mo_linebuf` (14D/14E and the PAL 17E write sequencer).
- rtl/video/vind_mo.sv:13 ---- the list walk, in one paragraph ------------------------------------ Sheet 6's NXLDL cycle reads the SLIP word for band PFV >> 3 out of alpha row 31 and 7L/7J latch its D9:0 into LNK9..LNK0.
- rtl/video/vind_mo.sv:55 ---- back to sheet 6 / 7 ----
- rtl/video/vind_mo.sv:62 ---- to the priority / GPC block (sheet 10) ----
- rtl/video/vind_mo.sv:77 PAL 7N pin 13 (see vind_mo_fetch.sv)
- rtl/video/vind_mo_fetch.sv:3 Vindicators — SP-317 sheet 8 (`MO-CTRL`): the PAL16R6A 7N slot sequencer, the 4J LS139 word strobes, the four motion-object word latches, the X adders, the two undumped bipolar PROMs, the graphics-address counters, the MATCH flip-flops and
- rtl/video/vind_mo_fetch.sv:11 PAL16R6A 7N = 136059-1153 -- a dumped PAL, implemented VERBATIM
- rtl/video/vind_mo_fetch.sv:14 jedutil prints the sum-of-products that drives each pin LOW, so `pin = ~SOP` and, for the registered pins, `Q = SOP` with the pin showing `~Q`.
- rtl/video/vind_mo_fetch.sv:54 Sheet 6's 6F LS174C registers PVAS into VAS, so the RAM cycle happens one RCLKA later than the code above names it.
- rtl/video/vind_mo_fetch.sv:58 THE TWO UNDUMPED PROMs (sheet 8, [inferred])
- rtl/video/vind_mo_fetch.sv:60 11N 82S147 (512x8) and 9J 82S129 (256x4) are NOT in the MAME ROM set and cannot be read off the drawing.
- rtl/video/vind_mo_fetch.sv:96 Sheet 8 routes PICTD/HORZD/VERTD through 7F LS175D first, so on the board the word latches clock on the RCLKA edge that ENDS the LS139 strobe cell (7F /Q = the active-high strobe, whose RISING edge is that boundary) and the 21F MATCH flip-f
- rtl/video/vind_mo_fetch.sv:106 phase 0 : /GLD with MO//PF high -> the SLAGS load the MO column phase 2 : /LD01 -> 8K/8J take MAT, 9K takes the width, and the 14D/14E write pointers take HPOS (they present it from phase 3) phase 3 : 4H's RISING edge -- 12M LS378C and the
- rtl/video/vind_mo_fetch.sv:144 14M LS273K Q12
- rtl/video/vind_mo_fetch.sv:151 ---- to sheet 6 ----
- rtl/video/vind_mo_fetch.sv:157 ---- to sheet 7 ----
- rtl/video/vind_mo_fetch.sv:160 ---- to sheet 10 ----
- rtl/video/vind_mo_fetch.sv:169 PAL 7N pin 13 IS the board's /BUFCLR (see section 3 below)
- rtl/video/vind_mo_fetch.sv:178 PAL 7N -- state
- rtl/video/vind_mo_fetch.sv:237 4J LS139 -- the four MO word strobes (sheet 8)
- rtl/video/vind_mo_fetch.sv:250 7F LS175D -- the strobe pipeline and the line-buffer bank (sheet 8)
- rtl/video/vind_mo_fetch.sv:257 Not settled by the schematic: sheet 8 also shows /BUFCLR on 7F's /CLR, and that cannot be taken literally -- an asynchronous clear on THIS register would pin the bank at 0 and there would be no ping-pong at all.
- rtl/video/vind_mo_fetch.sv:279 The four word latches (sheet 8)
- rtl/video/vind_mo_fetch.sv:298 GA15 (mo_tile[15]) is not decoded by the graphics ROM (sheet 9).
- rtl/video/vind_mo_fetch.sv:311 10J / 10K / 4N -- HPOS = MO_X - MO_XSCROLL (sheet 8)
- rtl/video/vind_mo_fetch.sv:315 ---- 12M LS378C -- the snapshot register (sheet 8) --------------------- 12M : CK = 4H , /G = /NEWMO D4 = MFLP -> Q5 ; D13/D3/D6 = 12N S3/S2/S1 (= diff[2:0]) -> the GP4V/GP2V/GP1V side of 12L ; D14 = MATCH -> Q15 -> 20F = GPEN.
- rtl/video/vind_mo_fetch.sv:376 Vertical match (sheet 8)
- rtl/video/vind_mo_fetch.sv:385 9J 82S129 + 9K LS169 -- the width counter and /END (sheet 8)
- rtl/video/vind_mo_fetch.sv:387 The preset is **HSIZ** -- the object's width minus one -- which is exactly the three bits sheet 8's "9K D (pin 6) = GND" leaves room for, and it is the only value that draws HSIZ + 1 columns:
- rtl/video/vind_mo_fetch.sv:417 Not settled by the schematic: sheet 8 reads 9K's CK as 4HD3 and its /LD as /LD01, but /LD01 is low only in phase 2 while 4HD3 rises in phase 7, so a LITERAL LS169 -- synchronous load -- would never take the preset at all.
- rtl/video/vind_mo_fetch.sv:423 That is the only reconstruction in which the SAME three-bit 82S129 output produces both required behaviours:
- rtl/video/vind_mo_fetch.sv:448 21F LS74 + 21E LS08 -- MATCH (sheet 8)
- rtl/video/vind_mo_fetch.sv:467 11N 82S147 + 10N/9N LS169 + 8N/7M LS283 -- the graphics address
- rtl/video/vind_mo_fetch.sv:469 Sheet 8 wires the 82S147's address from the LIVE nets -- A8 = /VMATCH, A7 = MFLP (9L), A6/A4/A3 = HSIZ (9L), A2:A0 = 14N S4:S2 -- not from 12M, and 10N/9N reload from it on EVERY 4H while /NEWMO is asserted.
- rtl/video/vind_mo_fetch.sv:480 10N / 9N LS169: CK = 4H (sheet 8), /LD = /NEWMO, U//D = 6D LS04 from the snapshotted MFLP (12M Q5) -- the direction has to survive the whole locked-on fetch, so it cannot be the live 9L bit.
- rtl/video/vind_mo_fetch.sv:556 12M LS378C / 12L LS257C / 20F LS32 (sheet 8) and the MO SLAGS half
- rtl/video/vind_mo_fetch.sv:602 Every consumer -- the 17D/17E PAL equations, the 14D/14E line buffers and the GPC's M bus -- wants exactly that sense.
- rtl/video/vind_mo_linebuf.sv:3 Vindicators — SP-317 sheet 10: the two Atari "LB" line-buffer customs 14D (pixel/colour plane) and 14E (attribute plane), the 14F LS32 bank strobes, the 16F LS32 intensity-kludge gates and the PAL16L8A at 17E (136059-1152) that sequences th
- rtl/video/vind_mo_linebuf.sv:12 17E = 136059-1152 -- a dumped PAL, implemented VERBATIM
- rtl/video/vind_mo_linebuf.sv:41 Sheet 10 records 17E pin 1 as `21E LS08 (9,10 -> 8) = MCKR & FCLOCK`.
- rtl/video/vind_mo_linebuf.sv:87 ---- the LB custom's own output stage -------------------------------- The 40-pin Atari LB does not present the addressed cell straight on DO7..DO0: Gauntlet builds the same buffer out of discrete counters and '189s and still ends it in the
- rtl/video/vind_mo_linebuf.sv:121 ---- 14E read side, latched by 18D LS373 on sheet 10 ----
- rtl/video/vind_mo_vmatch.sv:3 Vindicators — SP-317 sheet 8: the motion-object VERTICAL MATCH.
- rtl/video/vind_mo_vmatch.sv:33 14N S4:S2 is `(diff[5:3] + VSIZ + 1) mod 8` = the TILE ROW within the object counted from the top; it addresses the 82S147 at 11N.
- rtl/video/vind_pf.sv:3 Vindicators — the playfield layer: the PFHS custom (15L/M, Atari 137419-104, SP-317 sheet 7), the playfield word decode and bank latch (sheet 8), the graphics-ROM fetch and the PF half of the SLAGS shifters (sheet 9).
- rtl/video/vind_pf.sv:8 The PFHS and SLAGS behaviour is derived from `Arcade-Gauntlet_MiSTer/rtl/gauntlet/PFHS.vhd` and `SLAGS.vhd` (c) 2020 d18c7db, GPL-3.0 -- the SAME two Atari customs, whose internals SP-317 does not draw.
- rtl/video/vind_pf.sv:14 THE PLAYFIELD WORD (sheet 8)
- rtl/video/vind_pf.sv:16 5M LS374A (CK = /4H, /OC = MO//PF) : VRD15..VRD8 Q19 = PFHF (= VRD15, the tile's HORIZONTAL FLIP) and -> 5N D13 Q16,Q15,Q12 -> 5N (VRD14..VRD12) Q9..Q2 = GA11..GA8 3M LS374B (same clocks) : VRD7..VRD0 -> GA7..GA0 5N LS175B
- rtl/video/vind_pf.sv:27 PFHS (sheet 7)
- rtl/video/vind_pf.sv:29 * a 9-bit latch on HS (/PFHSLD) -- the playfield X scroll; * a 9-bit latch on SPC (/PFSPC) -- the "special" register; * a 6-bit counter loaded with scroll[8:3] at every ST (/PFHST, once per line) and incremented on 4H -> PF8H..PF256H, th
- rtl/video/vind_pf.sv:44 PFX AND THE COLOUR ADDRESS (sheet 10, and the ambiguity it raises)
- rtl/video/vind_pf.sv:47 Sheet 10 then holds GPC pin 32 (`P4`) at logic 0 through R87 1K / R86 10R, so ONE of the eight PFX bits never reaches the colour address.
- rtl/video/vind_pf.sv:117 PF256H..PF8H -> sheet 6's VRAM mux
- rtl/video/vind_pf.sv:120 5M Q19 -> 12L LS257C 4B
- rtl/video/vind_pf.sv:157 5M / 3M LS374 and 5N LS175B / 6N LS174
- rtl/video/vind_pf.sv:173 Either 5N's clock is not the same edge as the 5M/3M word latch (sheet 8 draws it as "[4HD3]", in brackets, i.e. uncertain), or 6N's stage is in the PS0..PS3 path rather than PS4..PS7.
- rtl/video/vind_pf.sv:188 Graphics fetch (sheet 9) and the PF half of the SLAGS
- rtl/video/vind_pf.sv:191 Row = PF4V/PF2V/PF1V through 12L LS257C's B side.
- rtl/video/vind_pf.sv:208 latch 8B in SLAGS.vhd
- rtl/video/vind_pf.sv:265 PFHS pins 25..17 take PS7..PS4 from 6N and PSD3..PSD0 STRAIGHT from the SLAGS (sheet 7), so the low nibble enters the delay RAM in the board's active-low sense and the RAM's inverting outputs turn it back into the active-high pen on PFX3..P
- rtl/video/vind_pf.sv:280 4D latch, inverted data
- rtl/video/vind_prio_gpc.sv:3 Vindicators — SP-317 sheet 10: the PAL16L8A at 17D (136059-1151, MO-pen-1 / SHADE / PF-M priority), the seven 13F/15F LS32 OR gates, the GPC custom 15J/K (Atari 137419-101), the 13J LS253C alpha/MO substitution, the 12F LS174D one-pixel pip
- rtl/video/vind_prio_gpc.sv:10 The GPC's internals are derived from `Arcade-Gauntlet_MiSTer/rtl/gauntlet/GPC.vhd` (c) 2020 d18c7db, GPL-3.0 -- the SAME Atari custom (137419-101), whose internals SP-317 draws as a black box.
- rtl/video/vind_prio_gpc.sv:13 Every wire around it is Vindicators' own and cited to sheet 10.
- rtl/video/vind_prio_gpc.sv:17 17D = 136059-1151 -- a dumped PAL, implemented VERBATIM
- rtl/video/vind_prio_gpc.sv:35 `PF/M` on pin 13 is the NET from sheet 7's PFHS custom (the per-playfield- colour "playfield in front of the MO" bit selected out of the /PFSPC register by PFX[2:0]); `PF/M` on GPC pin 18 is a PIN NAME inside the custom's box.
- rtl/video/vind_prio_gpc.sv:41 13F / 15F -- the MO bus into the GPC (sheet 10)
- rtl/video/vind_prio_gpc.sv:48 THE GPC (sheet 10, internals from the Gauntlet model)
- rtl/video/vind_prio_gpc.sv:50 3H latch (H03 & /4H) : D3..D0 = VRD15, VRD10, VRD11, VRD12 3F latch : 3F2 = D3 (alpha OPAQUE), ALC2..ALC0 = D2..D0
- rtl/video/vind_prio_gpc.sv:69 Sheet 7 leaves the latched VRD15 as a bare stub and never latches VRD12 at all, and asks where APAL2..APAL0 come from.
- rtl/video/vind_prio_gpc.sv:73 APAL4 = D14 and APAL3 = D13 arrive separately from 13M on sheet 7 and are substituted onto CRA8/CRA6 by 13J.
- rtl/video/vind_prio_gpc.sv:77 THE COLOUR-RAM ADDRESS (sheet 10)
- rtl/video/vind_prio_gpc.sv:86 A8 = CA8 + (SHADE_delayed & CA9) -- 18L LS08 + 13F LS32 A9 = CA9 A10 = STAIN -- 19M/N LS74 through 12F Q7 CPU (via 14K LS257B and 19K LS244N): A10 = MA11, A9 = MA10 (the GPC's MA1/MA0 pins are BOTH tied to M
- rtl/video/vind_prio_gpc.sv:108 Sheet 10 records the GPC's alpha attribute pins as D3 = VRD15, D2 = VRD10, D1 = VRD11, D0 = VRD12 -- a scrambled order (Xybots' GPC is scrambled too, differently).
- rtl/video/vind_prio_gpc.sv:141 ---- CPU / colour-RAM select (sheet 6) ----
- rtl/video/vind_prio_gpc.sv:184 The GPC's own 3H latch takes the raw alpha attribute nibble off VRD on the same edge as sheet 7's 14M/14L: the ce_7m edge that ENDS the alpha slot (phase 3), which is 4H's rising edge.
- rtl/video/vind_prio_gpc.sv:196 3F latch
- rtl/video/vind_prio_gpc.sv:204 only VRD15, VRD12..VRD10 reach the GPC's D pins (sheet 10).
- rtl/video/vind_prio_gpc.sv:232 12F LS174D -- the one-pixel pipeline (CK = FCLOCK)
- rtl/video/vind_prio_gpc.sv:267 13J LS253C and the 11-bit CRAM address
- rtl/video/vind_prio_gpc.sv:275 /PRAM = ~/CLRAM, so /PRAM is low (13J driving) in every video slot and high (13J tri-stated) in a CPU colour-RAM cycle -- where 19K LS244N drives CRA8..CRA1 from MA8..MA1 instead.
- rtl/video/vind_syngen.sv:4 Carried over from the Xybots core (SP-313 sheet 4, the same Atari part on the same crystal) and re-verified against SP-317 sheet 6.
- rtl/video/vind_syngen.sv:15 SP-317 draws only its pinout, so its internal behaviour is reconstructed from the *same part* as implemented discretely on Atari System 1 (SP-277) and modelled in `Arcade-Gauntlet_MiSTer/rtl/gauntlet/SYNGEN.vhd` (d18c7db, GPL-3.0) + its `RO
- rtl/video/vind_syngen.sv:22 * a 9-bit horizontal counter cleared by NXL, * an 82S153 PLA (Atari 136032-103) decoding H into NXL/HSYNC/HBLANK/LMPD/PFHST/BUFCLR/C0/C1/C2, all of them taken through one register (the "7E" 74S174), * an 8-bit vertical counter plus one extr
- rtl/video/vind_syngen.sv:41 PIN DIRECTIONS, AS READ OFF SP-317 SHEET 6
- rtl/video/vind_syngen.sv:43 This module started as the Xybots core's SYNGEN (SP-313 sheet 4, the same Atari custom on the same 14.318181 MHz crystal), so it carries the UNION of the two boards' pin sets and vind_video ties off what Vindicators leaves bare.
- rtl/video/vind_syngen.sv:46 SP-317 sheet 6 is the authority for this board:
- rtl/video/vind_syngen.sv:57 Three differences from the Xybots reading, all from sheet 6: * NXL (pin 21) IS wired here -- it starts the SLIP fetch once per line, and PAL 7N's own product terms fix its phase (see section 2 below); * /PFHST (pin 28) IS wired here -- Vind
- rtl/video/vind_syngen.sv:66 The vertical counter is inside the custom -- there is no 256V net anywhere in the package, which is why the line total can only come from its own dumped PROM (see above).
- rtl/video/vind_syngen.sv:97 Designators are SP-313 sheet 4's; on SP-317 sheet 6 the same squarers are 23F ----
- rtl/video/vind_syngen.sv:99 14M (8B 74S04 1->2)
- rtl/video/vind_syngen.sv:100 /14MP (8B 74S04 13->12)
- rtl/video/vind_syngen.sv:101 7M (7B 74S74 Q)
- rtl/video/vind_syngen.sv:102 /7M (7B 74S74 /Q)
- rtl/video/vind_syngen.sv:103 DCLK (9B 74S74 Q)
- rtl/video/vind_syngen.sv:104 RCLK (1C 74S74 Q, /PRE = DCLK)
- rtl/video/vind_syngen.sv:105 VIDCLK (11J 74S04 3->4 from /CKO)
- rtl/video/vind_syngen.sv:106 /VIDCLK (8B 74S04 9->8 from CKO)
- rtl/video/vind_syngen.sv:129 10E 74S00 (1,2->3)
- rtl/video/vind_syngen.sv:130 11J 74S04 (9->8)
- rtl/video/vind_syngen.sv:132 11J 74S04 (11->10)
- rtl/video/vind_syngen.sv:134 11J 74S04 (1->2)
- rtl/video/vind_syngen.sv:142 ---- video-RAM access phase (sheet 5 LS253 select) ----
- rtl/video/vind_syngen.sv:143 8M 74S32 (4 = /2HD1H, 5 = 4HD2H -> 6)
- rtl/video/vind_syngen.sv:155 ---- interrupt ---- Sheet 2: 1B LS02 (11 = VBLANK, 12 = /HBLANK -> 13) then 10A LS20 with 4V,2V,1V then 4A LS04 (9->8).
- rtl/video/vind_syngen.sv:157 The IRQ1 latch is set by `virq_gate & VIRQ`, where VIRQ is alpha-RAM bit 10 latched by 6D LS174E on sheet 7 (see vind_alpha.sv).
- rtl/video/vind_syngen.sv:162 ---- SP-317 sheet 6 pin usage ------------------------------------------- Vindicators wires SIX SYNGEN pins that Xybots leaves as stubs, and leaves six that Xybots uses.
- rtl/video/vind_syngen.sv:164 The Vindicators pin map, from sheet 6:
- rtl/video/vind_syngen.sv:167 pin 22 C2 -> H03 source (via 6F LS174C) -> vrac2
- rtl/video/vind_syngen.sv:168 pin 25 LMPD -> /LMPD -> mohr_n pin 35 4HDL -> PF//MO -> h_4hd1h_n pin 36 4HDD -> /4HDD -> h_4hd2h_n and pins 23 (C1), 24 (C0), 34 (4H), 18 (VSCK), 33 (2HDL), 17 (VRES
- rtl/video/vind_syngen.sv:175 The Vindicators SYNGEN symbol has no BUFCLR pin (all 40 pins are accounted for on sheet 6), and Gauntlet -- the same custom set -- makes the net in discrete logic as /BUFCLR = /LMPD + /4H + 2H + /1H (`Arcade-Gauntlet_MiSTer/rtl/gauntlet/VID
- rtl/video/vind_syngen.sv:187 SYNGEN pin 21 -- /PNXL (wired on SP-317)
- rtl/video/vind_syngen.sv:194 clk_sys phase, and the 14M / MCKR chain (SP-317 sheet 6)
- rtl/video/vind_syngen.sv:212 7B 74S74: D = /7M, CK = 14M -> divide by two, rising with ce_7m.
- rtl/video/vind_syngen.sv:216 9B 74S74: D = /7M, CK = /14MP.
- rtl/video/vind_syngen.sv:223 1C 74S74: D = 7M, CK = 14M, /PRE = DCLK (asynchronous), /CLR = PR1 = 1.
- rtl/video/vind_syngen.sv:233 SYNGEN CKO (pin 29) = CK, /CKO (pin 4) = ~CK; both are re-inverted on the board, so VIDCLK is in phase with 7M and is the 68000 clock (sheet 2).
- rtl/video/vind_syngen.sv:239 SYNGEN horizontal PLA (Atari 136032-103 / 82S153), inside the SYNGEN black box on SP-317 sheet 6
- rtl/video/vind_syngen.sv:248 SP-317 PHASE CORRECTION FOR PIN 21 (/PNXL).
- rtl/video/vind_syngen.sv:249 On SP-313 pin 21 is a bare stub, so nothing there could observe where the NXL pulse sits relative to 1H/2H/4H, and the System-1 model simply reuses the counter-clear term.
- rtl/video/vind_syngen.sv:251 On SP-317 the pin is wired, and PAL 7N is hard evidence for its phase: every NXL product term in 7N's equations is qualified by `1H & 2H & 4H`, i.e. PHASE 7, and only with NXL there do the three consumers agree -- * PVAS1:PVAS0 = 10 at phas
- rtl/video/vind_syngen.sv:284 o16 (C0) and o11 stay unimplemented: pin 24 is a bare stub on SP-317 sheet 6 as well as on SP-313 sheet 4, and the System-1 PLA's /o11 (/BUFCLR) has no pin in the Vindicators symbol -- see the port comment.
- rtl/video/vind_syngen.sv:287 o12 (/PFHST) IS wired on SP-317 (pin 28 -> sheet 7's PF vertical counter and PFHS `ST`), so its System-1 PLA term is implemented here: /o12 = i4 & i5 & i6 & /i7 & i8 & i9 (h[8:3] == 6'b110111) with i1..i9 = h[0]..h[8].
- rtl/video/vind_syngen.sv:297 SYNGEN vertical PROM (Atari 136032-102, 256 x 4), inside the SYNGEN black box on SP-317 sheet 6
- rtl/video/vind_syngen.sv:331 The counters and the SYNGEN output register (74S174 "7E" / "7D")
- rtl/video/vind_syngen.sv:392 Glue around SYNGEN (IC designators are SP-313 sheet 4's; the same circuit sits on SP-317 sheet 6)
- rtl/video/vind_syngen.sv:402 8B 74S04
- rtl/video/vind_syngen.sv:406 10E 74S00
- rtl/video/vind_syngen.sv:408 11J 74S04
- rtl/video/vind_syngen.sv:414 8M 74S32: VRAC0 = /2HD1H | 4HD2H.
- rtl/video/vind_syngen.sv:419 g3b/g6b are the two unnamed intermediate nets on SP-313 sheet 4; /MOHR itself comes out of SYNGEN pin 25.
- rtl/video/vind_testpat.sv:7 4 bits per channel, matching the CRAM's I:R:G:B 4:4:4:4 word (SP-317 sheet 10); full intensity only.
- rtl/video/vind_video.sv:3 Vindicators video top — SP-317 sheets 6 (VRAM/SYNGEN), 7 (ALPHA), 8 (MO-CTRL), 9 (GR-MEM), 10 (line buffers / priority / GPC / CRAM) and 11 (RGBI DAC), plus the sheet-5 common-bus signals that terminate here.
- rtl/video/vind_video.sv:11 ---- the sheet-5 question this module answers --------------------------- Sheet 5's ECPU half is not populated, so /ECOM is never asserted, the 23D LS158A mux is held permanently on the main CPU's side and the main CPU is granted the common
- rtl/video/vind_video.sv:104 The SYNGEN model is shared with the Xybots core, so it carries the union of the two boards' pin sets; the six pins Vindicators leaves as bare stubs on SP-317 sheet 6 are tied off here.
- rtl/video/vind_video.sv:141 Sheet 6 -- VRAM, the address multiplexers and the CPU slot
- rtl/video/vind_video.sv:177 Sheet 7 -- alphanumerics, control words, PF vertical counter
- rtl/video/vind_video.sv:264 Priority, GPC and the colour-RAM address (sheet 10)
- rtl/video/vind_video.sv:290 Colour RAM (sheet 10)
- rtl/video/vind_video.sv:306 /CLRAM is decoded from MA16 alone (sheet 6) and MA16 holds for the whole cycle, so it is what the mux takes.
- rtl/video/vind_video.sv:342 The DAC's blanking is not a decoration: on sheet 10 /VIDBL ASYNCHRONOUSLY CLEARS the 17M/17L output registers, i.e. it acts on the pixel that is in those registers at that instant.
- rtl/video/vind_vram.sv:3 Vindicators — SP-317 sheet 6 (`VRAM`): the four 8Kx8 static RAMs, the six 74LS253 + 3J LS257A address multiplexers, the CPU read/write path, the 6F LS174C / 11F LS175A pipeline registers and the 7L/7J LS378 MO link register.
- rtl/video/vind_vram.sv:9 Structure follows the Xybots MiSTer core's video blocks (GPL-3.0); every equation here is Vindicators' own and cited to sheet 6.
- rtl/video/vind_vram.sv:15 1M/2M carry VRD15..VRD8, 2N/1N carry VRD7..VRD0; `VRA14` and `/VRA14` are the two banks' CS2 and `VRA13..VRA1` are A12..A0, so the store is 16384 x 16 addressed by VRA14:VRA1 and VRAn == 68010 byte-address bit n. `VRA15` lands on pin 1, a N
- rtl/video/vind_vram.sv:32 The video side drives VRA14:VRA13 = VAS1B:VAS0 (3J LS257A section 3/4), so each client lands in its own 8 KB quadrant, and the six LS253s pick VRA12..VRA1:
- rtl/video/vind_vram.sv:53 7D LS02 : n = ~(DTACK + /VRAM) 9F LS11 : PVCPU = PVAS0 & PVAS1 & n -> sheet 4's wait counter 6F : VCPU = registered PVCPU 20F LS32: /VRAMRD = /VRAM + W//R 20E LS00: VR//W = ~(W//R & VCPU) 17F LS04: VW//R = ~VR//W 5F
- rtl/video/vind_vram.sv:81 ---- SYNGEN taps (sheet 6) ----
- rtl/video/vind_vram.sv:88 ---- slot selector from the sheet-8 PAL 7N (one RCLKA ahead) ----
- rtl/video/vind_vram.sv:98 ---- CPU side (the raw 68010 bus, NOT the common bus -- sheet 6) ----
- rtl/video/vind_vram.sv:101 sheet 4 4J LS139 Y3 (0x3E0000-0x3FFFFF)
- rtl/video/vind_vram.sv:102 sheet 4 24D LS04 pin 4 (1 = write)
- rtl/video/vind_vram.sv:106 -> sheet 4's DTACK wait term
- rtl/video/vind_vram.sv:110 ---- colour-RAM select, exported to sheet 10 ----
- rtl/video/vind_vram.sv:136 11F 74LS175A -- CK = RCLKA, /CLR = PR3 (never cleared)
- rtl/video/vind_vram.sv:167 6F 74LS174C -- CK = RCLKA, /CLR = PR3
- rtl/video/vind_vram.sv:208 6L LS253F's /2G is tied to GND, so VRA12 is never tri-stated by NXLDL; VRA11..VRA7 are, and RP2 then pulls them to 1 (alpha row 31).
- rtl/video/vind_vram.sv:213 3J LS257A -- SEL = VCPU selects the B (CPU) inputs
- rtl/video/vind_vram.sv:234 A CPU VRAM write lands only when /PRAM is low (A16 == 1); with A16 == 0 the same strobes drive the colour RAM on sheet 10.
- rtl/video/vind_vram.sv:279 Transparent is the operative word: `q` is clk_sys-registered (section 6) so it already carries the CPU slot's word within that slot, and the sheet-4 LS163A asserts /DTACK **inside the slot** -- a latch that only captured after it would deli
- rtl/video/vind_vram.sv:293 7L / 7J 74LS378 -- the MO link register
- rtl/vind_core.sv:5 The four blocks below together model the SP-317 game board and the JSA I audio board:
- rtl/vind_core.sv:8 vind_mem program EPROMs (sheet 4) and graphics ROMs (sheet 9), both held in SDRAM; the 15/16N character ROM; the MiSTer ROM download path and the sound-ROM write stream vind_main_bus sheets 2/3/4 — 68010 (TG68K), PAL 3C decode, LS163
- rtl/vind_core.sv:21 ONE clock domain, clk_sys = 57.272727 MHz = 4 x the 14.318181 MHz crystal (sheet 6), with integer clock enables and no fractional enables anywhere.
- rtl/vind_core.sv:29 ce_6502 = clk_sys / 32 = 1.789772 MHz JSA I 6502 ce_b4h = /B4H, the SCOM shift clock = 4H inverted (sheet 3, 17F), one pulse per rising edge of /B4H = falling edge of the SYNGEN 4H tap, 894.886 kHz
- rtl/vind_core.sv:39 ---- the one deliberate departure from the sheets: `prog_stall` ------------ Sheet 4 gives program-ROM cycles ZERO wait states and vind_main_bus implements that literally.
- rtl/vind_core.sv:93 [7] = Pn-S8, which sheet 13 wires as Left Trigger, Right Trigger, Left Thumb, Right Thumb, Left Forward, Right Forward, Left Back, Right Back (= MAME 0x260000 D8..D15).
- rtl/vind_core.sv:311 /B4H (sheet 3, 17F LS04 = ~4H): the SCOM/LETA/ADC clock.
- README.md:112 Every operator setting — difficulty, lives, coinage, tank damage, bookkeeping — lives in the on-board Atari 2804A EEPROM at 1C and is edited from the game's own
- README.md:154 | Program ROM | 384 KB (six 27512s at 1D/2D, 1F/2F, 1K/2K), streamed from SDRAM behind a 32-word line cache |
- README.md:155 | Sound board | Atari JSA I (A043713): 6502 @ 1.7897725 MHz + YM2151 @ 3.579545 MHz + **POKEY** @ 1.7897725 MHz. The TMS5220C at 3D is **not populated** and is
- README.md:161 | Priority | PAL16L8 **17D** (`136059-1151`, the dumped fuse map, used verbatim) + the GPC custom at 13J |
- README.md:196 **Schematic provenance** — every sheet of SP-317 that carries logic (2–11 for the game board, 14–17 for the audio board) was transcribed before any RTL was writ
- README.md:245 It is where the SP-317 schematics document something MAME's model does not — and in one case MAME's own source flags the gap.
- README.md:251 | **Playfield / motion-object priority** | "the MO wins unless `mopriority & 4`"; `/PFSPC` is a no-op | the decision the board actually makes, in **PAL 17D** (`
- README.md:254 | **Lines per frame** | `set_raw(..., 262, ...)`, 59.923 Hz, above a comment saying these are *"from published specs, not derived"* | **263 lines, 59.696 Hz.**
- README.md:258 | **Self-test switch source** | read from `0x260010` **bit 12** — which is a P2 stick switch, not a service switch | the cabinet service switch, routed to the a
- README.md:261 | **Colour-RAM write during the picture** | the new colour simply takes effect; nothing else on the line changes | the CPU and the video share the colour RAM's
- README.md:265 **Priority and SHADE.** These are the two divergences with a real chance of changing a pixel, and they are also the two where the hardware evidence is strongest
- …ほか5件
MAMEとの相違点を記載 — 5
MAMEのソースを引用 — 69
- Arcade-Vindicators.sv:10 Vindicators runs on a HORIZONTAL monitor (MAME ROT0), so there is no rotation; the Orientation option only offers a 180-degree flip.
- Arcade-Vindicators.sv:176 Per-player switch word, ACTIVE HIGH ("pressed"), in the order of the panel switches Pn-S1..Pn-S8 on SP-317 sheet 13 (= MAME 0x260000 D8..D15); see the port comment in vind_core.sv.
- rtl/main/vind_eeprom_2804.sv:32 Exactly one write per unlock: this is the hardware behind MAME's `EEPROM_2804 ...
- rtl/main/vind_eeprom_2804.sv:128 Nothing pulls D0-D7 down, so the modelled float value is 0xFF — also MAME's unmapped read.
- rtl/main/vind_inputs.sv:24 MAME's `0x0100 = Left Stick Fire` therefore corresponds to Pn-S1, which is the mapping used here.
- rtl/main/vind_inputs.sv:39 Neither is populated on Vindicators (sheet 12 lists no analog entry, MAME declares the low bytes IPT_UNUSED, and the cabinet has only twin digital sticks), so those lanes read the floating/pulled-up bus = **0xFF**.
- rtl/main/vind_main_bus.sv:16 The memory map, the wait-state table and the schematic-vs-MAME decisions are documented in the submodule headers; this one records the composition.
- rtl/main/vind_main_bus.sv:356 There is no bus-error timeout (BERR is tied to PR3), so such a cycle still gets DTACK with 0 waits and reads the pulled-up/floating value, modelled as 0xFFFF — which is also MAME's `unmap_value_high()`.
- rtl/main/vind_out_latch.sv:30 MAME `nopw()`s this address.
- rtl/mem/vind_char_rom.sv:17 That is MAME's `anlayout` exactly: 2 planes at bit offsets {0, 4}, xoffsets {0,1,2,3, 8,9,10,11}, 8*16 bits per character.
- rtl/mem/vind_char_rom.sv:21 Unlike the graphics ROMs this data is NOT inverted anywhere: MAME applies ROMREGION_INVERT to `sprites_pf` only, and sheet 7's shifters take the ROM bits straight.
- rtl/mem/vind_gfx_mem.sv:27 The MRA emits MAME's `sprites_pf` region as a four-way byte interleave of the planes, plane 0 first, so those four bytes are consecutive in SDRAM and the fetch is one 2-word burst:
- rtl/mem/vind_gfx_mem.sv:44 (MAME's ROMREGION_INVERT is the same fact applied at load time; this core keeps the board's polarity so sheet 10's PAL equations can be written verbatim.) then drop *_req; the arbiter waits for the drop, so one request = exactly on
- rtl/mem/vind_rom_loader.sv:17 stream base size MAME region destination
- rtl/mem/vind_rom_loader.sv:28 * maincpu is emitted as BIG-ENDIAN INTERLEAVED WORDS — the MAME even-offset ROM (the `1x` sockets 1D/1F/1K, sheet 4, D15:8) is `map="01"`, the FIRST byte of each output word.
- rtl/video/vind_alpha.sv:25 11M LS138 : G1 = 256H, /G2A = /HBLANK, /G2B = ~(MO//PF & 1V & 2V & 4V) SELC:SELB:SELA = AP11:AP10:AP9 Y2 /PFB playfield bank latch (AP3..AP0 -> GA15..GA12) Y3 /PFHSLD PFHS HS -- playfield X scroll, AP8..AP0 Y4 /MOHS MO X-scroll latch
- rtl/video/vind_alpha.sv:36 MAME's `configure_scanline(..., 0, 8)` with `offset = ((scanline - 8) / 8) * 64 + 42` is the same thing said one line later.
- rtl/video/vind_alpha.sv:49 That is exactly MAME's `anlayout` (planeoffset {0,4}, xoffset {0,1,2,3,8,9,10,11}) with planeoffset[0] the pen MSB.
- rtl/video/vind_alpha.sv:58 Its outputs are the playfield tilemap row, the SLIP band index (PFV >> 3) and the MO vertical-match operand -- so the motion objects share the playfield's vertical scroll, exactly as MAME's `set_yscroll()` does.
- rtl/video/vind_intensity_dac.sv:15 The kludge only fires when MAT6 and MSD3 are both set, where 16F LS32 lets MAT3..MAT1 through (the ACTIVE-LOW nets, i.e. the complement of the logical colour bits) -- exactly MAME's `if (mo[x] & 8) pf[x] |= (~mo[x] & 0xe0) << 6;`.
- rtl/video/vind_intensity_dac.sv:47 MAME uses an exact `*15` multiply and the 17-step table ztable[] = { 0, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f, 10, 11 } whose shape (0 at code 0, n+2 for n >= 1) reproduces R121's threshold and R120's pedestal but not the ladder's curvature
- rtl/video/vind_intensity_dac.sv:91 Hardware's idle MOG is 111, so `INT + 2*7 + 2 = INT + 16 = INT` and the two agree for ordinary pixels -- but on a kludge pixel hardware gives `INT + 2*MOG + 2` where MAME gives `INT + 2*MOG`, i.e. the hardware is TWO ztable steps higher.
- rtl/video/vind_intensity_dac.sv:94 That is a real difference between the two, so DAC_MAME_COMPAT reproduces MAME's arithmetic as well as its table.
- rtl/video/vind_intensity_dac.sv:139 MAME's ztable, and the resistor-derived intensity curve.
- rtl/video/vind_intensity_dac.sv:180 MAME multiplies exactly; the hardware weights are 1.000 / 1.958 / 3.917 / 7.581, summing to 14.456, scaled by 15/14.456.
- rtl/video/vind_intensity_dac.sv:203 The divisor puts the full-scale product (colour 15 x intensity 15) at 255 on both paths: MAME 240*272/256 = 255, hardware 240*282/265 = 255.
- rtl/video/vind_intensity_dac.sv:214 Every entry is the integer result of that arithmetic (DIV = 256 for MAME's ztable, 265 for the resistor ladder) applied to the c16/z16 functions above.
- rtl/video/vind_mo_fetch.sv:60 11N 82S147 (512x8) and 9J 82S129 (256x4) are NOT in the MAME ROM set and cannot be read off the drawing.
- rtl/video/vind_mo_fetch.sv:61 Their FUNCTION is fixed by their wiring plus `atarimo.cpp`, and both are reconstructed here:
- rtl/video/vind_mo_fetch.sv:81 MAME wraps X with `xpos & 0x1ff` and never clips, so no HPOS-dependent shortening is modelled; the HPOS inputs exist on the board to stop an object that would run off the end of the 512-entry line buffer, which cannot happen with a wrapping
- rtl/video/vind_mo_fetch.sv:403 The columns start at phase 3 of the lock cell, one per cell, so the object is P + 1 = HSIZ + 1 columns wide -- MAME's `width`.
- rtl/video/vind_mo_fetch.sv:406 A preset of `HSIZ + 1` instead draws ONE EXTRA column of the tile past the object's right edge on every object wider than one tile, as a pixel comparison against MAME shows.
- rtl/video/vind_mo_fetch.sv:493 4M drives GA15..GA8 from the code word's high byte; 8N/7M add the offset into the LOW byte only, so the sum wraps at 256 -- a real hardware limit MAME does not have, and a deliberate difference from it.
- rtl/video/vind_mo_fetch.sv:599 MSD3..MSD0 leave the SLAGS in the board's ACTIVE-LOW pixel sense: the ROM bytes arrive raw (the data lines carry 4.7K pull-ups, and MAME models the same fact with ROMREGION_INVERT at load time), so no inversion is needed here.
- rtl/video/vind_mo_linebuf.sv:62 -- so a "special" object (priority bit 6) leaves the PIXEL plane untouched ("no draw", MAME's `if (mopriority & 4) continue;`) but still deposits its stain markers in the ATTRIBUTE plane.
- rtl/video/vind_mo_linebuf.sv:64 /STON is exactly MAME's `START_MARKER = (4 << PRIORITY_SHIFT) | 2` and /STOFF its `END_MARKER = (4 << PRIORITY_SHIFT) | 4`.
- rtl/video/vind_mo_linebuf.sv:96 It is measured the same way `vind_pf.sv`'s PFX_ALIGN is: at 1 the motion objects land on MAME's `xpos = X - xscroll` in every frame capture, at 0 they are one pixel to the left.
- rtl/video/vind_mo_vmatch.sv:21 so /VMATCH is asserted exactly for -8*(VSIZ+1) <= diff <= -1: the object covers the 8*(VSIZ+1) scanlines ABOVE the row where PFV == ~Y. That is the same "negate Y, subtract the height" rule MAME uses (`ypos = -ypos; ypos -= yscroll; ypos
- rtl/video/vind_mo_vmatch.sv:30 MAME simply does not render outside the visible area -- a different mechanism, same result.
- rtl/video/vind_pf.sv:16 5M LS374A (CK = /4H, /OC = MO//PF) : VRD15..VRD8 Q19 = PFHF (= VRD15, the tile's HORIZONTAL FLIP) and -> 5N D13 Q16,Q15,Q12 -> 5N (VRD14..VRD12) Q9..Q2 = GA11..GA8 3M LS374B (same clocks) : VRD7..VRD0 -> GA7..GA0 5N LS175B
- rtl/video/vind_pf.sv:39 MAME treats /PFSPC as a no-op (`case 5: break;`), so this whole input to the priority decision is absent from MAME; the core implements it.
- rtl/video/vind_pf.sv:54 MAME (whose picture is known good) computes 0x200 + 32*((data>>12)&7) + pen, i.e. colour = VRD14:VRD12 in bits 7:5 with bit 4 always zero.
- rtl/video/vind_pf.sv:58 The two readings differ by exactly one position, and only the MAME one is physically sensible (a flip bit is not a palette bit).
- rtl/video/vind_pf.sv:109 MAME's ROMREGION_INVERT is the same fact applied at load time; this core keeps the board's polarity so sheets 7/10's PAL equations can be written verbatim.
- rtl/video/vind_prio_gpc.sv:110 Taken literally the alpha colour address puts D10 in bit 4 and D12 in bit 2, while MAME's `color = ((data >> 10) & 0x0f) | ((data >> 9) & 0x20)` puts D12 in bit 4 and D10 in bit 2.
- rtl/video/vind_prio_gpc.sv:113 ALPHA_D_MAME = 1 selects the descending order D3..D0 = VRD15, VRD12, VRD11, VRD10 that reproduces MAME.
- rtl/video/vind_syngen.sv:32 The one place it does NOT agree with MAME is the total line count: this model gives **263 lines**, MAME's `set_raw` says 262.
- rtl/video/vind_syngen.sv:34 MAME's own comment at that line notes that its parameters are taken from published specs rather than derived, and that the board uses a SYNGEN chip to generate video signals, so the derived value is used here.
- rtl/video/vind_syngen.sv:37 Frame rate 7 159 090 / (456*263) = 59.696 Hz instead of MAME's 59.923 Hz.
- rtl/video/vind_syngen.sv:112 visible pixel index = h - 9 (MAME hpos)
- rtl/video/vind_video.sv:26 With PIPE_DLY = 2 the rendered frame sits at offset (0, 0) against MAME frame captures.
- rtl/video/vind_vram.sv:15 1M/2M carry VRD15..VRD8, 2N/1N carry VRD7..VRD0; `VRA14` and `/VRA14` are the two banks' CS2 and `VRA13..VRA1` are A12..A0, so the store is 16384 x 16 addressed by VRA14:VRA1 and VRAn == 68010 byte-address bit n. `VRA15` lands on pin 1, a N
- rtl/vind_core.sv:93 [7] = Pn-S8, which sheet 13 wires as Left Trigger, Right Trigger, Left Thumb, Right Thumb, Left Forward, Right Forward, Left Back, Right Back (= MAME 0x260000 D8..D15).
- README.md:24 All eight MAME sets run on identical RTL.
- README.md:51 | ROMs | Supplied by you from a MAME archive; none are included here |
- README.md:107 (The sibling Xybots board does swap them; this one does not, and MAME agrees.)
- README.md:135 It is Off by default, and Off is a bit-exact bypass, so the default picture is the one that was compared against MAME and checked on hardware; the stage also tu
- README.md:208 **Main CPU boot** — the 68010 bus is co-simulated against MAME 0.289 through reset, the RAM and ROM tests, the EEPROM unlock protocol and the scanline interrupt
- README.md:213 **Video** — MAME is instrumented to capture complete video state (alpha, playfield and motion-object RAM plus the palette) at chosen frames; those states are re
- README.md:221 **Sound** — the JSA I board is compared to MAME: the 6502's I/O accesses and the YM2151 register stream in order and in value, the SCOM command / response hands
- README.md:223 The whole board is also run on the real sound ROM at the core's real clock rate from power-on and through a sound-CPU reset, and must stay exactly silent while
- README.md:244 MAME is this project's functional oracle and every check above measures the core *against* it, so this is a narrow list, not a general claim.
- README.md:249 | Behaviour | MAME | This core |
- README.md:267 The frame comparisons run against MAME's own rendered output and pass, so on the captured frames the two models agree; the difference is in what happens on fram
- README.md:272 **The 57-object limit.** MAME draws every entry a list contains.
- README.md:280 A `DAC_MAME_COMPAT` parameter selects MAME's curve so the frame comparisons can match bit for bit; the shipping build uses the schematic's.
- README.md:284 **The colour-RAM write.** Vindicators writes its palette only outside the visible picture once it has booted — a MAME trace of 10,740 attract frames logged no c
- README.md:336 The YM2151 : POKEY mix balance** is 2.98 : 1, computed from the sheet-16 resistor network, against MAME's 1.5 : 1.
- README.md:403 Thanks to the MAME team, whose `vindictr.cpp`, `atarijsa.cpp` and `atarimo.cpp` served as the functional oracle throughout, and to whoever preserved the Atari S
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 12
- rtl/mem/vind_rom_loader.sv:32 Getting this backwards byte-swaps every opcode and the CPU fetches a garbage reset vector with no error anywhere, so the assembled region is checked by CRC against MAME's own :maincpu region, 04f2ff51.
- rtl/video/vind_cram.sv:13 So the CRAM word is INT3-0 : RED3-0 : GRN3-0 : BLU3-0 = D15..D0, matching MAME's `paletteram_w`, and the two byte lanes are written INDEPENDENTLY through their own /WE terms (which is how /UDS and /LDS are honoured).
- rtl/video/vind_intensity_dac.sv:51 `DAC_MAME_COMPAT = 1` selects MAME's table and its exact multiply, for bit-exact comparison against MAME's rendering; the release build uses the resistor-ladder transfer, which is the default.
- rtl/video/vind_intensity_dac.sv:60 1 = MAME's ztable and its exact multiply, for bit-exact comparison against MAME's rendering.
- rtl/video/vind_intensity_dac.sv:113 Written literally as a synchronous clear in a pixel-quantised core it costs a WHOLE pixel -- the register is still holding zero throughout the first pixel after /VIDBL releases -- and the picture loses its leftmost column: one mismatching p
- rtl/video/vind_mo_fetch.sv:619 Without it every motion object lands two pixels left of MAME's `xpos = X - xscroll`; with it the layer is pixel-exact against MAME frame captures.
- rtl/video/vind_pf.sv:169 Sheets 7 and 8 draw two (5N then 6N), but the pen bits reach PFHS straight off the SLAGS, and the two paths only line up if the colour is one stage shorter than the drawing reads; with one stage the playfield is pixel-exact against MAME fra
- rtl/video/vind_pf.sv:291 With PFX_ALIGN = 2 the playfield and the alphanumerics land on the same raster phase and the picture is pixel-exact against MAME frame captures.
- rtl/video/vind_prio_gpc.sv:94 (that is the ALPHA_D_MAME = 1 order, the default, and it is IDENTICAL to MAME's; ALPHA_D_MAME = 0 reverses the D12/D10 run to the literal sheet-10 pin order) MO 0x100 | colour<<4 | pen
- rtl/video/vind_prio_gpc.sv:100 All three rows agree with MAME exactly once ALPHA_D_MAME is set -- which is the default, and which is verified pixel-exact against MAME frame captures.
- rtl/video/vind_video.sv:350 Delayed, the picture is pixel-exact against MAME frame captures.
- rtl/vind_core.sv:62 1 selects MAME's ztable transfer instead of the sheet-11 resistor ladder, for bit-exact comparison against MAME; the release build uses the ladder.
MAMEドライバと同じ文言を含む(出典の明記なし) — 6