Hum, it seems to be a very very long road to do
I thought it would have been simpler
I rewrite the memory mapping part this week end that has changed the r/W handlers.
Now the dump is in one piece (concatenation of the 2 old parts)
we have now:
Network code copy ending <- false info ??
RESET NetBoard PC=000000
W32 *********************** @20800<-0 <- now it seems correct
Network code copy ending
RESET NetBoard PC=00083A
W32 *********************** @20804<-f03e000
W32 *********************** @20808<-5003000
W32 *********************** @10180<-0
W32 *********************** @10110<-800000
W32 *********************** @10110<-800000
W32 *********************** @10180<-fffffff
W32 *********************** @10110<-b00000
W32 *********************** @10110<-b00000
W32 *********************** @10000<-e407b80
W32 *********************** @10110<-900000
W32 *********************** @10110<-900000
the reset with pc=0 is certainly the power on with no code loaded
As I remember, the first thing ppc does is to test if he can r/w in network memory (shared memory ?) .If success, this means the board is present
0xc0000000-0xc000ffff is filled with 0 (net buffer)
The whole dump is transferred into network ram (0xc0020000-0xc003ffff) //typo error
The program starts in the dump at 0x800 to 0x243f (or more) and it's loaded at 0xc0020800.
W32 *********************** @10110<-900000
W32 *********************** @10110<-900000
happen right after the sentence : this is master controller
I don't know about the ppc, just that it's in loop. Apparently there are no accesses to net memory (not sure because there is the address 0xc0000000 loaded in ppc register at (ppc)pc=0x61bc (entry point pc=0x6128), However, I don't think it's net related)
On the 68k, I can debug step by step with the debugger. There is a trigger at 0x60c, according to the value inside it branches to different portion of code (0xff is for default looping, testing 0x01, 0x02, 0x03, 0x04, 0x07 )
Sadly My knowledge about irq is quite low, I don't know how to throw an irq manually and I don't add irq management in network code
Since the 68k waiting for a value change at 0x60c, the ppc must change this value but how and where
The notes Nik has found are terrible!! but beyond my skills
The new version with the more correct memory mapping is here https://yadi.sk/d/HOQ6iHd_3MmRZw
No crash when exiting now . I've included the .exe with debugging option (run with daytona2.zip -no-threads -enter-debugger)
edit : typo error