So I'm stumped with making a fake cursor that actually has real-time speed. The mix of for loops and pxl(on commands that I've used haven't really met my specifications, so I was wondering if anyone knew of a code that just displayed a fake flashing cursor.
dont use for loops, you can probably use The checkTmr( Command to time the blinking. i'll get back to you with a code unless someone beats me to it
The Silver Phantom welcomes you
You're unlikely to pull off a fast enough Pure BASIC routine to make a fake cursor, although I have done one in Batlib Hybrid Basic that looked pretty good. I know I posted a thread on it awhile back. You might find it if you search hard enough.
EDIT: I found it :)
http://tibasicdev.wikidot.com/forum/t-616049
This code works great, however, I guess it's my fault for not making myself more clear. I was wondering if basically the same result would come if it were twisted to work for the graph screen. When it is enabled on the graph screen, it just goes to a cleared homescreen.
Both codes there are actually on the graph screen. In the code I had there, if you remove the ,56,4 from the first line, it won't erase the contents of the graph screen. Also, because of how BatLib's dim(99) command works, it never actually changes the calculators graphscreen/homescreen context. That means that if you are on the homescreen and you use dim(99), it temporarily displays the contents of the graphscreen on the homescreen. Pressing [2nd][mode] when you go back to the homescreen usually re-renders the homescreen.
But yeah, it is actually on the graphscreen, it just looks like the homescreen. If you want a cursor that looks more suited for the graph screen, using BatLib, just change the size of the rectangle to 4x6:
While 1
dim(29,0,4,0,6,2,99
For(A,1,180:End
End
Z80 Assembly>English>TI-BASIC>Python>French>C>0
Then in whatever case you might use this in, it's your job to deal with user input etc.
It's actually not even for user input. At the end of my fake clear memory program, when the text is displayed on the graph screen, the cursor is active. In order for the program to have the full effect, I needed the cursor. Thanks! Oh, and what's the difference between hybrid basic and normal basic?