basicapple-ii

Applesoft Basic, how to hide the flashing cursor?


I’ve finally decided to build a monthly budget program for an Apple //e, coming along nicely. Right now I’m using the AppleWin emulator.

Anyone know how to hide the cursor in Applesoft Basic? I was thinking of either hiding it using a Poke or change the cursor character to a blank space?

I know that VisiCalc does this, when you load the program, there is no flashing cursor until you begin editing. I want to do this same feature in my program.

Note: I don’t want to do it through the emulator as I will eventually move this to Apple hardware.


Solution

  • I found a solution for this here. Terminal control/Hiding the cursor.

    I was able to hide the cursor using the WAIT command, then grab the next character with GET.

    WAIT 49152, 128
    GET I$
    

    More examples here: Applesoft Basic Examples