MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Pages: 1 | 2 |

RetroRepair
MAME Fan
Reged: 12/21/09
Posts: 259
Send PM


Re: Help emulating the model1 comm board new [Re: RetroRepair]
#303725 - 02/03/13 04:58 PM Attachment: m1comm_v2_147u3.zip 23 KB (28 downloads)


It works!

I'm really impressed, the sync is perfect! Going to have a lot of fun with this, thanks for all your hard work

I've attached the 147u3 version of the source files.

Edited by RetroRepair (02/03/13 05:02 PM)



http://www.youtube.com/retrorepair



vandale
MAME Fan
Reged: 02/03/13
Posts: 5
Send PM


Re: Help emulating the model1 comm board new [Re: RetroRepair]
#303752 - 02/04/13 02:58 AM


Hi retro. Your sync is perfect, hmmm mine is off only slightly during attract mode.

Could you compare yours to my vid and advise if there is a difference?

Thanks



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: vandale]
#303771 - 02/04/13 07:18 AM


> Hi retro. Your sync is perfect, hmmm mine is off only slightly during attract mode.
>
> Could you compare yours to my vid and advise if there is a difference?
>
> Thanks

Sync depends on the specs of the emulating machine.
In my WingWar cab I am using two identical C2D 2,4GHz setups.

There is a "leading machine", which usually is the master, but doesn't have to be. Say in a 4 player setup, the master and the first slave are driving a race, the master will be leader for that particular race, and the seconds slave will be leader for the attract mode.

The "leading machine" sends a "end attract mode #yx" to the slaves at the end of a cycle (the blinkin VR logo) and "start attract mode #xy" message (after the VR logo).
Other than that, they run on their own, so if your machines aren't running 100% the same speed, attract mode sync may be slightly off.

Ingame, the "leading machine" sends a sync message once per frame, so if the slaves are running faster/slower they will be somewhat synched. Though you most likely will see little differences after a race (total time).


*EDIT*
In your video, the left unit has a total time of "1'05'03" and the right unit was "1'05'90" - Your right unit is running a little faster

Edited by SailorSat (02/04/13 07:22 AM)



I do all that stuff even without a Joystick
Soft-15kHz, cabMAME, For Amusement Only e.V.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: RetroRepair]
#303855 - 02/05/13 08:22 PM


> Nevermind, I plonked the comm options in the wrong place in emuopts.c, compiled fine
> now
>
> I'll post the 147u3 version when I have tested it. Seems a bit of work was done to
> the driver since 146 (might be even different in 148).

Work done on model 1 since 0.146?

Umm, yeeeeah.



RetroRepair
MAME Fan
Reged: 12/21/09
Posts: 259
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#303881 - 02/06/13 04:00 AM


Ah yes of course 148 introduced some MAJOR changes to model 1 (and model 3 of course)

Looks like some modernization occurred before 147u5 though



http://www.youtube.com/retrorepair



Embryoice
I am the Master Warrior!
Reged: 12/30/12
Posts: 74
Loc: Los Angeles, CA
Send PM


Re: Help emulating the model1 comm board new [Re: RetroRepair]
#303892 - 02/06/13 09:48 AM


> Ah yes of course 148 introduced some MAJOR changes to model 1 (and model 3 of course)
>
>
> Looks like some modernization occurred before 147u5 though

Ice Ice Baby



Keep up with Model 2 bugs!



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: RetroRepair]
#303900 - 02/06/13 05:53 PM


> Ah yes of course 148 introduced some MAJOR changes to model 1 (and model 3 of course)

Model 2 too, you can go into the service menu on stcc and listen to Ann Sinclair all day long



dgame
MAME Fan
Reged: 05/10/10
Posts: 5
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#303912 - 02/06/13 11:54 PM Attachment: vr8link.png 990 KB (1 downloads)




