; ColorPRINT ; version 1.0 ; Copyright (c) 2008 Andrew Owen ; ----------------------------------------------------------------------------- ; ColorPRINT is a MODE 2 characater printing tool for the Timex TC2048 and ; Spectrum SE computers. It uses channels/streams to extend 48 or 128 BASIC. ; Use it with PRINT #4 CHR$ n (where n is 0 to 255). The co-ordinates are taken ; from the standard screen channel. To print at a specific co-ordiante use ; PRINT AT y,x; #4; "some text";. All 256 characters can be redefined. USR "A" ; is the first byte of the bitmap of character 144. USR "A" + 2048 is the first ; byte of the attributes of character 144. In the font area, USR "A" - 376 is ; the start of the bitmap of 'a', while USR "A" - 632 is 'A' and so on (the ; CHARS and UDG system variables are changed to point at the new data area). ; PRINT, PLOT, CIRCLE and DRAW now function on the bitmap only and will not ; modify the attributes. ; ----------------------------------------------------------------------------- ; MEMORY MAP ; ; +---------+--------+---------+-----------+------------... ; | Display | Do not | Printer | System | Microdrive ; | File | use | Buffer* | variables | maps ; +---------+--------+---------+-----------+------------... ; | | | | | ; 16384 22528 23296 23552 23734 ; ; ...-+------------+-------------+---------+-----------+-... ; | Attributes | Channel | BASIC | Variables | etc. ; | | information | program | | ; ...-+------------+-------------+---------+-----------+-... ; | | | | | ; 24576 30720 PROG VARS E_LINE ; ; ...-+------+-------+--------+----------+------+---------+------------+ ; | 0x3E | ASCII | Normal | Block | UDGs | ASCII | Attributes | ; | | 0-31 | font | graphics | A-U | 165-255 | 0-255 | ; ...-+------+----------------+----------+------+---------+------------+ ; | | | | | | | | ; RAMTOP 61440 61696 62464 62592 62760 63488 65535 ; ; * Extra system variables in 128 BASIC.