Moving the MSX basic cursor with a mouse??

Por Mafcase

Master (256)

Imagen del Mafcase

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 sesión o register para postear comentarios

Por NYYRIKKI

Enlighted (5976)

Imagen del NYYRIKKI

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)

Por Mafcase

Master (256)

Imagen del Mafcase

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!

Por Sonic_aka_T

Enlighted (4130)

Imagen del Sonic_aka_T

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...

Por evulopah

Paladin (669)

Imagen del evulopah

02-12-2004, 11:47

Nice nick...

Por Sonic_aka_T

Enlighted (4130)

Imagen del Sonic_aka_T

02-12-2004, 19:11

Who? Nyyrikki? Tongue

Por chpicolo

Resident (33)

Imagen del chpicolo

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

Por NYYRIKKI

Enlighted (5976)

Imagen del NYYRIKKI

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.

Por chpicolo

Resident (33)

Imagen del chpicolo

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?

Por Lord_Zett

Paladin (807)

Imagen del Lord_Zett

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

Por NYYRIKKI

Enlighted (5976)

Imagen del NYYRIKKI

11-08-2014, 06:48

chpicolo wrote:

But how can I use a TSR file?

You need Memman. Look ie. here