[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#303930 - 02/07/13 06:54 AM


No video to show, but I was able to get 2-way link on the same machine to work for VR and Wing War on Linux after porting the winsocket changes to sdlsocket. Also got same-machine 2-way VR to work on OS X.

Edited by R. Belmont (02/07/13 07:30 AM)



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#303934 - 02/07/13 09:17 AM


> No video to show, but I was able to get 2-way link on the same machine to work for VR
> and Wing War on Linux after porting the winsocket changes to sdlsocket. Also got
> same-machine 2-way VR to work on OS X.

Nice



I do all that stuff even without a Joystick
Soft-15kHz, cabMAME, For Amusement Only e.V.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#304705 - 02/21/13 11:11 PM


So have you found out anything more, especially regarding actually emulating the CPU on the network board?



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#304742 - 02/22/13 08:59 AM


> So have you found out anything more, especially regarding actually emulating the CPU
> on the network board?

nothing to spectacular, i've created a standalone driver emulating the comm board only which seems to work until the DMA and/or the DLC controller get involved.

the tech docs i got for the dlc controller have a register map, but some of the bits like protocol selection (PSEL0 to PSEL3) don't have any information on which protocol actuallys get used

a programming manual gets mentioned but I don't have it, so I'm kinda stuck for now.

*EDIT*
And I dumped the PAL/GAL on the real board, but I honestly don't think I know how to use them

*EDIT2*
copy of my driver (based on mame 0.146)

Edited by SailorSat (02/22/13 09:16 AM)



I do all that stuff even without a Joystick
Soft-15kHz, cabMAME, For Amusement Only e.V.



fortuna_chan
Por que yo hablo español muy bien.
Reged: 06/01/08
Posts: 238
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#304905 - 02/26/13 12:40 AM


other games possible emulate the network mode?

is possible running Virtua racing without 2nd player? (for enable the grand prix mode)
Super street fighter II the tournament fighter is possible too run the network mode simulating the 8 player in only 1 screen? (only 2 players in tournament mode)
Final Lap, Final lap 2, R and Final lap 3 has a network mode for 1 to 8 players
World grandprix has support for 8 players network, but for the protection is very hard to find for running at least 2 players



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: fortuna_chan]
#305088 - 02/28/13 06:03 PM


> other games possible emulate the network mode?
>
> is possible running Virtua racing without 2nd player? (for enable the grand prix
> mode)
> Super street fighter II the tournament fighter is possible too run the network mode
> simulating the 8 player in only 1 screen? (only 2 players in tournament mode)
> Final Lap, Final lap 2, R and Final lap 3 has a network mode for 1 to 8 players
> World grandprix has support for 8 players network, but for the protection is very
> hard to find for running at least 2 players

Sailor's work is only applicable to Sega games. Aside from VR, those are not Sega games.



FMecha
MAME's (Armchair) Motorsports Consultant
Reged: 01/18/09
Posts: 152
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#305259 - 03/04/13 07:36 PM


This is an awesome development! Any 32-bit version of cabmame, though?

> > other games possible emulate the network mode?
> >
> > is possible running Virtua racing without 2nd player? (for enable the grand prix
> > mode)
> > Super street fighter II the tournament fighter is possible too run the network mode
> > simulating the 8 player in only 1 screen? (only 2 players in tournament mode)
> > Final Lap, Final lap 2, R and Final lap 3 has a network mode for 1 to 8 players
> > World grandprix has support for 8 players network, but for the protection is very
> > hard to find for running at least 2 players
>
> Sailor's work is only applicable to Sega games. Aside from VR, those are not Sega
> games.

However, has anyone tried to research other games' multi-cab implementation? (I am looking mainly at Suzuka 8 Hours games) That would be interesting.



Naoki
Reged: 11/10/09
Posts: 1998
Loc: United Kingdom
Send PM


Re: Help emulating the model1 comm board new [Re: FMecha]
#305263 - 03/04/13 09:33 PM


> This is an awesome development! Any 32-bit version of cabmame, though?
>
> > > other games possible emulate the network mode?
> > >
> > > is possible running Virtua racing without 2nd player? (for enable the grand prix
> > > mode)
> > > Super street fighter II the tournament fighter is possible too run the network
> mode
> > > simulating the 8 player in only 1 screen? (only 2 players in tournament mode)
> > > Final Lap, Final lap 2, R and Final lap 3 has a network mode for 1 to 8 players
> > > World grandprix has support for 8 players network, but for the protection is very
> > > hard to find for running at least 2 players
> >
> > Sailor's work is only applicable to Sega games. Aside from VR, those are not Sega
> > games.
>
> However, has anyone tried to research other games' multi-cab implementation? (I am
> looking mainly at Suzuka 8 Hours games) That would be interesting.

Currently the research is only relevent to the Model X Comm boards. The only thing transferable is the network backbone for mame to communicate to other processes.

Edited by Naoki (03/04/13 09:33 PM)



----
On a quest for Digital 573 and Dancing Stage EuroMix 2

By gods I've found it!



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: Naoki]
#305266 - 03/04/13 09:57 PM


> Currently the research is only relevent to the Model X Comm boards. The only thing
> transferable is the network backbone for mame to communicate to other processes.

That backbone's already existed for 18-odd months thanks to MESS, but SS did good in allowing it to handle receive sockets too.

(This screenshot misses the MESS window decorations, but it's Windows 2000 running in current MESS loading Google.au in Internet Exploder).



Edited by R. Belmont (03/04/13 09:59 PM)



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: FMecha]
#305288 - 03/05/13 09:39 AM


> This is an awesome development! Any 32-bit version of cabmame, though?

