Author Topic: MultiPlay MX4 Expansion  (Read 26280 times)

0 Members and 1 Guest are viewing this topic.

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #25 on: 14:02, 18 May 16 »
Yes. It is exactly that.  8)
That should allow to play up to 4 players too.

By the way, we are thinking about a Firmware update that should allow to natively support the "MultiPlayCity" combo and use them transparently.
So BASIC and programs using the system will be automaticly retro-compatible by doing nothing more.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline Axelay

  • 6128 Plus
  • ******
  • Posts: 545
  • Country: au
  • Liked: 345
  • Likes Given: 82
Re: MultiPlay MX4 Expansion
« Reply #26 on: 17:27, 18 May 16 »
Must be time to make the two demonstration MultiPlay compatible games available, so I'll present them here.


First up is a modified version of the Megablasters anniversary game with a third "multiplay" control option.  This allows both players to use joystick or pads, but both players must be using controllers on the multiplay ports, and both controllers will need at least two fire buttons, there's no keyboard option to detonate bombs manually with this option.


Second is a little 4 player light cycle game called QuadRaster.  It is 4 player only.  Player 1 must use internal joystick port, player 3 & 4 the multiplay ports.  Player 2 has a choice of keyboard or joystick, but the joystick option is only going to work correctly with an appropriate splitter.  During play you can hold fire to go twice as fast.  I wasnt able to test this one myself, so thanks go to TotO and Mr Lou for the feedback on this game.  :)

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 485
  • Country: de
    • index.php?action=treasury
  • Liked: 238
  • Likes Given: 1164
Re: MultiPlay MX4 Expansion
« Reply #27 on: 17:30, 18 May 16 »
Wow, that is just in time :)
Great to see that!

@TotO: Is the board CPCplus compatible?
...proudly supported Pentomino and NQ-Music-Disc with GFX

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #28 on: 17:47, 18 May 16 »
The MultiPlay must work on all CPC and PLUS.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: MultiPlay MX4 Expansion
« Reply #29 on: 22:45, 23 May 16 »
Hi! Tried to order using Chrome(1) or Explorer(2) using WinXP. But it doesn't work (1, security risc. 2, errors on page). Any idea what to do? (Will try on my laptop tomorrow).
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #30 on: 23:33, 23 May 16 »
Hi! Tried to order using Chrome(1) or Explorer(2) using WinXP. But it doesn't work (1, security risc. 2, errors on page). Any idea what to do? (Will try on my laptop tomorrow).

No idea at all...  :-X
Send me an email withyour wishlist!  8)
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: MultiPlay MX4 Expansion
« Reply #31 on: 23:00, 24 May 16 »
Done! Will be fun to have real 4 Player games now!  :)  And even 2 Player games can get a nice speed up!  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline cpc4eva

  • 464 Plus
  • *****
  • Posts: 473
  • Country: au
  • Liked: 144
  • Likes Given: 147
Re: MultiPlay MX4 Expansion
« Reply #32 on: 02:29, 25 May 16 »
so does that mean if i play CPC ping pong from Konami / Imagine that if i use this device i will be able to play against a friend with a joystick ?

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #33 on: 11:19, 25 May 16 »
Actually, all old games require to be patched.
With a Firmware update, games using the routines or BASIC may natively work.
Today, two Axelay games (MegaBlaster and QuadRasters) and one Mr_Lu game are compatible.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline angelcaio

  • CPC664
  • ***
  • Posts: 104
  • Country: es
  • AMSTRAD CPC-464
  • Liked: 32
  • Likes Given: 21
Re: MultiPlay MX4 Expansion
« Reply #34 on: 11:24, 25 May 16 »
Actually, all old games require to be patched.
With a Firmware update, games using the routines or BASIC may natively work.
Today, two Axelay games (MegaBlaster and QuadRasters) and one Mr_Lu game are compatible.
Further. Other software , such as Art Studio, could also work with a mouse with more resolution?

Enviado desde mi H60-L04 mediante Tapatalk


Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #35 on: 11:40, 25 May 16 »
Yes, if properly patched it should provide a better accuraty.

The expansion was designed to allow 1 or 2 players games using Amiga JOY/MOUSE.
So I can't guaranty that will be a must have for drawing. (untested)
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline angelcaio

  • CPC664
  • ***
  • Posts: 104
  • Country: es
  • AMSTRAD CPC-464
  • Liked: 32
  • Likes Given: 21
Re: MultiPlay MX4 Expansion
« Reply #36 on: 13:46, 25 May 16 »
Thanks, but really i ask for the update of the firmware that you say.  Anyway, how i can to patch a program?  like Art studio, for example.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: MultiPlay MX4 Expansion
« Reply #37 on: 20:46, 25 May 16 »
Thanks, but really i ask for the update of the firmware that you say.  Anyway, how i can to patch a program?  like Art studio, for example.

That's actually pretty simple. Instead of calling an OS routine  you patch it into two simple instructions:

LD BC,TotOs_joystick_and_mouse_port_1
IN A,(BC)

And A has all the nice little direction and fire button bits.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.277
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 75
Re: MultiPlay MX4 Expansion
« Reply #38 on: 23:34, 25 May 16 »
Yay. Multiplay ordered.
IRC:  #Retro4All on Freenode

Offline khaz

  • 464 Plus
  • *****
  • Posts: 490
  • Country: fr
  • Liked: 248
  • Likes Given: 68
