Posts: 222
Threads: 23
Joined: May 2003
When I'm on an ordinary DOS text screen, 80x25, is there any way to hide the cursor as it flashes around the screen with
?
In a race between a rock and a pig, don't varnish your clams." -- "Dilbert"
Posts: 720
Threads: 46
Joined: Oct 2001
Quote:When I'm on an ordinary DOS text screen, 80x25, is there any way to hide the cursor as it flashes around the screen with ?
There's a memory hack to do it, and probably another command that I don't remember... but the easiest way by far is to just stick it in the bottom right corner and then make the foreground and background colours on that square both the same:
Code:
mem[&B800:4000] := 0;
{ may have to diddle that second number a bit, I don't remember the exact formula, but it's two bytes per character on the screen, the second of which is colour, the two nibbles are fore and background. }
Posts: 1,752
Threads: 21
Joined: Jun 2002
I don't use Pascal, but this looks promising...
http://www.bsdg.org/swag/CURSOR/0004.PAS.html
Posts: 222
Threads: 23
Joined: May 2003
Quote:There's a memory hack to do it, and probably another command that I don't remember... but the easiest way by far is to just stick it in the bottom right corner and then make the foreground and background colours on that square both the same:
What I meant was that I have it flashing all over the place, I don't just want to hide it for a while. I'm drawing an array of 80x20 characters on the screen, and you can see the cursor blinking around as I move it to print the letters.
Quote: don't use Pascal, but this looks promising...
http://www.bsdg.org/swag/CURSOR/0004.PAS.html
Thanks. This looks good.
In a race between a rock and a pig, don't varnish your clams." -- "Dilbert"