Graphics Drivers - rosco-pc/propeller-wiki GitHub Wiki
Tiles and Sprites drivers
Driver name | Location | Resolution (WxH) | Tiles | Sprites | Color Palette | Cogs | Source files |
---|---|---|---|---|---|---|---|
COP | On Hydra Book CD | cop_drv_010.spin | |||||
DK | As part of latest Dodgy Kong zip | 256x224 | 32x28 map | 8x8 pixels/tile | 34 total Number per line depends on cogs used 16x16 pixels | 4 colors per individual tilehttp://forums.parallax.com/discussion/94733/donkey-kong-now-playable 4 colors per individual sprite | 3+ |
HEL | On Hydra Book CD | 160x192? | 10x12 map 16x16 pixels/tile Horizontally scrollable | 8 total 5 per line 16x16 pixels | 4 colors per individual tile Sprites share palettes of tiles they overlap with | 1 | HEL_GFX_ENGINE_050.spin |
JLC Spectrum | Parallax Hydra forum | 256x192 | 32x24 map 8x8 tiles | No sprites. | 2 colors per individual tile chosen from a palette of 16 plus flashing colors. | 1? | JLC_Spectrum_TV_010.spin |
REM | On Hydra Book CD | rem_gfx_engine_017.spin, rem_tv_017.spin | |||||
VGA Learning Driver | Propeller forum | 640x480 | N/A | N/A | 64 color (4 color / 16pixel mode) | 1 | VGA Learn.spin |
NTSC Tutorial | Hydra forum | 188x244 | N/A | N/A | N/A | 1 | BAM_50_Line_Driver_01.spin |
8x8 Tile Driver Tutorial | Hydra forum | 376x240 | 30x64 tile map, 8x8 tiles, smooth scroll in X and Y, rows can be added but need to be at least 30. | Any height, width can be 4, 8, 16, 32, 64, etc. pixels. Add sprites until the driver chokes, then add more cogs... ;-) | One byte per pixel, use the Hydra palette. | 5+ | See post in forum. |
Character mode driver
TV_Text is in the standard library. PAL/NTSC support, 40 columns, 12 lines. or 16 lines for NTSC and PAL respectively.
8x8 NTSC driver</range id="57952104_1"> (up to 70 chars / line, 25 display lines 2 colors / screen or up to 40 chars / line, 25 display lines 2 colors per char displayed) This driver was further developed in this thread, into 2 versions plus some derived works to make it compatable with TV_Text. Look for the downloads from Hippy for the merged versions that have added easy to use Pin and mode selection.
Note that there is a improved graphics driver SDM_graphics_XOR, that is an extension to the standard graphics.spin to support XOR mode that can replace double buffering, and uses the internal fonts. This reduced memory usage might mean you do not need a text mode driver.
raster-based, non-tiled graphics system(s)
- "Amazing Sand Physics demo uses 6 cogs to animate 10,000 grains of sand in realtime"
- Variable resolution simple bitmap high-color NTSC driver (horizontal 20, 40, 80, 160, 256, 320 pixels Vertical 48, 64, 96, 192 x 1 byte / pixel)