LOCATE x, y
Positions the cursor to a location in pixels and the next PRINT command will place its output at this location. Only affects the video output.
LOCATE example output.
1 2 3 4 5 6 7 8 9 |
MODE 3 CLS FOR a = 1 to 80 LOCATE RND()*480,RND()*432 COLOR RND()*6+1 PRINT "Hi Mom!" NEXT a |
VGA screen resolution is 480 horizontal by 432 vertical in modes 1-3, and 240×416 in mode 4. PAL composite is 304 by 216 and NTSC composite is 304 by 180.
See also:
BLIT
CIRCLE
CLR$
CLS
COLOR
LINE
MM.HPOS
MM.HRES
MM.VPOS
MM.VRES
MODE
PIXEL
POS
PRESET
PRINT @
PSET
SCANLINE
SPRITE
RE: CURSOR X,Y
hi. I am a little disoriented. Having fun with my new Retro this weekend. For several weeks before purchase I had been using MMBASIC dos version. I wrote several programs using the ‘ CURSOR x,y ‘ command. Seems like that didn’t make the cut for this BASIC.
Is there a replacement command. Does this machine have an “80 x 24 text mode” or is it always in a bitmap state.
The CMM2 VGA screen is always a bitmap.
With the right combination of screen mode and font 80×24 is doable.
You would need to use a subroutine to locate characters at appropriate
screen locations.