← コア一覧
Toobin
MAMEのドライバにない実基板の資料を引用 — 37
- rtl/main/toobin_addr_decode.sv:17 Source: Atari SP-320 schematics (main CPU decode); MAME's toobin.cpp.
- rtl/main/toobin_eeprom_2804.sv:8 Board behavior (SP-320 sheet 3): /UNLOCK presets 14M (74LS74).
- rtl/main/toobin_inputs.sv:8 Toobin uses four independent paddle-direction pushbuttons per player plus a Throw Can button, which the game also uses as Start (SP-320 sheet 18 and the FF8800 switch word, all active-low):
- rtl/main/toobin_irq_wd.sv:13 Watchdog (SP-320 sheet 2, 8L LS90): /VSYNC clocks a decade counter.
- rtl/main/toobin_irq_wd.sv:17 Source: Atari SP-320 schematics; MAME's toobin.cpp; the System 1 core's TG68K IPL convention (rtl/lib/TG68K/TG68K.vhd).
- rtl/main/toobin_irq_wd.sv:53 74LS90 decade behavior: FF8000 clears to zero; /VSYNC advances 0..9.
- rtl/main/toobin_main_bus.sv:13 Source: Atari SP-320 schematics (main CPU decode).
- rtl/video/toobin_alpha_render.sv:9 SP-320 sheet 6 is the electrical authority: D11 drives ANHFLIP, D9:0 select one of the 1024 characters, and D10 reaches only the optional ANROMA14/VPP socket pin.
- rtl/video/toobin_mo_linebuf.sv:8 SP-320 sheet 13 selects the two physical line-buffer banks directly with 1V and /1V, so line_swap always changes banks; it is deliberately not completion-gated.
- rtl/video/toobin_mo_linebuf.sv:90 ---- unconditional 1V/inverse-1V bank parity (SP-320 sheet 13) ----
- rtl/video/toobin_mo_list.sv:16 Word fields (schematic sheet 6 latch wiring + MAME atarimo config -- the link lives in w2, NOT w0; w0[7:0] is ypos-low/size bits): w0: abs[15], ypos[14:6], height[5:3], width[2:0] w1: vflip[15], hflip[14], code[13:0] w2: link[7:0]
- rtl/video/toobin_mo_list.sv:104 Link pointer comes from WORD 2 (schematic sheet 6: 17F link register is loaded from the C09804 word; MAME linkmask {{0,0,0x00ff,0}}).
- rtl/video/toobin_pf_render.sv:69 Sheet 14 clocks HSCROLL on the following scanline.
- rtl/video/toobin_priority.sv:6 This is the real PAL 7E equation, not a functional approximation.
- rtl/video/toobin_priority.sv:8 136061-1151 (PAL16L8A at 7E) was bruteforced by Caius and tested on a board by gamefixer; the JEDEC is on PLD Archive as `Toobin_136061-1151`, dated 07/10/2019.
- rtl/video/toobin_priority.sv:10 Decoded with MAME's jedutil as a gal16v8: simple mode, active-low outputs, only pins 13/14 driven.
- rtl/video/toobin_priority.sv:11 Those two pins are the shared SB/SA select rails of the five 74F153 muxes that build the colour-RAM address (pin14 -> F153 pin 2 = B/msb, pin13 -> F153 pin 14 = A/lsb), whose data inputs are C0=playfield, C1=motion object, C2=alpha, C3=CPU
- rtl/video/toobin_raster.sv:6 SP-320 sheets 5-6: 640x416 total, 512x384 visible, HSYNC 544-607, VSYNC 388-391.
- rtl/video/toobin_video.sv:134 SP-320 sheet 13 selects the two line-buffer banks directly from 1V//1V, and the displayed bank's chip select is gated only by 16MHZD and that parity -- there is no BLANK/active-display term, and R107-R114 pull the data bus to the transparen
- rtl/video/toobin_video.sv:138 (Corroborated by Atari SP-284's LINEBUF.vhd, whose address counter increments on every master clock with no active-display qualifier.)
- rtl/video/toobin_vscroll_ctrl.sv:6 SP-320 sheet 14 latches BD14:6 as VS8:0 and feeds two cascaded LS163 counters clocked by /HSYNC.
- README.md:7 The core reconstructs the original PCB — a 68010 main board plus an Atari JSA I sound board — from Atari's SP-320 schematic package, with MAME used as a functio
- README.md:174 It applies where the SP-320 schematics document something MAME's model does not, and in three of the eight cases MAME's own source flags the gap.
- README.md:180 | Pixel priority merge | `toobin.cpp` brackets it with `not verified: logic is all controlled in a PAL`: playfield pen bit 3 *gates* the merge, and the motion o
- README.md:183 | Alpha character flip | `(data >> 10) & 1` taken as the flip bit | sheet 6 routes `ANHFLIP` to **D11**; D10 reaches only the optional `ANROMA14/VPP` socket pin
- README.md:186 | JSA `/RDIO` D6 | JSA I and II comments say active low, JSA III says active high | resolved from the sheet 22 LS240 |
- README.md:187 | JSA I 6502 address decode | `atarijsa.cpp` maps the YM2151 at 0x2000-0x2001 only and `/IRQACK` as read/write | the dumped decoder PAL 136056-2101: the YM2151
- README.md:189 **The output filter is the largest of these.** Sheet 21 draws a unity-gain Sallen-Key 2nd-order low-pass around LM324 4A, and the core implements it with the va
- README.md:199 **Two rows are backed by fuse dumps.** The priority merge: PAL 7E on sheet 16, Atari part 136061-1151, was brute-forced from a real part and tested on a board,
- README.md:216 The other dump is the sound board's 6502 address decoder, the `2L-PAL` on sheet 20, Atari part 136056-2101 — the number the Toobin' audio-PCB parts list gives f
- README.md:260 Video DAC — a 32-step voltage sweep per channel.** Sheet 16 shows an R/2R ladder *and* a 74F260 five-input NOR acting as an all-bits-zero detect, both feeding t
- README.md:269 End-to-end audio transfer.** The `/MIX` Sallen-Key and the POKEY transimpedance pole are derived from sheet 21's component values, but the baseline response of
- README.md:280 JSA `/RDIO` D6.** Resolved here from sheet 22's LS240, against MAME comments that contradict each other between JSA I/II and JSA III.
- README.md:281 The JSA I stand-alone audio PCB (Atari A-043713) is shared with Blasteroids, Vindicators, Xybots and Skull & Crossbones, so **SP-316**, **SP-317** and **SP-313*
- README.md:315 Thanks to the MAME team, whose `toobin.cpp`, `atarijsa` and `atarimo` code served as the functional oracle throughout, and to whoever preserved the Atari SP-320
- README.md:319 Thanks also to **Caius**, who brute-forced the priority PAL (136061-1151) off a real board, to **gamefixer**, who tested the result on hardware, and to the **PL
- README.md:322 Thanks likewise to whoever, signing as **MYF**, re-created the JSA sound-board decoder PAL (136056-2101) as a GAL16V8 in 2022.
「実機」で確認したと記載 — 1
- README.md:319 Thanks also to **Caius**, who brute-forced the priority PAL (136061-1151) off a real board, to **gamefixer**, who tested the result on hardware, and to the **PL
MAMEとの相違点を記載 — 5
- rtl/video/toobin_priority.sv:27 Two structural differences from MAME's model (toobin.cpp screen_update, which notes its own merge is unverified), each confirmed against all 1024 fuse vectors: (a) a layer's pen bit 3 SELECTS which of that layer's two priority bits is comp
- README.md:9 Where a schematic and MAME disagree, the schematic wins and the disagreement is recorded — see [Where this core differs from MAME](#where-this-core-differs-from
- README.md:171 Where this core differs from MAME
- README.md:174 It applies where the SP-320 schematics document something MAME's model does not, and in three of the eight cases MAME's own source flags the gap.
- README.md:201 The two differ structurally: MAME treats playfield pen bit 3 as a gate that must be set before the playfield may cover a motion object, where the hardware uses
MAMEのソースを引用 — 41
- Toobin.sv:105 MAME's INPUT_PORTS_START(toobin) has only the FF8800 controls and the FF9000 service/status word; every operator setting lives in the X2804 EEPROM and is changed from the game's own self-test.
- rtl/main/toobin_addr_decode.sv:6 Faithful reproduction of MAME toobin.cpp `main_map` semantics: 1.
- rtl/main/toobin_addr_decode.sv:17 Source: Atari SP-320 schematics (main CPU decode); MAME's toobin.cpp.
- rtl/main/toobin_addr_decode.sv:40 Per-entry hits (start, end, mirror straight from toobin.cpp).
- rtl/main/toobin_irq_wd.sv:6 Interrupts (MAME toobin.cpp, set_interrupt_mixer(false)): scanline compare -> IPL0 pin (weight 1); latched, set by the video `scanline_match` pulse, cleared by a write to FF83C0 (irqack).
- rtl/main/toobin_irq_wd.sv:17 Source: Atari SP-320 schematics; MAME's toobin.cpp; the System 1 core's TG68K IPL convention (rtl/lib/TG68K/TG68K.vhd).
- rtl/main/toobin_main_bus.sv:197 MAME's INPUT_PORTS (hblank=D13, ready=D15) has these two swapped; the old RTL shipped MAME's layout, so the send gate was actually polling raster timing.
- rtl/toobin_core.sv:217 A single latch is written by every decoded FF8380 alias and read back (MAME models it readable); the renderer consumes [7:0].
- rtl/video/toobin_char_rom.sv:7 Decode per MAME `anlayout` (8x8, 2bpp, planes {0,4}, x-offsets {0,1,2,3,8,9,10,11}, y*16), MSB-first bits: row y uses bytes A=tile*16+y*2 (pixels 0-3) and B=A+1 (pixels 4-7); pixel x in 0-3: {A[3-x], A[7-x]}; x in 4-7: {B[3-(x-4)], B[7-(x-
- rtl/video/toobin_char_rom.sv:42 {pix7,pix6,...,pix0}, each pixel = {MSB=plane[0]@off0, LSB=plane[1]@off4} (MAME: planeoffset[0] is the most-significant pixel bit).
- rtl/video/toobin_mo_gfx.sv:6 MAME `molayout`: 16x16, 4bpp, RGN_FRAC(1,2) (sprites region 2 MB => 1 MB halves).
- rtl/video/toobin_mo_list.sv:16 Word fields (schematic sheet 6 latch wiring + MAME atarimo config -- the link lives in w2, NOT w0; w0[7:0] is ypos-low/size bits): w0: abs[15], ypos[14:6], height[5:3], width[2:0] w1: vflip[15], hflip[14], code[13:0] w2: link[7:0]
- rtl/video/toobin_mo_list.sv:104 Link pointer comes from WORD 2 (schematic sheet 6: 17F link register is loaded from the C09804 word; MAME linkmask {{0,0,0x00ff,0}}).
- rtl/video/toobin_mo_pos.sv:6 Implements MAME atarimo render_object's coordinate math for ONE object against ONE render scanline Y (0..383), in closed form.
- rtl/video/toobin_mo_render.sv:9 Faithful to MAME atarimo render_object (swapxy, forward order, transpen 0, pen base 0x100).
- rtl/video/toobin_mo_render.sv:47 scroll (pixels; MAME feeds reg>>6)
- rtl/video/toobin_mo_render.sv:238 evaluate the current column (MAME swapxy clip: break right, skip left)
- rtl/video/toobin_palette.sv:6 Per MAME toobin.cpp paletteram_w / intensity_w: R5 = word[14:10], G5 = word[9:5], B5 = word[4:0] (5:5:5) base8 = (c5 * 224) >> 5 ; if (base8 != 0) base8 += 38 (per channel) bit15 (intensity-disable): 1 => pen at full brightness; 0 => pe
- rtl/video/toobin_palette.sv:49 MAME applies the global brightness as a floating-point pen contrast -- `m_brightness = (double)(~data & 0x1f) / 31.0` in toobin.cpp intensity_w, then set_pen_contrast() -- and the float-to-8-bit conversion truncates.
- rtl/video/toobin_priority.sv:10 Decoded with MAME's jedutil as a gal16v8: simple mode, active-low outputs, only pins 13/14 driven.
- rtl/video/toobin_tile_dec.sv:7 One 8x8 tile row = 4 bytes: A,B from the first ROM half (planes 2,3), C,D from the second half (planes 0,1), per MAME pflayout {RGN_FRAC(1,2)+0,+4,0,4}, plane0 = MSB.
- rtl/video/toobin_tile_reorg.sv:4 The tile ROM downloads in MAME pflayout order (first half 0..0x3FFFF = planes 2,3; second half 0x40000..0x7FFFF = planes 0,1).
- rtl/video/toobin_video.sv:10 Layer order/merge exactly per MAME screen_update.
- rtl/video/toobin_vram_cpu.sv:9 Per MAME get_playfield_tile_info the 32-bit word is {hi16, lo16} where hi16 (color/flip/cat, bits31:16) is the addr[1]=0 access and lo16 (code, bits15:0) is addr[1]=1 (big-endian).
- README.md:7 The core reconstructs the original PCB — a 68010 main board plus an Atari JSA I sound board — from Atari's SP-320 schematic package, with MAME used as a functio
- README.md:13 Toobin' is its own platform, not Atari System 1 or System 2 (MAME driver `toobin.cpp`); only the video sync chain resembles System 2.
- README.md:18 Six MAME sets run on identical RTL — they differ only in the main CPU ROMs.
- README.md:36 | ROMs | Supplied by you from a MAME archive; none are included here |
- README.md:140 Those states are replayed through the real core RTL and the rendered frame is compared to MAME's own output pixel for pixel.
- README.md:141 Across attract, self-test and gameplay captures, **10 / 10 in-scope frames are bit-identical over all 196,608 pixels.** One gameplay frame is a documented out-o
- README.md:157 **Render-load oracle** — the motion-object budget is sized against measured game load, not a guess: a MAME script sweeps 36,000 frames of attract and gameplay a
- README.md:173 MAME is this project's functional oracle, and every gate above measures the core *against* it — so this is a narrow claim, not a general one.
- README.md:178 | Behaviour | MAME | This core |
- README.md:180 | Pixel priority merge | `toobin.cpp` brackets it with `not verified: logic is all controlled in a PAL`: playfield pen bit 3 *gates* the merge, and the motion o
- README.md:181 | JSA I `/MIX` low-pass bit | `atarijsa.cpp` carries `TODO: emulate the low pass filter!` — the bit does nothing | the real 2nd-order filter, component by compo
- README.md:182 | POKEY stereo gating | `atarijsa.cpp` notes it is "currently only mono, only looking at `ym2151_ct1`" | CT1 gates the POKEY feed into the left path, CT2 into t
- README.md:187 | JSA I 6502 address decode | `atarijsa.cpp` maps the YM2151 at 0x2000-0x2001 only and `/IRQACK` as read/write | the dumped decoder PAL 136056-2101: the YM2151
- README.md:210 Under those two constraints the hardware equation reduces to exactly MAME's condition, so the two agree on every frame Toobin' can produce.
- README.md:217 Its equations match `atarijsa.cpp` everywhere except the two entries in the table: the `/YAM` output ignores A1-A10, so the YM2151 is mirrored across 0x2000-0x2
- README.md:280 JSA `/RDIO` D6.** Resolved here from sheet 22's LS240, against MAME comments that contradict each other between JSA I/II and JSA III.
- README.md:315 Thanks to the MAME team, whose `toobin.cpp`, `atarijsa` and `atarimo` code served as the functional oracle throughout, and to whoever preserved the Atari SP-320
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 6
- rtl/main/toobin_addr_decode.sv:13 Read and write handlers are decoded SEPARATELY, matching MAME's independent .r()/.w() installs: a read of a write-only register (or vice-versa) yields REG_NONE (open bus).
- rtl/main/toobin_addr_decode.sv:28 match(a, start, end, mirror): MAME global-mask + mirror-collapse + range.
- rtl/mem/toobin_rom_loader.sv:19 Region sizes and order match MAME's ROM_START(toobin); the download itself arrives over the MiSTer ioctl interface (sys/hps_io.sv).
- rtl/video/toobin_mo_linebuf.sv:12 Pen 0xFFFF is transparent (matches MAME's MO sentinel).
- rtl/video/toobin_palette.sv:54 Every attract frame runs at intensity=00, where cn=31 and the divide is a pass-through, so the error is invisible there; a pixel-exact comparison against MAME on an intensity=01 self-test frame caught it (856 pixels, all exactly +1).
- README.md:138 **Pixel-exact compositor gate** — MAME 0.288 is instrumented to capture complete video state (playfield, alpha, motion-object and palette RAM, plus the scroll/S
MAMEドライバと同じ文言を含む(出典の明記なし) — 2