# The F3 main board F3 is far better evidenced than F2, thanks to one researcher. 12me21's notes (`reference/src/12me21-taito-f3`, pinned at `d1574c6`, no licence: facts only, cited by file, never copied) record board traces, pinouts, oscilloscope readings and the results of test programs run on real F3 boards. 12Me21 is also a credited copyright holder of MAME 0.285's `taito_f3.h` and `taito_f3_v.cpp` (their `license:` lines, read 2026-11-26 through the GitHub API: BSD-3-Clause; the files themselves were not read). The notes are tier 1 (hardware-captured) where they say they measured, and tier 3 otherwise; they are "unorganized" by the author's own description, so each fact is taken only where the note says how it was found. ## Parts (12me21 `mbv.txt`, `draw.txt`, `chips.txt`; board reads) | Part | Role | | --- | --- | | MC68EC020FG16 | main CPU (16 MHz part) | | TC0630FDP | video: four tilemap playfields, the pivot (text/pixel) layer, sprites into a framebuffer, line RAM, priority and clipping; it sends two "half-pixels" per screen pixel to the FDA (`terms.txt`) | | TC0650FDA | colour RAM lookup, alpha blending of the two half-pixels, the video DAC | | TC0660FCM | glue: clocks and latches on both the video and the sound side (`fcm.txt`, `5505-5510.txt`) | | TC0640FIO | inputs, coin counters, the 8 dial inputs (`fio.txt`) | | 4 x FPM DRAM | the sprite framebuffer (ic5-ic8) | | LH5P8128 x 2 | graphics RAM | | 93C46 | serial EEPROM (MAME: 64 x 16) | | PALCE20V8 x n | address decode; the cartridge's own PAL maps its program ROM (`sound-address.txt` note on pbobble4j's D77-12) | | crystals | 26.686 MHz, 30.47618 MHz, 16 MHz | ## Clocks: a contradiction to settle (C1, C5) 12me21's `clocks.txt` gives maincpu 15.23809 MHz, audiocpu 15.23809 MHz, OTIS 15.23809 MHz, ESP 8 MHz, DUART 4 MHz, audio bit clock 3.8095225 MHz, sample rate bclk/128 = 29.76 kHz. MAME 0.285's device tree gives the 68EC020 at **16 MHz**, the ESP at **10 MHz**, the sound 68000 and OTIS at 15.238 MHz. The interrupt-timer note (`interrupts2.txt`) measures in CPU cycles and its working names "30mhz/2 clock interval: 0.0656us", which supports 15.238 MHz for the main CPU. Recommendation: take 12me21's measured figures (tier 1 beats tier 5), mark them MEASURED with the file named, and keep MAME's values as the counted disagreement. ## Interrupts (12me21 `interrupts2.txt`, MEASURED) - Level 2: at the beginning of vertical blanking (near the end of line 255, after the last visible pixel). - Level 3: about 712 us (about 10,850 CPU cycles) after level 2, mid-blank. - Level 5: a programmable timer, 16-bit register at 4C0000h drawn as `..e. rrrr rrrr rrrr` (bit 13 enable, rate in bits 11-0): every (4000h - rate x 8 + 32) CPU cycles, "within ~10 cycles" of the hardware; games use rate 78Bh for a once-per-line interrupt (the note gives 788.A9h as the exact line rate). ## Memory map (12me21 `mem.txt`, probed; MAME's installed map agrees) | Address | 12me21 | MAME 0.285 handler (tests/detectors/mame-map-dariusg-2026-11-26.txt) | | --- | --- | --- | | 000000-1FFFFF | (cartridge program ROM) | ROM | | 300000-30007F | | sound bank switch | | 400000-43FFFF | work RAM; 4E0000-4FFFFF mirror | RAM 400000-41FFFF, mirror 20000h | | 440000-45FFFF | palette RAM | 440000-447FFF palette (24-bit write) | | 4A0000-4BFFFF | FIO | control | | 4C0000 | timer register | timer control | | 600000-63FFFF | graphics RAM (mirror at 680000-6B0000) | sprite RAM 600000, playfields 610000, text 61C000, characters 61E000, line RAM 620000, pivot 630000 | | 660000-66001F | scroll registers (mirror 6E0000) | control 0 and 1 | | C00000-C7FFFF | shared RAM (11 address bits) | MB8421 left port C00000-C007FF | | C80000 | | sound reset 0 and 1 (C80000, C80100) | | others | several addresses hang the bus ("freeze") | unmapped | The "freeze" addresses (460000, 470000, 500000, ...) are a hardware observable no MAME detector shows: an access that never completes (no DSACK). The board must model it. ## Video (TC0630FDP + TC0650FDA) 12me21's site (`website/fdp/*.html`, `line-ram.txt`, `terms.txt`, `clip.txt`, `sprite-ram.txt`) is a near-complete description of the FDP's programming model: - Eight layers can contribute to a pixel: the background colour, the pivot layer, sprites, four tilemaps, and a "highcolor" layer. - Line RAM: eight sections, each mappable to one of sixteen places in the 62xxxxh block, each with four subsections of 256 words (one per scanline) and per-line latches at 620000h that let one line's parameters persist. - Priority is explained by a 2 x 16 "priority cell" model (a HYPOTHESIS by the author's own word), four clip intervals, sprite groups by palette bits, mosaic, and alpha values $7 (opaque) to $F (clear) in pairs per half-pixel. - Colour index: 13 bits, `texture | palette << 4` (OR, not add). Video timing: the `vtiming*.txt` captures (startup, drop-in, drop-out) are line-by-line recordings; the screen is 320x232 or 320x224 visible, 58.9438 Hz in MAME. 26.686 MHz / 4 = 6.6715 MHz and 432 x 262 dots per frame would give 58.94 Hz: HYPOTHESIS until read off the captures. It is supported by the timer arithmetic: the note's exact line rate 788.A9h gives 4000h - 1928.66 x 8 + 32 = 986.7 CPU cycles, which is 64.75 us at 15.238 MHz, the same as 432 dots at 6.6715 MHz; 262 such lines make 58.94 Hz. (At MAME's 16 MHz the same register value would give 61.7 us: a second reason to prefer 15.238 MHz, C1.) ## Unknowns specific to F3 U7 the FDP's sprite-drawing time budget and what happens when a frame overflows it; U8 the priority-cell model's corner cases (the author calls it a theory); U9 the real line count and pixel clock (the hypothesis above); U10 what the "freeze" accesses do to the CPU (bus error or hang); U11 MAME's 16 MHz vs the measured 15.238 MHz (C1).