Page 5 of 6

Re: Network code

PostPosted: Mon Sep 11, 2017 7:55 pm
by Jiterdomer
When Nik was around, Supermodel was in an incomplete state which was a lot of hard work forcing to restart the entire project again to fix some of the graphics issues that were plagued in some games like LA Machineguns, Harvey, Daytona USA 2, and Scud Race. But with people like Ian and Harry, the games were now almost matched perfectly to the real hardware and there will be no encryption problems for Step 2.1 games, thanks to Metallic.

It's time for network emulation to be emulated soon!

Re: Network code

PostPosted: Tue Sep 12, 2017 6:52 am
by model123
Welcome back, Nik!
I hope that various emulations will progress, including network code at your work

Convert with google translation

Re: Network code

PostPosted: Tue Sep 12, 2017 2:14 pm
by isamu
Well I'll be!!!!

Nik is back!!! Welcome back my friend, good to see you're alive and well. We all treasure the contribution you've made to Supermodel, and any help you provide in the future would be greatly appreciated. Hope you stick around this time brother.

Re: Network code

PostPosted: Wed Sep 13, 2017 4:21 am
by Ian
Random thoughts ..
The network code that gets uploaded to the board. Is it always the same between different games?
If we have a good understanding of how it works. Could we just skip emulating the CPU and just HLE the whole thing?

Re: Network code

PostPosted: Wed Sep 13, 2017 7:47 am
by Bart
Ian wrote:Random thoughts ..
The network code that gets uploaded to the board. Is it always the same between different games?
If we have a good understanding of how it works. Could we just skip emulating the CPU and just HLE the whole thing?


I don't think it is the same driver for each game. Nik wasn't able to get some games running (e.g., Spikeout), and I recall that Scud Race had some weird glitch where car positions were correct but orientations were not. Daytona USA 2 was working more or less flawlessly.

Re: Network code

PostPosted: Wed Sep 13, 2017 10:22 am
by SailorSat
We should compare the comm board code uploads though.

All model 2 games basically used the same firmware - there are only two firmware revisions.
The older one was fixed packet size, the newer one could change packet sizes (only used on virtua on though).
So except for Virtua On all games work with both firmware versions.

Re: Network code

PostPosted: Wed Sep 13, 2017 11:34 am
by SailorSat
From what we've gathered here:

We need the at least one video IRQ (i believe IRQ 2 on PPC?) (the VINT/VBLANK).
The 68k most likely can toggle the IRQ pass-through (at least it can on m1/m2).
-- the vint is used to increase some counter - which irq handler on the 68k does that?

There is a "enable" bit/register that is used to turn the comm board logic on/off by the PPC.

There are two locations which hold the "node id" and "node count" - this were actual bytes on the m1/m2 - maybe bit masks on the m3.

Re: Network code

PostPosted: Thu Sep 14, 2017 2:49 am
by Boomslangnz
I don't want to get too ahead as the code may never be uploaded but...

How much worked is likely needed to get it working on latest supermodel versions?

I understand the code still needs work to fully complete but I'll take some early Daytona 2 action if possible.....Better then nothing!!

I hope Nik can find the hard drive and upload it 8-)

We have missed you are here

Re: Network code

PostPosted: Thu Sep 14, 2017 5:58 am
by Bart
Probably a lot of work. We are way behind on things as it is. And I'm not sure how it will play with the new frame timing work I've been trying to get done, which to me remains the first priority. I would like to get that finished up (and the JTAG code) before doing a release. But from then on, I'm hoping we can release more frequently even if progress is incremental.

Re: Network code

PostPosted: Thu Sep 14, 2017 11:49 am
by Ian
Are you still working on the timing code ? :) Did you manage to make much progress with it?