Welcome, Guest. Please login or register.


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

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #30 on: 2015.May.31. 16:41:06 »
PCB project is ready. Enough for today.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14776
  • Country: hu
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #31 on: 2015.May.31. 16:45:33 »
The jumpers what will do? Select joystick/mouse mode for the mouse?

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #32 on: 2015.May.31. 16:58:13 »
This 2-pin jumper at this moment for anything. Was left one free pin in the PLD.
Jumper 3-pin is MCU RESET. As the microcontroller can be used Atmel 89Cx051 or AVR2313/ATtiny2313/4313. The first is reset 1s, second 0s. Therefore, 3 pins.
And finally, the 10-pin connector, the JTAG (Altera style) for PLD programming.
« Last Edit: 2015.May.31. 17:12:30 by pear »

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14776
  • Country: hu
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #33 on: 2015.May.31. 17:32:49 »
Joystick emulation with mouse will possible?

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #34 on: 2015.May.31. 18:00:12 »
What exactly do you mean ?
Mouse movement would cause shorting a joystick contacts depending on the direction of movement ?
This could be possible, but by the software on MCU.

Offline Mobsie

  • Beginner
  • *
  • Posts: 27
  • Country: de
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #35 on: 2015.May.31. 18:40:36 »
i order 2:)

Offline gflorez

  • EP addict
  • *
  • Posts: 3615
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #36 on: 2015.May.31. 18:53:02 »
Now an exhaustive description of the connections:

On the Control connectors you have:  
     A1 : Keyboard J (Common)      B1 : OV
     A2 : Keyboard L                    B2 : Keyboard K
     A3 : nc                                       B3 : nc
     A4 : KB4/9 (Right)                 B4 : +5V
     A5 : KB2/7 (Down)                B5 : KB3/8 (Left)
     A6 : KB0/5 (Fire)                   B6 : KB1/6 (Up)

Then this graphic shows the combinations:
« Last Edit: 2015.June.01. 01:38:59 by gflorez »

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14776
  • Country: hu
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #37 on: 2015.May.31. 18:55:12 »
Mouse movement would cause shorting a joystick contacts depending on the direction of movement ?
Yes. And shorting time is depend from the moving speed.

Offline gflorez

  • EP addict
  • *
  • Posts: 3615
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #38 on: 2015.May.31. 19:03:45 »
Of course on the Serial port the only connection is A3/RTS------>Mouse/ STROBE

Offline gflorez

  • EP addict
  • *
  • Posts: 3615
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #39 on: 2015.May.31. 19:11:26 »
Joystick mode can be made on the MCU, I think. Pear has the Arduino Script and the Atmel code, and both have a joystick mode.

The next question is how to select the mode with a joystick movement, button or click.......

Offline pear

  • EP lover
  • *
  • Posts: 825
  • Country: pl
  • Z80 only
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #40 on: 2015.May.31. 19:30:43 »
... or another jumper. The MCU have yet a few free ports.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14776
  • Country: hu
    • http://enterprise.iko.hu/
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #41 on: 2015.May.31. 19:43:51 »
The MCU have yet a few free ports.
Then possible resolution setting? With 2 inputs 4 levels can be used.

Offline gflorez

  • EP addict
  • *
  • Posts: 3615
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #42 on: 2015.May.31. 20:00:59 »
Resolutions? They aren't so important with the Enterprise resolutions. All Ps/2 mouses I've tested have accuracy. Only that the oldest have slower movement.

Offline gflorez

  • EP addict
  • *
  • Posts: 3615
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #43 on: 2015.May.31. 20:18:42 »
... or another jumper. The MCU have yet a few free ports.

I think that a sequence of movements or buttons is more neat than switching off the computer to change a jumper...

May be pressing a real switch on real time?. Only a pulse and it is on joystick mode... Another pulse and you are again in mouse mode.
« Last Edit: 2015.May.31. 20:22:15 by gflorez »

Offline gflorez

  • EP addict
  • *
  • Posts: 3615
  • Country: es
    • Támogató Támogató
Re: EnterMice (Joy & PS/2 mouse interface)
« Reply #44 on: 2015.May.31. 20:25:21 »
Longer pulses for other purposes, like on the Spectrum Interface 1 bis