Welcome, Guest. Please login or register.


Author Topic: EnterMice (Joy & PS/2 mouse interface) (Read 79359 times)

Offline gflorez

  • EP addict
  • *
  • Posts: 2664
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #255 on: 2015.October.19. 13:36:20 »
My two Entermice just arrived at work but my Enterprise is at home...

Looking at them in my hand they seem even more professional. I hope that soon every Enterprise owner can have one.
« Last Edit: 2015.October.19. 15:20:36 by gflorez »

Online Zozosoft

  • EP addict
  • *
  • Posts: 13523
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #256 on: 2015.October.19. 20:41:06 »
- It is working up to 10Mhz, with the original MOUSE.XR!
- It is working with SymbOS
- Very fine moving, much better than the original NEOS
I tested with one old ball mouse and one newer optical mouse, both work fine. Mouse hot plug also working :-)

Great work!!! Thanks!!!
:smt038 :smt038 :smt038

Offline pear

  • EP lover
  • *
  • Posts: 783
  • Country: pl
  • Z80 only
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #257 on: 2015.October.19. 20:51:58 »
No way! Immediately at the first time ?
Without any amendment ? Something is wrong ;)

Offline Bagpuss22

  • EP fan
  • *
  • Posts: 163
  • Country: gb
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Mozilla compatible Mozilla compatible
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #258 on: 2015.October.19. 22:17:35 »
No way! Immediately at the first time ?
Without any amendment ? Something is wrong ;)

By the sounds of it nothing is currently wrong!  Excellent work!

Offline gflorez

  • EP addict
  • *
  • Posts: 2664
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #259 on: 2015.October.20. 00:00:16 »
Ii is true, the movement is simply glorious on both Entermice and Boxsoft mode.  The two main keys also work perfect.

 I have to do a video about it, maybe tomorrow.

Offline pear

  • EP lover
  • *
  • Posts: 783
  • Country: pl
  • Z80 only
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #260 on: 2015.October.20. 06:50:53 »
By the sounds of it nothing is currently wrong!  Excellent work!
Relax :)
There are a few bugs to improve.
GFlorez professional approach to testing :)

Offline gflorez

  • EP addict
  • *
  • Posts: 2664
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #261 on: 2015.October.20. 10:44:06 »
You can check the alternate buttons and wheel with the "MOUSETST.BAS" simple program and the universal mouse driver.


Put the two files on a disc or on the f: partition if you have an SD-reader. First load the driver:

LOAD "MOUSE.XR"

Execute this EXOS command and ignore the error it gives:

:PB

Then RUN "MOUSETST.BAS"

As the driver is interrupt driven, even if you press STOP the arrow will move on the opened graphics screen if you slide the mouse.


The alternate buttons and wheel work on the two mouse modes if a wheel mouse is detected. They can be viewed on the second number that is printed on the screen, system var 190. First one is var 188, main button status.

I think the wheel works. About the buttons, they are read, but complemented.

On system var no. 190 you have:

Bits 0 to 3: Z displacement 7 to -8.
Bits 4 to 6: spare buttons status: 1=pressed, 0=released. Wheel button is on bit 4.
Bit 7: secondary main button. Status like the spare buttons.

Also, you can test the joystick mode with the basic program setting the 189 system var to 1:

0: internal joystick. Space is fire.
1: joystick port 1.
2: joystick port 2.
3: Boxsoft mouse mode.
4: Entermice mouse mode.
5: Mouse Systems serial mode(a serial card expansion is needed). It is merged  with the internal joystick readings.
6: Future Microsoft serial mode. In development.


The driver has by default the system var no. 189 set to 4= Entermice, so add a line in the basic program to set it as you need: SET 189, x.

Or press STOP, set the variable and execute CONTINUE.
« Last Edit: 2015.October.20. 11:19:58 by gflorez »

Offline gflorez

  • EP addict
  • *
  • Posts: 2664
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #262 on: 2015.October.20. 11:52:44 »
One of the reasons why Entermice is different to Boxsoft is to avoid errors with some programs that read port 1 expecting a Joystick, not a mouse.

For example the port of Manicminer, that reads and mix the three joysticks and keyboard all at once. With a Boxsoft interface connected you must unplug the mouse to be able to play it with the internal joystick as, if not, the miner jumps forever.

Entermice reads the mouse on other unused lines and so Manicminer works perfect without being interfered.
« Last Edit: 2015.October.20. 12:09:48 by gflorez »

Offline pear

  • EP lover
  • *
  • Posts: 783
  • Country: pl
  • Z80 only
  • OS:
  • Unknown Unknown
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #263 on: 2015.October.20. 12:24:41 »
With disabled MOUSE.XR EnterMice is silent even on KB J lines. You can try :)

Online Zozosoft

  • EP addict
  • *
  • Posts: 13523
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #264 on: 2015.October.20. 12:58:41 »
With disabled MOUSE.XR EnterMice is silent even on KB J lines. You can try :)
This is why the green led not light at the power up? Mouse only activated when the first strobe sent out?

Offline gflorez

  • EP addict
  • *
  • Posts: 2664
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #265 on: 2015.October.20. 13:10:06 »
You think on all....

Offline gflorez

  • EP addict
  • *
  • Posts: 2664
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #266 on: 2015.October.20. 13:23:35 »
I've tested Joystick mode with the basic program, still not with a game, and it acts very smooth. I had to test the resolution.

Offline pear

  • EP lover
  • *
  • Posts: 783
  • Country: pl
  • Z80 only
  • OS:
  • Unknown Unknown
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #267 on: 2015.October.20. 13:24:59 »
This is why the green led not light at the power up? Mouse only activated when the first strobe sent out?
This is just a bug :)
I already corrected it.
At evening I'll send to you new firmware with amendments.

Offline gflorez

  • EP addict
  • *
  • Posts: 2664
  • Country: es
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #268 on: 2015.October.20. 18:00:07 »
Meanwhile I have modified one of my Entermice:

Now the switches are visible.

Offline pear

  • EP lover
  • *
  • Posts: 783
  • Country: pl
  • Z80 only
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 41.0 Firefox 41.0
    • View Profile
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #269 on: 2015.October.20. 18:02:33 »
Nicely.
Although in my opinion there is no need for frequent switching.
Only between mouse and joystick mode.