qwaffe 2021-02-28 08:10 (Edited)
Not-so-tiny text
Uses BG0 and BG1, BG1 scrolled 4 px to the right
Syntax:
CALL T4(X,Y,TEXT$)
Writes TEXT$ at (X,Y)
X: 0-63 (the initial visible area is 0-39)
Y: 0-31 (the initial visible area is 0-15)
Note that you can scroll the background.
CALL T4W(X,Y,TEXT$)
Writes TEXT$ at (X,Y) which wraps from 0-39 (the width of the screen)
X: 0-39
Y: 0-31 (the initial visible area is 0-15)
CALL CLRAT
Clears all 4x8 text on the screen (chars 229-255)
v2: the alphabet chars are now at the end of the char data (230-255), uses char 0 as space so it needs to be empty.
v2.1: added CLRAT, renamed text function, some other examples
v2.2: added T4W, some other examples