Jump to content
IGNORED

"Standard" mouse for Atari 8-bit


Urchlay

Recommended Posts

I know there's not really such a thing, but... if I were thinking of writing a game that can use a mouse, what type(s) of mouse would I need to support?

 

I know of the ST mouse, and there used to be a thing called the Rat, and I suppose there's no reason you couldn't hook a PC serial mouse to your 850... and I suppose the MicroUSB project supports USB mice (or will, if it doesn't yet).

 

What do people actually have, though?

Link to comment
Share on other sites

Amiga or ST mouse is best.

 

But they aren't quite interchangable. The assignment of the axes is different IIRC - but all that means is a little bit of extra program code.

 

A PC serial or even USB mouse would be a bit pointless because hardly anyone would have the necessary interface to use it.

Link to comment
Share on other sites

Howdy folks

 

IIRC if you connect an Amiga mouse to an ST, the cursor will move to the left if you move the mouse to the right and vice versa. The rest should be the same.

 

John Maris wrote a nice piece of code for reading out the mouse, check out my Special Stuff page for MOUSE.ARC and MOUSEINT.ARC on the bottom of the paragraph you are directly linked to.

 

If you want to use the right button on your Atari mouse, make sure you also look at STM18BIT.TXT.

 

Greetings

 

Mathy

Link to comment
Share on other sites

A PC serial or even USB mouse would be a bit pointless because hardly anyone would have the necessary interface to use it.

 

Well, that's why I was asking about the serial mouse (the USB was more of a blue-sky idea). Pretty much everyone has some sort of serial interface (850, PR connection, etc) for their Atari, so for all I knew, the serial mouse might have been a good idea :)

Link to comment
Share on other sites

... and I suppose the MicroUSB project supports USB mice (or will, if it doesn't yet).

 

Yes, a generic Mouse Driver is available:

 

http://www.strotmann.de/twiki/bin/view/Mic...BCartAtariMouse

 

 

Here is my version of a Mouse Driver for the Atari ST Mouse (Assembler, for Basic and ACTION!)

 

http://www.strotmann.de/twiki/bin/view/APG...ardwDriverMouse

 

 

Carsten

Edited by cas
Link to comment
Share on other sites

Atari and Amiga mice seem to be "standard", and because the Atari is an Atari, ST mice are usually the best bet. Before the Amiga, Commodore made two different types of mice. One is basically like a joysitck, the other is even more unsusal, it's like a pair of paddles, one for X, one for Y. There are problems with both, the first, there's no way to tell the computer how fast the mouse is moving, just which direction it's going. The second, you can only move so far until the mouse stops responding in that direction. That's fine for a cursor I guess, but that interface never caught on anyway so it's probably pointless to support. I thought of a serial mouse too ages ago, but there's almost no software support and unless you have an 850, your only serial port is gone. I found a nice trick for using a PC mouse on the Atari, though. Buss mice use the same protocol as Atari and Amiga mice, just a different connector. I was able to buy a female DIN connector at the local electronics store (it's not as weird as I would have thought) and wired up an adaptor for the Amiga and another for the Atari. Buss mice are a little tricky to find anymore but hardly anyone wants them so they're usually cheap. I've got a bag full of Logitek and Microsoft mice which both work great, and the Logitek mice are 3 button too! I put all the pinout info on my website:

 

http://www.rdrop.com/~dano/pc/busmouse.html

Link to comment
Share on other sites

I'm fairly sure that converting ST and Amiga mice to work on the opposing machine is just a simple case of reassigning the 4 directional wires.

 

One of the advantages of the Amiga mouse IMO was better ergonomics, but both were pretty shocking by modern standards.

 

Although, Apple mice up until the mid-1990s or so were just door-chocks with a button.

Link to comment
Share on other sites

One of the advantages of the Amiga mouse IMO was better ergonomics, but both were pretty shocking by modern standards.

 

exactly and that's why I prefer my modern optical USB mouse connected to the MicroUSB cartdrige. It's extremely precise, very fast and you can use all mouse buttons easily. The driver is ready to use and indeed very simple to include in projects.

 

My bet is: whenever there is a GUI driven A8 tool please consider supporting the USB cart! thx!!

 

\thomas

Link to comment
Share on other sites

It seems like everyone has used a PM sprite for the pointer...I have a C mouse driver that uses a character as the 'pointer'. I can post if anyone's interested.

 

that's quite interesting. especially in gr.0 I always thought that the chunky P/M mouse doesn't really fit into the UI. So you change the character set accordingly, don't you?

 

\twh

Link to comment
Share on other sites

No. The character is selectable, I usually use the inverse blank. The routine saves and restores the character underneath as the 'pointer' travels around. You could certainly redefine a more pointery char graphic, but the routine would still move it around in character resolution. I just didn't see the point of having a pixel addressable pointer if all you are going to work with was text screens. Since I use it to drive character mode interfaces rather than, say, a drawing program, it worked well for me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...