Here's a tip: LOCATE only works in the console screen. In your case you might want to look up GPUTCHR which works on the graphics screen and doesn't limit text placement to the small grid the console screen has.