Using a Mayflash MD USB Adapter with Spectaculator on Windows 10
First, plug the Mayflash MD USB Adapter into a USB port and let Windows do it's thing...
Then plug a Atari 9 pin D connector joystick into the left hand port on the Mayflash MD USB Adapter.
![33098164062_e0e4d9ba67_b.jpg]()
Mayflash MD USB Adapter
Go to Control Panel - then Hardware and Sound - then Devices and Printers.
![32444606823_4cba73d590_o.png]()
001 Control Panel - Hardware and Sound - Devices and Printers
And it should show up :-)
Check the settings...
![33103276722_ecd6875964_o.png]()
002 Settings 1
![33103276592_73334bc3b5_o.png]()
003 Mayflash MD USB Adapter properties
Operate the joystick...
![33103275652_e6237fa492_o.png]()
004 Settings - fire pressed
![33103275472_84d6fbb230_o.png]()
005 Settings - left
![33103275352_99a22589a8_o.png]()
006 Settings - right
![33103275162_820a4bc61f_o.png]()
007 Settings - up
![32444605643_c267e86f97_o.png]()
008 Settings - down
Now open Spectaculator and select Kempston as the wanted Joystick.
![33103274892_96fbfc857e_o.png]()
009 Select Kempston Joystick
From the Tools menu, select Options.
![32444605273_97f4ce71b2_o.png]()
010 From the Tools menu, select Options
![32444605143_4112d16f60_o.png]()
011 Options
Click Joystick.
![32444605063_8583d9fde1_o.png]()
012 Options click Joystick
Click Change Button Mappings.
![33103274032_4b9e50238c_o.png]()
013 Click Change Button Mappings
Operate each joystick function.
![33103273702_0ac0a4bbc8_o.png]()
014 Operate the joystick function, in this case the Fire button
If the function is not correctly displayed, operate the function again until the correct details are shown.
![33217716126_2ba8c766a6_o.png]()
015 Operate the joystick function continued, if the function is not correctly displayed, operate the function again
Note that in the button settings, the system treats the joystick directions as buttons.
If the same function is listed twice, the virtual Spectrum will receive the wrong joystick information. So instead, program the unwanted function as a key on the keyboard.
This is a simple test program. It prints the value returned from the (virtual) joystick interface on screen. Check the returned values are correct.
![33217715966_1433e6963c_o.png]()
016 Simple Kempston Joystick Tester
This is a more complex test program. By using the joystick, you can move the asterisk around the screen. The fire button changes the border colour to red when pressed.
Note that there is no error handling if you try to go off screen!
![33103272852_2cc5eb121c_o.png]()
017 Kempston Joystick Test program part 1
![33103272512_566fd5fec3_o.png]()
018 Kempston Joystick Test program part 2
I hope this helps. If not, you know what to do (i.e. use the default error handing routine - bash head against nearest wall :P )
Mark
First, plug the Mayflash MD USB Adapter into a USB port and let Windows do it's thing...
Then plug a Atari 9 pin D connector joystick into the left hand port on the Mayflash MD USB Adapter.

Mayflash MD USB Adapter
Go to Control Panel - then Hardware and Sound - then Devices and Printers.

001 Control Panel - Hardware and Sound - Devices and Printers
And it should show up :-)
Check the settings...

002 Settings 1

003 Mayflash MD USB Adapter properties
Operate the joystick...

004 Settings - fire pressed

005 Settings - left

006 Settings - right

007 Settings - up

008 Settings - down
Now open Spectaculator and select Kempston as the wanted Joystick.

009 Select Kempston Joystick
From the Tools menu, select Options.

010 From the Tools menu, select Options

011 Options
Click Joystick.

012 Options click Joystick
Click Change Button Mappings.

013 Click Change Button Mappings
Operate each joystick function.

014 Operate the joystick function, in this case the Fire button
If the function is not correctly displayed, operate the function again until the correct details are shown.

015 Operate the joystick function continued, if the function is not correctly displayed, operate the function again
Note that in the button settings, the system treats the joystick directions as buttons.
If the same function is listed twice, the virtual Spectrum will receive the wrong joystick information. So instead, program the unwanted function as a key on the keyboard.
This is a simple test program. It prints the value returned from the (virtual) joystick interface on screen. Check the returned values are correct.

016 Simple Kempston Joystick Tester
This is a more complex test program. By using the joystick, you can move the asterisk around the screen. The fire button changes the border colour to red when pressed.
Note that there is no error handling if you try to go off screen!

017 Kempston Joystick Test program part 1

018 Kempston Joystick Test program part 2
I hope this helps. If not, you know what to do (i.e. use the default error handing routine - bash head against nearest wall :P )
Mark