Jump to content

Photo

Geneve BUS Mouse Adapter


37 replies to this topic

#26 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Apr 23, 2019 12:10 PM

 

or use the pinout the mice i have a bunch of :) and that you have one

 

I have verified the mouse you sent does not have all of the pins hooked up (8 out of 9).  The mouse is a proprietary hardware mouse.  I plan on trying to verify which one I am missing on that mouse.  I know which are the buttons already.  Just need to determine which is for X1, X2, Y1 and Y2.  


Edited by Shift838, Tue Apr 23, 2019 12:11 PM.


#27 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Sun Apr 28, 2019 1:37 PM

So it does not look like the Headstart Explorer bus mouse has any type of requirement for 5v.  I have jury rigged a connector with the correct pin assignments for movement and buttons, but the Geneve does not recognize anything from the mouse.  Even though I found the wiring diagram for this mouse on the internet I verified with a ohm meter of what pin was used for buttons and direction.  Still no go with this one.

 

I have another idea.  post something when I know more.



#28 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Mon Apr 29, 2019 8:43 PM

Since I have had bad luck with purchasing a working BUS mouse and since there are so many BUS mice that are proprietary an with the limited standard PC BUS mouse in the market coupled with some high prices I decided to pursue a PS/2 mouse and coded a ATMEGA328 to translate the PS/2 mouse signals.  After a couple of hours of coding I now have a working PS/2 mouse hooked up to the Geneve!  All 3 buttons work as well as movement.  i purchased the mouse off of Amazon for $7.00.

 

I have only tested in CYA with the mouse test option.

 

So for all you Geneve mouse guys out there,  what other programs can I test for mouse functionality.  I found a program in Advanced Basic manual that calls the mouse routines but I get sub program not found with the program in Advanced Basic 4.05.

 

I need to draw it all out on paper before I forget it.  Post more later.  



#29 BeeryMiller ONLINE  

BeeryMiller

    Dragonstomper

  • 954 posts
  • Location:Campbellsburg, KY

Posted Tue Apr 30, 2019 4:58 AM

There is the mouse driver kit by Bruce Hellstrom that would give it a good workout, however I am not sure if the subsequent MDOS updates still have the hook into the OS he was using.  Myart would be a good test as well.

 

Beery



#30 Nick99 ONLINE  

Nick99

    Star Raider

  • 97 posts

Posted Tue Apr 30, 2019 2:04 PM

I use Y.A.P.P. a lot, so that would be great to know if it works.



#31 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Apr 30, 2019 8:50 PM

I use Y.A.P.P. a lot, so that would be great to know if it works.

 

What is the latest version of Y.A.P.P ?



#32 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue Apr 30, 2019 8:55 PM

I have tested the mouse with MyArt.  I'm not  a MyArt user, in fact this was probably the first time I have ever ran it!

 

It all worked.  

 

For you MyArt Users please verify the below so I can be sure my buttons are hooked up correctly.

 

I'm a right handed person so:

 

Left Button Draws

Right Button Brings up the color palette selector

 

let me know what the middle button is supposed to do.


Edited by Shift838, Tue Apr 30, 2019 8:56 PM.


#33 Nick99 ONLINE  

Nick99

    Star Raider

  • 97 posts

Posted Sat May 4, 2019 6:10 AM

 

What is the latest version of Y.A.P.P ?

 

 

I don´t know if there are any newer than ver.0.71, that´s the version of YAPP that I use.



#34 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue May 7, 2019 8:15 PM

 

 

I don´t know if there are any newer than ver.0.71, that´s the version of YAPP that I use.

 

i downloaded a version, but i get an error on one of the files.



#35 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Tue May 7, 2019 8:25 PM

so after quite a bit of testing, i believe I have a stable version.  Went to PS/2 as I stated in earlier postings.

 

I had to figure out a few bugs in my code, it seems to be working well.  I have tested it with Insane's mouse tester as well as MyArt.  All the buttons are mapped correctly.

 

I had to add some circuitry for the ATMEL chip i'm using. 

 

Right handed or left handed selectable as well.

 

I'll be doing some triple checking and a bit more testing before I send it off for a few test boards.  Once I verify the test boards I will be offering it boards up for a pre-order purchase on my store just as I did for the SCART Genie boards.

Attached Files


Edited by Shift838, Wed May 8, 2019 8:27 PM.


#36 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Wed May 8, 2019 8:28 PM

updated board render.  changed the layout a bit.  putting in the test board order tonight.



#37 Shift838 OFFLINE  

Shift838

    River Patroller

  • Topic Starter
  • 2,586 posts
  • SHIFT838
  • Location:Deer Park, Texas

Posted Fri May 17, 2019 6:19 PM

I got an alert this afternoon that my prototype boards have been shipped.  I'm heading out of town Sunday so by the time I get back they should be here.



#38 mizapf OFFLINE  

mizapf

    River Patroller

  • 3,667 posts
  • Location:Germany

Posted Sat May 18, 2019 5:51 AM

Do you know at which rate the mouse is polled? I'd like to know it in order to improve the mouse emulation in MAME for the Geneve. Currently, in MAME the mouse is polled at every video interrupt (60 Hz), which I believe is not correct; the rate must be much higher.

 

In fact, the mouse emulation has some glitches - it only works as long as the video interrupt is enabled. This includes the left button, which is sensed by the 9901, not by the v9938. I noticed that in the real system there are only two lines per axis, so I'd suspect that they carry values like 0, +1, -1 (while in MAME, values in the 8-bit range are sensed). But this does not suffice when polled at 60 Hz, because the mouse would need at least 4 seconds to travel from left to right (256 columns, move up to 60 columns per second).

 

I could not find this (actually quite important) information in the v9938 specification document.






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users