File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #Print42.bas
2+
3+ The 42 column printing routine allows text to be 6 pixels wide instead of 8.
4+ It is NOT proportional printing, but this is still useful for lining things up in columns.
5+
6+ This routine has been adopted as an included library - so you may include it with
7+
8+ ```
9+ #include <print42.bas>
10+ ```
11+
12+ ##Usage
13+
14+ ```
15+ printat42(y,x)
16+ ```
17+
18+ Moves the print42 system's print cursor to row Y, column X. Note that ` 0 <= x <= 41 ` - that is the range of values
19+ for X can be up to 41. The range of values for Y is the normal 0-23.
20+
21+ ```
22+ printat42(STRING)
23+ ```
24+
25+ Prints the string to the screen at the current Print42 co-ordinates. It does so in the current permanent colours.
26+
27+ NOTE: The ZX Spectrum's attribute system is encoded into the hardware as a 32 character grid. Print42 does its best,
28+ but changing the ` paper ` /` bright ` /` flash ` colour from the background is likely to look imperfect as the attribute blocks
29+ cannot line up well with the pixel blocks.
You can’t perform that action at this time.
0 commit comments