EO-X 3.5

Emulator and emulator development specific topics
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

EO-X 3.5

Post 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.
Attachments
EO-X.zip
(1.58 MiB) Downloaded 358 times
Last edited by sirmorris on Fri Jan 13, 2012 3:27 pm, edited 1 time in total.
User avatar
Paul
Posts: 1511
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: EO-X 3.5

Post by Paul »

Great!
Thank you so much! This will make testing much easier!
Regards
Paul
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: EO-X 3.5

Post 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-)
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: EO-X 3.5

Post 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 ;)
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: EO-X 3.5

Post by PokeMon »

Ah okay. ;)
lengro
Posts: 5
Joined: Thu Oct 20, 2011 10:46 pm

Re: EO-X 3.5

Post 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!
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: EO-X 3.5

Post by sirmorris »

Sounds easy enough - I'll put it in the next release.

:)
lengro
Posts: 5
Joined: Thu Oct 20, 2011 10:46 pm

Re: EO-X 3.5

Post by lengro »

Wow - thank you very much for your effort Sir - fingers crossed that you'll succeed! It will make me very happy :D
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: EO-X 3.5

Post 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
lengro
Posts: 5
Joined: Thu Oct 20, 2011 10:46 pm

Re: EO-X 3.5

Post 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
Post Reply