Moving the MSX basic cursor with a mouse??

By Mafcase

Master (231)

Mafcase's picture

30-11-2004, 17:16

Hi there,

I was wondering if there is a Tool to move a cursor in MSX Basic.

What I mean is when programming a basic file it would be nice to move the cursor around with my mouse instead of these slow cursor-keys. (Guess I'm foolin'around to much in Windows... Wink

So NOT in a game or program but in MSX basic > Screen 0, width 80.

In 'the old days' I used to have a TSR called 'MOUSOR'
(not quite sure 'bout that name!

But... If I remember well this util worked only in 40 column mode.

Anybody???

grts,

..:: Mafcase ::..

Login or register to post comments

By NYYRIKKI

Enlighted (5425)

NYYRIKKI's picture

30-11-2004, 17:51

I haven't heard anything else but Mousor. Mousor can be found here: ftp://ftp.funet.fi/pub/msx/utils/memman/mousor.tsr

(Seems to be offline at the moment because of bad RAID)

By Mafcase

Master (231)

Mafcase's picture

01-12-2004, 05:51

Nyyrikki,

You are completely right! I've tried it and indeed it also works in screen 0 80 columns! Smile

Thnx!

By Sonic_aka_T

Enlighted (4130)

Sonic_aka_T's picture

01-12-2004, 15:35

Actually, mousor works in any screen/situation/whathaveyou. I simply reads the mouse input and 'converts' it to keyboard input. It'll work with anything that uses the BIOS to read the cursor keys...

By evulopah

Hero (661)

evulopah's picture

02-12-2004, 11:47

Nice nick...

By Sonic_aka_T

Enlighted (4130)

Sonic_aka_T's picture

02-12-2004, 19:11

Who? Nyyrikki? Tongue

By chpicolo

Rookie (30)

chpicolo's picture

09-08-2014, 23:22

Just a quick Google search and I found this:

10 COLOR 15,4,7:SCREEN 1:KEY OFF
20 XX=128:YY=96
30 SPRITE$(0)=CHR$(224)+CHR$(192)+CHR$(128)
40 S=PAD(12)
50 XX=XX+PAD(13):YY=YY+PAD(14)
60 XX=(XX+256) MOD 256:YY=(YY+192) MOD 192
70 PUT SPRITE 0,(XX,YY),15,0
80 LOCATE 0,0
90 PRINT XX,YY;" ";
100 GOTO 40

By NYYRIKKI

Enlighted (5425)

NYYRIKKI's picture

10-08-2014, 04:24

Oh yes...

It might be sad, but after 10 years I'm still here... @chipicolo Your program is fine, but it doesn't move cursor, but sprite.

By chpicolo

Rookie (30)

chpicolo's picture

10-08-2014, 06:59

Hummm...
Well... I found a link for a directory that looks as a mirror of that on FUNET.
Perhaps this can help?
ftp://8bitfiles.net/mirrors/www.msxarchive.nl/pub/msx/utils/...

But how can I use a TSR file?

By Lord_Zett

Paladin (807)

Lord_Zett's picture

10-08-2014, 09:59

chpicolo wrote:

Just a quick Google search and I found this:

10 COLOR 15,4,7:SCREEN 1:KEY OFF
20 XX=128:YY=96
30 SPRITE$(0)=CHR$(224)+CHR$(192)+CHR$(128)
40 S=PAD(12)
50 XX=XX+PAD(13):YY=YY+PAD(14)
60 XX=(XX+256) MOD 256:YY=(YY+192) MOD 192
70 PUT SPRITE 0,(XX,YY),15,0
80 LOCATE 0,0
90 PRINT XX,YY;" ";
100 GOTO 40

thats screen 1. you can use sprites on sc1 not on sc0 width 80

By NYYRIKKI

Enlighted (5425)

NYYRIKKI's picture

11-08-2014, 06:48

chpicolo wrote:

But how can I use a TSR file?

You need Memman. Look ie. here