http://files.arianchen.de/cabmame/link-cabmame.zip should be 32bit (unless i zipd the wrong file)

- slightly off topic -

Big "proof of concept"-Test coming this saturday



https://www.youtube.com/watch?v=AenpoMRG42o



I do all that stuff even without a Joystick
Soft-15kHz, cabMAME, For Amusement Only e.V.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#305325 - 03/06/13 06:14 PM


> https://www.youtube.com/watch?v=AenpoMRG42o

Very cool!



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#305528 - 03/10/13 08:29 PM


> > https://www.youtube.com/watch?v=AenpoMRG42o

So how did the test go?



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#305923 - 03/18/13 09:36 AM


> > > https://www.youtube.com/watch?v=AenpoMRG42o
>
> So how did the test go?

Stable enough for lots of fun

http://www.youtube.com/watch?v=MxusMh5iqNM
http://www.youtube.com/watch?v=K52Jb6zassI
http://www.youtube.com/watch?v=QScoN1QSAx0&feature=player_detailpage#t=158s

crashed only once on one machine. (segfault while coining up)



I do all that stuff even without a Joystick
Soft-15kHz, cabMAME, For Amusement Only e.V.



Embryoice
I am the Master Warrior!
Reged: 12/30/12
Posts: 74
Loc: Los Angeles, CA
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#305926 - 03/18/13 03:23 PM


> > > > https://www.youtube.com/watch?v=AenpoMRG42o
> >
> > So how did the test go?
>
> Stable enough for lots of fun
>
> http://www.youtube.com/watch?v=MxusMh5iqNM
> http://www.youtube.com/watch?v=K52Jb6zassI
> http://www.youtube.com/watch?v=QScoN1QSAx0&feature=player_detailpage#t=158s
>
> crashed only once on one machine. (segfault while coining up)

Sir, your last link is broken



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#306042 - 03/20/13 04:48 PM


> > > > https://www.youtube.com/watch?v=AenpoMRG42o
> >
> > So how did the test go?
>
> Stable enough for lots of fun
>
> http://www.youtube.com/watch?v=MxusMh5iqNM
> http://www.youtube.com/watch?v=K52Jb6zassI
> http://www.youtube.com/watch?v=QScoN1QSAx0&feature=player_detailpage#t=158s
>
> crashed only once on one machine. (segfault while coining up)

Nice! Looks like lots of fun indeed



Boomslangnz
MAME Fan
Reged: 03/31/13
Posts: 1
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#306601 - 03/31/13 04:04 AM


Hi,

awesome work.

What are the chances of you looking at doing a similar hack to the Supermodel Emulator for Sega Model 3?

My dream is to play Daytona 2 and Scud Race/Sega Super GT at home over network!



Embryoice
I am the Master Warrior!
Reged: 12/30/12
Posts: 74
Loc: Los Angeles, CA
Send PM


Re: Help emulating the model1 comm board new [Re: Boomslangnz]
#306693 - 04/01/13 06:14 PM


> Hi,
>
> awesome work.
>
> What are the chances of you looking at doing a similar hack to the Supermodel
> Emulator for Sega Model 3?
>
> My dream is to play Daytona 2 and Scud Race/Sega Super GT at home over network!

It Exists



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: Embryoice]
#306761 - 04/03/13 02:13 AM


> > Hi,
> >
> > awesome work.
> >
> > What are the chances of you looking at doing a similar hack to the Supermodel
> > Emulator for Sega Model 3?
> >
> > My dream is to play Daytona 2 and Scud Race/Sega Super GT at home over network!
>
> It Exists

Yup. And credit where due, it's based loosely on SailorSat's work on these games.



MichaelMichael54321
Cautious Forum Poster
Reged: 01/19/13
Posts: 34
Loc: U.S.A
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#306997 - 04/07/13 10:37 PM


I uploaded a video of the changes in CabMAME, running Virtua Racing.

Video's right here, enjoy!

http://www.youtube.com/watch?v=donq2NgJkus



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: MichaelMichael54321]
#311345 - 07/10/13 04:50 PM


> I uploaded a video of the changes in CabMAME, running Virtua Racing.
>
> Video's right here, enjoy!
>
> http://www.youtube.com/watch?v=donq2NgJkus

Finally moved to the new location...
Haven't worked on anything for like 3 months

Step 1.0 done - 4 Player + Live


Step 1.5 done - 8 Player + Live - though running daytona at the time



Naoki
Reged: 11/10/09
Posts: 1998
Loc: United Kingdom
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#311351 - 07/10/13 06:36 PM


> > I uploaded a video of the changes in CabMAME, running Virtua Racing.
> >
> > Video's right here, enjoy!
> >
> > http://www.youtube.com/watch?v=donq2NgJkus
>
> Finally moved to the new location...
> Haven't worked on anything for like 3 months
>
> Step 1.0 done - 4 Player + Live
>
>
> Step 1.5 done - 8 Player + Live - though running daytona at the time

