AiGeneric - rosco-pc/propeller-wiki GitHub Wiki

This is a text video driver which was the combined efforts of several forum members. Potatohead, Hippy, Baggers, Oldbitcollector, and a few others. (Add credit if do)

AiGeneric (OBEX, Forum) supports 40x24, 16 color text with multiple fonts, or .64c fonts. It was created with the idea of being a drop-in replacement for Parallax's text driver.

Package has been divided into two, one supporting the original font system, the other supports loading of .64c fonts.

.start(videopin) Select video pin to start the driver. (Commonly 12 on Proto/Demo boards)

.str(string("Hello world)) Output a line of text

.center("Hello World") Centers the words, "Hello World" on the screen

.redefine(65,255,255,255,255,255,255,255,255) Redefines character 65(A) as a solid block

.color($1A) Define text color (see demo for common colors)

.out(13) Output a single character by number (example 13=carriage return)

.hex(255,2) Display hex number using two digits. (example 255=$FF)

.bin(255) Display binary number (example 255=11111111)

.dec($FF) Display decimal number. (example $FF=255)

.cls Clear the screen