Your Own Cursor

Clive Savage brings you an alternative if you are cursing that cursor

 

Issue 26

Mar/Apr 87

 

<< Prev Article

 

 

Do you want to enhance your programs by providing an alternative cursor? As well as a different shape, this program can give you a flashing cursor if you wish.

The effect is achieved by using Player 1 and the Vertical Blank Interrupt and you should have no problems in incorporating the routine into your own programs, providing they do not use similar routines. Note also that RAMTOP is moved down to provide a protected area, so be careful of this.

The shape of the cursor is determined by the DATA in lines 32664 and 32665 and follows the normal binary make- up of characters. You can alter this DATA to have any shape you wish.

Using the routine is simple. Just run it and use the console keys. START will change between the normal or special cursor, OPTION will change the shape of the cursor and SELECT will provide a flashing or steady cursor.

Have fun!

AtariLister - requires Java

top