Terminal control/Positional read: Difference between revisions

Line 9:
<lang locobasic>10 LOCATE 3,6
20 a$=COPYCHR$(#0)</lang>
 
Amstrad CPC screen memory only stores pixels but no character information (as opposed to e.g. the C64), so the firmware routine (TXT_UNWRITE) called by BASIC works by trying to find a match between screen pixels and the shape of a currently defined character. If the character table or screen pixels in the area of the character are changed between writing and reading, COPYCHR$ will therefore fail.
 
=== {{header|ZX Spectrum Basic}} ===
Anonymous user