Re: MultiPlay MX4 Expansion
« Reply #39 on: 14:50, 27 May 16 »
That's actually pretty simple. Instead of calling an OS routine  you patch it into two simple instructions:

LD BC,TotOs_joystick_and_mouse_port_1
IN A,(BC)

And A has all the nice little direction and fire button bits.

Is it enough to manage the acceleration?

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #40 on: 15:39, 27 May 16 »

It is not, because the joystick (and AMX/DK'Tronics) return only 1bit value.
The MultiPlay mice return 4bit values.

Code: [Select]
F990 : 0321RLDU : Input A, joystick and buttons
F991 : 0321RLDU : Input B, joystick and buttons
F992 : 0000XXXX : Input A, mouse X
F993 : 0000YYYY : Input A, mouse Y
F994 : 0000XXXX : Input B, mouse X
F995 : 0000YYYY : Input B, mouse Y


« Last Edit: 16:00, 27 May 16 by TotO »
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.332
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2251
  • Likes Given: 3477
Re: MultiPlay MX4 Expansion
« Reply #41 on: 16:02, 27 May 16 »
It is not, because the joystick (and AMX/DK'Tronics) return only 1bit value.
The MultiPlay mice return 4bit values.

Code: [Select]
F990 : 0321RLDU : Input A, joystick and buttons
F991 : 0321RLDU : Input B, joystick and buttons
F992 : 0000XXXX : Input A, mouse X
F993 : 0000YYYY : Input A, mouse Y
F994 : 0000XXXX : Input B, mouse X
F995 : 0000YYYY : Input B, mouse Y
Questions:
-  is f990 used for buttons for Mouse A and f991 used for buttons for Mouse B?
In this case is it 123 used or?

- And what is read from F996,F997?
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #42 on: 16:04, 27 May 16 »
YES! Buttons 1, 2, 3 are the same for joystick and mouse input A/B.
F996 and F997 ports are unused.

About usages:
- Reading from BASIC with 50Hz interrupt is fine to handle a fast char pointer with acceleration.
- Reading from ASM with 300Hz interrupt is fine to handle a fast pixel pointer with acceleration.
« Last Edit: 17:24, 27 May 16 by TotO »
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: MultiPlay MX4 Expansion
« Reply #43 on: 17:55, 27 May 16 »
Is it enough to manage the acceleration?


I don't know. But I guess yes, since IMHO it's all joystick compatible.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.388
  • Liked: 980
  • Likes Given: 247
Re: MultiPlay MX4 Expansion
« Reply #44 on: 18:28, 27 May 16 »
It is not, because the joystick (and AMX/DK'Tronics) return only 1bit value.
The MultiPlay mice return 4bit values.

Code: [Select]
F990 : 0321RLDU : Input A, joystick and buttons
F991 : 0321RLDU : Input B, joystick and buttons
F992 : 0000XXXX : Input A, mouse X
F993 : 0000YYYY : Input A, mouse Y
F994 : 0000XXXX : Input B, mouse X
F995 : 0000YYYY : Input B, mouse Y

Mouse register X/Y return the offset since the last read. These are 4 bit value with sign extension.
Note also that the X/Y value will saturate if not read for a long time (or if the movement is fast). It will never overflow or wrap.
From a software point of view, just read the port and add its value to your position variable  ;)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: MultiPlay MX4 Expansion
« Reply #45 on: 18:38, 27 May 16 »
From a software point of view, just read the port and add its value to your position variable  ;)


Won't work with negative values since bits 7-4 are always zero. Right?

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.388
  • Liked: 980
  • Likes Given: 247
Re: MultiPlay MX4 Expansion
« Reply #46 on: 18:45, 27 May 16 »

Won't work with negative values since bits 7-4 are always zero. Right?
No  :D
The 4 values are sign extended to 8 bit, so negative value will have bit7-4 at one. In fact bit 7-4 = bit 3

Just consider them as signed 8 bit, they will just stay between -15 and 14 -16 and 15
« Last Edit: 19:28, 27 May 16 by gerald »

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 3.345
  • Country: fr
    • ?area=showdonations;u=4
  • Liked: 2554
  • Likes Given: 1497
Re: MultiPlay MX4 Expansion
« Reply #47 on: 19:12, 27 May 16 »
Exactly. I have answered a bit too fast.  :-\
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1977
  • Likes Given: 4650
Re: MultiPlay MX4 Expansion
« Reply #48 on: 19:23, 27 May 16 »
No  :D
The 4 values are sign extended to 8 bit, so negative value will have bit7-4 at one. In fact bit 7-4 = bit 3

Just consider them as signed 8 bit, they will just stay between -15 and 14

Thanks!!! That's super awesome! So actually this device need no drivers, it's 100% ready to go.  :) :) :)

Now all we need is a nice list of compatible mouses / proportional joysticks.  :) :) :)


EDIT: Just checked the net: Amiga mice are really expensive, it there an cheaper alternative?
EDIT: Also... it there a 3 button mouse we can use? (For hacking AMX Stop Press).

« Last Edit: 19:55, 27 May 16 by TFM »
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Scarlettkitten

  • CPC664
  • ***
  • Posts: 58
  • Country: gb
  • Liked: 47
  • Likes Given: 184
Re: MultiPlay MX4 Expansion
« Reply #49 on: 20:17, 27 May 16 »
Preordered and got the right shipping in the end :)





Sophie Rose:- My musical works https://soundcloud.com/sophieroseproductions