# Video ## What is known - A 32 x 32 tile map of 8 x 8 tiles (at 7400-77FF by the hypothesis map in start-here.md), 2 bits a pixel from the graphics EPROMs, a colour from a PROM by tile column group and the palette bank (7D86-7D87). Visible: 256 x 224 (lines 16-239), turned for a portrait monitor (MAME `-listxml`; the colour rule HYPOTHESIS until the video sheets are read: U4). - Sprites from sprite RAM at 7000 (two banks, 7D83), 4-byte records, written once a frame by the 8257 from a staging copy in work RAM ([dma.md](dma.md)). MAME's trace shows the transfer programmed for 0x180 + 1 bytes each frame (OBSERVED). - The video board's parts (start-here.md) include ECL RAMs and counters on the 61.44 MHz clock, an MB93419 64 x 9 RAM and fourteen 74LS157 multiplexers: a sprite engine that searches sprite RAM during each line and draws into a fast line buffer. Sprites per line, priority and the edge behaviour come from that design (U3, U5). - Flip: 7D82. ## Approach The specification models the sprite engine as the schematic shows it: per line, the search over sprite RAM, the line buffer write and its read-out, so that the per-line limits and any race with the DMA (which writes sprite RAM at line 241, during blanking) fall out of the model rather than being assumed. The video board's sheets in DKS are the judge; MAME's snapshots are detectors. ## Siblings Radar Scope (1980) is the board Donkey Kong was converted from: its video adds a star/grid background (MAME device list shows no extra chip; the grid comes from the board logic: U6). Donkey Kong Junior's video is the same design with more graphics ROM. Donkey Kong 3 has its own CPU board (DKC1) and a video board on the same 61.44 MHz clock (DK3M parts list: "61.44-MHz Crystal").