DK Graphics Driver - rosco-pc/propeller-wiki GitHub Wiki

The DK Graphics Driver was written specifically for the game Dodgy Kong. However there is no reason why it may not be extracted and used to power other games.

Specs

Screen Resolution (WxH) 256x224
Tile Resolution 8x8
Tiles 32x28
Tile Palette 4 colors per individual tile
Sprite Resolution 16x16
Sprite Palette 4 colors per individual sprite
Number of sprites 34
Sprites per line Depends on number of cogs used
Cogs needed 3+
More sprites or more tile palettes require more cogs
Files sw_dk_gfx_renderer_015.spin
sw_dk_tv_drv_022.spin

How it works

DK uses 3 or more cogs working together. 2 or more rendering cogs and a single TV driver cog. The rendering cogs work in parallel creating data for a single scan line at a time. The TV cog takes this data and sends it to the propeller graphics hardware.

⚠️ **GitHub.com Fallback** ⚠️