Page 1 of 1
disable the cursor
Posted: Thu Feb 20, 2014 3:42 pm
by maximus
I try with PRINT CHR$(17)
Of course it works, but when program read again the instruction, it reappears
Is there a way to disable it definitively ?
Re: disable the cursor
Posted: Thu Feb 20, 2014 5:39 pm
by Dbug
In $26A is a byte with some control bits:
- Bit 0 -> Cursor status (does the cursor blink)
- Bit 1 -> Video status (does printing to the screen works)
- Bit 3 -> Keyboard sound status (will it do clickety clicks)
- Bit 5 -> Are the two first columns of the screen writable by print
So I guess something like POKE#26A,PEEK(#26A) AND 254 should work.
Re: disable the cursor
Posted: Thu Feb 20, 2014 7:51 pm
by maximus
Thanks Dbug for your very fast reaction
but what do i add ?
Code: Select all
10 POKE#26A,PEEK(#26A)
20 POKE#26A,254
product strange effect
Re: disable the cursor
Posted: Thu Feb 20, 2014 8:02 pm
by Igotafro
AND is a Basic command
Try this:
Re: disable the cursor
Posted: Thu Feb 20, 2014 8:09 pm
by maximus
Oh my god,
Thanks, it works perfectly
Re: disable the cursor
Posted: Thu Feb 20, 2014 8:17 pm
by Dbug
n00b :p
Re: disable the cursor
Posted: Thu Feb 20, 2014 8:32 pm
by maximus