You sir are a god



nuexzz
MAME Fan
Reged: 02/28/11
Posts: 14
Send PM


Re: Help emulating the model1 comm board new [Re: Naoki]
#311358 - 07/10/13 10:46 PM


qpps! with a little hack could do the live mode in daytona?
http://www.youtube.com/watch?v=W_-LVqsKh_0

-----------------------------------------------------------
EDIT: working a player as live camera - the only drawback is that you lose a player I mean real player mode will have to be 7 and one live camera.

http://www.youtube.com/watch?v=Rt6I6ujdUGA



Edited by nuexzz (07/11/13 01:58 AM)



Retro27
Play The Past
Reged: 06/28/05
Posts: 146
Loc: leeds (UK)
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#311771 - 07/22/13 12:22 PM


Looks amazing. Where have you moved too.



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: Retro27]
#312335 - 08/02/13 02:17 PM


> Looks amazing. Where have you moved too.

We moved from "Rodenbach" to "Seligenstadt" - (Germany, near Frankfurt).

Priorities got lowered a little bit. Next step will be a "stand alone" Model1 Comm Board.
First I'm gonna add a 32mhz OSC to the board (and hook up power), then most likely I can run some custom code on the boards Z80.

Next step may be to hook up a RS485 converter (or a RS232 converter) to the "other" outputs and actually read real data. However I don't know if this will work as I haven't checked the stream data yet.
Async-Serial streams usually have stop-bits and stuff. Don't know if the DLC is actually streaming async data.

Long term goal would be a converter from "m1comm" to ethernet, so one could link a real model1 to an emulated one.

If that works, might it a shot with Model2 - Link up real daytonas worldwide! ;D



Naoki
Reged: 11/10/09
Posts: 1998
Loc: United Kingdom
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#312344 - 08/02/13 04:08 PM


> > Looks amazing. Where have you moved too.
>
> We moved from "Rodenbach" to "Seligenstadt" - (Germany, near Frankfurt).
>
> Priorities got lowered a little bit. Next step will be a "stand alone" Model1 Comm
> Board.
> First I'm gonna add a 32mhz OSC to the board (and hook up power), then most likely I
> can run some custom code on the boards Z80.
>
> Next step may be to hook up a RS485 converter (or a RS232 converter) to the "other"
> outputs and actually read real data. However I don't know if this will work as I
> haven't checked the stream data yet.
> Async-Serial streams usually have stop-bits and stuff. Don't know if the DLC is
> actually streaming async data.
>
> Long term goal would be a converter from "m1comm" to ethernet, so one could link a
> real model1 to an emulated one.
>
> If that works, might it a shot with Model2 - Link up real daytonas worldwide! ;D

Ambitious plan but love the idea!



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#333167 - 10/14/14 12:36 AM


After a long time...
I'm currently building a ISA to MODEL-1 COMM Adapter to do some "blackbox" testing.

For whatever reason I seem unable to understand that JEDEC stuff...
Poking the PALs with my prototyping wires proofs to be way more straightforward



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#333197 - 10/14/14 07:11 PM


> After a long time...
> I'm currently building a ISA to MODEL-1 COMM Adapter to do some "blackbox" testing.
>
> For whatever reason I seem unable to understand that JEDEC stuff...
> Poking the PALs with my prototyping wires proofs to be way more straightforward

For the curious...

http://images.arianchen.de/?x=sega2isa/model1



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#333314 - 10/16/14 09:32 PM


> > After a long time...
> > I'm currently building a ISA to MODEL-1 COMM Adapter to do some "blackbox" testing.
> >
> > For whatever reason I seem unable to understand that JEDEC stuff...
> > Poking the PALs with my prototyping wires proofs to be way more straightforward
>
> For the curious...
>
> http://images.arianchen.de/?x=sega2isa/model1

Nice! You might want to start a new thread though, it's a little hard to find these posts in threaded view



SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM


Re: Help emulating the model1 comm board new [Re: R. Belmont]
#333325 - 10/17/14 12:31 AM


> Nice! You might want to start a new thread though, it's a little hard to find these
> posts in threaded view

You are right.

here we go...



coltonmameworld
MAME Fan
Reged: 12/31/14
Posts: 3
Send PM


Re: Help emulating the model1 comm board new [Re: SailorSat]
#335552 - 12/31/14 01:16 AM


I'd like to compile a version of the latest MAME with this driver, SailorSat. I'm requesting your permission (& the know how) to do such a thing.


Pages: 1 | 2 |

MAMEWorld >> Programming
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Pi 
1 registered and 37 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 35262