On Sep 11, 3:51 pm, j...@magrathea.plus.com (Jim) wrote:
yes? Because if I write this code:
10 ?CHR$(4)"PR#3"
20 ?CHR$(4)"IN#2"
30 GET A$
40 PRINT A$;
50 GOTO 30
then it stays in 40col mode until I hit a key on the PC keyboard,
whereupon it goes into 80col, displays the key, then nothing more.
Do I need to initialise the 80col card in some other way? TEXT:HOME
perhaps?
Line 10 tells the system to redirect output to the 80 col init routine
Line 20 tells the system to redirect input from the serial card init
routine
Line 30 calls the serial card init routine and returns when a
character arrives
Line 40 sends a character to the 80 col init routine which finally
switches from 40 to 80 col mode AND installs the 80 col input handler
overwriting line 20's effect..
You need to do some output between line 10 and 20. eg:
15 PRINT