Welcome, Guest. Please login or register.


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

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #195 on: 2015.September.01. 21:26:11 »
Tomorrow I'll check.

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #196 on: 2015.September.01. 21:33:20 »
Exos is constantly checking Stop or Hold keys. May be one of  them are on the same row(kb9) and interferes?
« Last Edit: 2015.September.01. 21:46:48 by gflorez »

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #197 on: 2015.September.01. 21:43:44 »
No, I answer myself directly, they are on row kb7.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #198 on: 2015.September.07. 18:49:10 »
What happen with this?
120   FOR I=5 TO 9
Or:
120   FOR I=9 TO 0 STEP -1
It's strange.
No need to set '9' to the port 181.
Just tilt Joy2 to the right and are already interference.
Does not matter, waste of time, because the cause has been identified.
Now I have to do firmware for PS/2 mouse.

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #199 on: 2015.September.17. 21:12:37 »
I returned today from work a little bit tired and I didn't had have the strength to write the firmware yet.
But to no one said that I do not do anything, I made a few interfaces.
There left still 15.
Assembling one takes about an hour.

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #200 on: 2015.September.17. 21:16:05 »
Good to see them ! :)
Z80 System

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14723
  • Country: hu
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #201 on: 2015.September.17. 21:26:28 »
Great! :ds_icon_cheesygrin:

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #202 on: 2015.September.17. 22:23:35 »
One hour only! I can'tbelieve it....

It's amazing how you take advantage of your little time....

Offline Ep128

  • EP addict
  • *
  • Posts: 1849
  • Country: hu
    • Honlapom
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #203 on: 2015.September.17. 22:42:28 »
Nice! :-)

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #204 on: 2015.September.17. 22:51:05 »
One hour only! I can'tbelieve it....

It's amazing how you take advantage of your little time....
One hour per one interface. Is it a little ?

Offline Bagpuss22

  • EP fan
  • *
  • Posts: 167
  • Country: gb
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #205 on: 2015.September.17. 23:06:09 »
Fantastic work..

Offline gflorez

  • EP addict
  • *
  • Posts: 3607
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #206 on: 2015.September.17. 23:38:33 »
I don´t know, I would take days....

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #207 on: 2015.September.18. 06:27:51 »
When you do a single interface, one hour seems to be a little.
When their doing 20, it becomes eternity ;)

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #208 on: 2015.September.27. 19:49:41 »
The project comes to an end.
I thought that you might want to verify whether the assumptions were met.
In the attachments are connection matrix and destiny of dip switch and LEDs (based on existing ideas in this thread).

Soon I finish assembling all the tiles of the first batch of the interface.
Today, it dawned on me and I started to rewrite the new firmware.
Instead of creating delay loops, calculate pointless delay times and wasting resources MCU, the new firmware will be worked exclusively on the events.
PS/2 mouse will be supported in Remote Mode. It is true that the MCU doing well with Stream Mode, but it isn't necessary :)
Knowing the frequency of mouse readings (50 Hz) can be read only once per IRQ (ahead counting from the previous interrupt).

Testing a little delayed, but I hope that the new solution will be fewer emergency and most importantly, totally independent of the clock frequency of the Z80 (up to 10 MHz).

This is the last moment to reflect changes in the software, so please any attention (relative to the initial assumptions).

Offline Z80System

  • EP addict
  • *
  • Posts: 3848
  • Country: hu
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #209 on: 2015.September.27. 20:27:54 »
Probably I do not understand the tables, yet.

Do these tables mean that there will be support for 3 joystick buttons ?

If there will be multi button support, what will be the pinout of the joystick socket(s) of the board ? Equal to "Atari" joystick socket ? Does Atari joystick socket support multi button joys ?
Z80 System