Page 1 of 2

EO-X 3.5

Posted: Fri Jan 13, 2012 2:50 pm
by sirmorris
Hi all,

following a number of requests for ZXpand joystick support in EO here is the latest build.

See the readme and changes for new info.

ZXpand joystick support has meant that the number keys on the keypad no longer produce character codes in num-lock mode. Instead the 8,4,6,2 keys produce the joystick direction inputs. Multiple keys are recognised so diagonals are possible**. Key 0 is fire. Support is also included for a windows game device stick. I've only tested it with digital sticks.

There are a few 16K titles included on the supplied card image, all of which have ZXpand/joystick/sound support in some form or other.

If you have any issues then please yell.

Enjoy!

Charlie

** In fact I've just realised you can press up & down, left & right or in fact all 4 directions together - something which is not possible with a real joystick. I'll fix it in the next DLL release so that the keypad cannot produce illegal direction combinations.

Re: EO-X 3.5

Posted: Fri Jan 13, 2012 3:01 pm
by Paul
Great!
Thank you so much! This will make testing much easier!
Regards
Paul

Re: EO-X 3.5

Posted: Fri Jan 13, 2012 3:13 pm
by PokeMon
sirmorris wrote:Hi all,

following a number of requests for ZXpand joystick support in EO here is the latest build.
I didn't know before that EO came from you kitchen. Respect and congratulation to this great emulator. 8-)

Re: EO-X 3.5

Posted: Fri Jan 13, 2012 3:25 pm
by sirmorris
I'm only hacking stuff into the main body of code as created by Mighty Mike Wynne. He is the force behind the emulator. I'm just playing with it ;)

Re: EO-X 3.5

Posted: Fri Jan 13, 2012 3:29 pm
by PokeMon
Ah okay. ;)

Re: EO-X 3.5

Posted: Sun Feb 12, 2012 10:31 pm
by lengro
SirMorris,

any chance something similar can be done with the Lambda 8300 emulation in EightyOne?

The Lambda has an inbuilt joystick port (Atari compatible), and if I run the following code on my real Lambda:

10 print at 0,0;peek(16421)
20 goto 10

- it outputs the values of the joystick port. They are as follows:

11111111 = 255 = NoAction
11111101 = 253 = JoyRight
11111011 = 251 = JoyDown
11110111 = 247 = JoyUp
11101111 = 239 = JoyLeft
11011111 = 223 = JoyFire

Multiple bits can be cleared for diagonal movement, so for example: JoyUp + JoyLeft + JoyFire gives:
11000111 = 199 (This is verified on my real Lambda)

I would love to see the joystick port work in EightyOne!

Re: EO-X 3.5

Posted: Mon Feb 13, 2012 12:18 am
by sirmorris
Sounds easy enough - I'll put it in the next release.

:)

Re: EO-X 3.5

Posted: Mon Feb 13, 2012 12:50 am
by lengro
Wow - thank you very much for your effort Sir - fingers crossed that you'll succeed! It will make me very happy :D

Re: EO-X 3.5

Posted: Tue Feb 14, 2012 4:15 pm
by sirmorris
I should learn that things which sound easy never are ;)

I've wired the joystick to the keyboard using the schematic drawn up by Kai Fischer. Unfortunately it doesn't work :¬. EO shows incorrect values for the key presses.

From the schematic it appears that UP is on A11, DOWN on A10, LEFT on A12 and RIGHT on A9, with the common connection on KB3 / D3. Unless there's something funky in the ULA or the mapping in EO then I don't know how to proceed :¬(

C

Re: EO-X 3.5

Posted: Tue Feb 14, 2012 7:31 pm
by lengro
No worries SirMorris - and thank you very much for the time you spend trying!

I visit this forum from time to time, maybe someday you or another, have found a way to make the Lambda joystick work.

Or - hopefully - Mike Wynne eventually will return, and continue to develop his excellent emulator. :D