Welcome, Guest. Please login or register.


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

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #495 on: 2018.December.30. 09:11:47 »
The Xillinx chip was able to be programmed, but the interface still did not work properly.
CPLD is completely damaged. After replacing it, everything returned to normal.
I don't know why CPLD could have been damaged.
Power supply is correct, all other elements are functional.
Curiosity.

Offline Povi

  • EP addict
  • *
  • Posts: 2296
  • Country: hu
    • http://povi.fw.hu
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #496 on: 2019.February.14. 21:30:06 »
Pear, did your Genius mouse arrived? I am very exciting, if it works at you :-)
*** Speicherplatz zu klein

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #497 on: 2019.February.15. 07:02:01 »
Finally it arrived yesterday.
I've got a big luck to shopping :( Two weeks of waiting :evil:
Testing at the weekend.
« Last Edit: 2019.February.15. 07:13:19 by pear »

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #498 on: 2019.February.17. 08:56:59 »
I can confirm. The Genius DX-110 mouse does not work with EnterMice. For now ;)
Sometimes only one button can be read. Nothing more.
I wonder what is the inaccuracy in the protocol used in this mouse.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #499 on: 2019.April.07. 11:46:02 »
The Xillinx chip was able to be programmed, but the interface still did not work properly.
CPLD is completely damaged. After replacing it, everything returned to normal.
I don't know why CPLD could have been damaged.
Power supply is correct, all other elements are functional.
Curiosity.
After a few days of use, the error repeated itself. Exactly the same.
The LDO stabilizer is probably defective.
Although it provides the correct voltage during normal operation, it can cause a overvoltage pulse when switching on the power.
I will change it and check again if it will be good this time.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14722
  • Country: hu
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #500 on: 2019.April.16. 11:55:27 »
I can confirm. The Genius DX-110 mouse does not work with EnterMice. For now ;)
You find a solution?

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #501 on: 2019.April.16. 12:56:35 »
Not yet.
Too much work.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #502 on: 2019.May.15. 06:08:47 »
The Xillinx chip was able to be programmed, but the interface still did not work properly.
CPLD is completely damaged. After replacing it, everything returned to normal.
I don't know why CPLD could have been damaged.
Power supply is correct, all other elements are functional.
Curiosity.
One puzzle solved.
Poor contact on the supply from the edge connector.
The power supply is taken from two contacts from two connectors.
Both had a weak contact :shock:
Minimal chance of such a fault.
And yet it hit.

Offline Tuby128

  • EP addict
  • *
  • Posts: 1448
  • Country: hu
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #503 on: 2022.January.10. 01:23:25 »
Now I know that the control 1 (joystick) port has 5 strobe and 3 read signal, which gives 15 bits input.
Long time ago I tested the Entermice only in basic with the JOY(1) command. That time it gave me the info of the direction, not the distance.

 The question is, does the Entermice use the other input signals as well to tell a distance? I am curious because after 15 min searching I did not find any information of the protocoll it uses.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #504 on: 2022.January.10. 15:17:20 »
EnterMice is downward compatible to the BoxSoft protocol.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #505 on: 2022.January.10. 17:00:06 »
And the Boxsoft protocol comes from the MSX mouse protocol.

If you want information, first of all read the EnterMice wiki.

Once read, you can follow with how the Boxsoft mouse interface was studied and cloned.

Then, you can end with how Pear created the EnterMice .

Once done, if you still have any question, I can answer all your remaining doubts.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #506 on: 2022.January.10. 17:07:35 »
Ok, ok, but if you only want to know strictly that.... the data received is a relative movement from the last reading on 8bit two's complements, first X coordinate, then Y, then software buttons, then the wheel.

So the program needs to maintain the actual coordinates of the pointer and add the received relative movement, usually every 1/50 sec.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #507 on: 2022.January.10. 17:22:00 »
A Basic program is very slow to read the Mouse every 1/50 sec.... so the Boxoft driver can be used.

It maintains a pointer driven by interrupts, so your Basic program only needs to ask some system variables to know the coordinates, the buttons pressed and the wheel status. All is explaineded on the EnterMice wiki. 

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #508 on: 2023.November.05. 10:07:52 »
I shared the project https://github.com/maciejgruszecki/EnterMice
You can build your own interface or improve the existing one.
Enjoy.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14722
  • Country: hu
    • http://enterprise.iko.hu/