MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

SailorSat
MAME Fan
Reged: 03/04/07
Posts: 169
Loc: Germany
Send PM
Re: Help emulating the model1 comm board
12/30/12 01:26 PM


> What address are these outputs at for VR?
Model1 lamp data gets written to 0xC0000F

> I'll be following this with keen interest. It seems something cool is around the corner.
Don't get to excited though. Most of this is to be considered a "dirty hack" at best.

I've managed to get the Model2/2A (non B, C) comm board basically working in MAME.
Daytona and Sega Rally link up to itself and show a stable (haha) one player link system.
I have yet to find out what "clocks" the comm board though.
The other Model2A Games (ManxTT and MotoRaid don't like a 1 player linkup, and crash if the seconds unit doesn't communicate)

Currently I use writes to 0x01c00040 on Model2 to "tick" the network board.
Most writes are 0x01 and I guess these to be ticks.
Sometimes there is a 0x00 and a 0x03 writen here, but that only happends after changing comm settings in daytonas service menu.

On Model2A I use writes to 0x01c00010 to "tick" the network board, but that most likely is totaly wrong. (call it a dirty hack)


Each tick move the blocks in NETWORK SHARED memory up 448 bytes. Have yet to test how that look on two or three units.


Memory Map described (as far as i understand it)
0x01a10000 - 0x01a13FFF seems to be standard shared ram
0x01a14000 - 0x01a17FFF seems to be used to READ status and WRITE commands, also seems to repeat itself ever 4 bytes

That shared ram seems to be further split
0x01a10000 - 0x01a1001F seems to contain "link specific" data FOR THE LOCAL SYSTEM like number of nodes etc.
0x01a12000 - 0x01a12fbf seems to be the real NETWORK SHARED memory (9 blocks of 448 bytes each)


Detailed:

Code:


0x01a10000 - 0x01a1001F
0000: 00 xx FF FF xx xx xx xx xx xx xx xx xx xx xx xx - Link "offline", searching for nodes...
0000: 01 xx 01 01 xx xx xx xx xx xx xx xx xx xx xx xx - Link "online", myself = 1, total nodes = 1
0000: 01 xx 01 02 xx xx xx xx xx xx xx xx xx xx xx xx - Link "online", myself = 1, total nodes = 2

0010: xx xx 00 0E C0 01 xx xx xx xx xx xx xx xx xx xx - as soon as the board gets "initialized" it writes 00 0E C0 01 to the shared memory
that doesn't get read by daytona and srallyc though.




Code:


READING from 0x01a14000 - 0x01a1400F
0000: xx FF xx FF ... odd bytes always read 0xFF

0000: 01 xx x1 xx ... comm board enabled
0000: 00 xx x0 xx ... comm board disabled

0000: 01 xx 81 xx ... comm board enabled, after tick 1...
0000: 01 xx 01 xx ... comm board enabled, after tick 2...
0000: 01 xx 81 xx ... comm board enabled, after tick 3...
0000: 01 xx 01 xx ... comm board enabled, after tick 4...




Code:


WRITING to 0x01a14000 - 0x01a1400F
0000: 00 xx xx xx ... reset/disable
0000: 01 xx xx xx ... init/enable

0000: xx xx 00 xx ... set slave mode
0000: xx xx 01 xx ... set master mode






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







Entire thread
Subject Posted by Posted on
* Help emulating the model1 comm board SailorSat 10/16/12 01:22 AM
. * Re: Help emulating the model1 comm board SailorSat  01/05/13 12:26 PM
. * Re: Help emulating the model1 comm board Embryoice  12/31/12 12:41 AM
. * Re: Help emulating the model1 comm board jedpossum  01/04/13 09:03 PM
. * Re: Help emulating the model1 comm board Embryoice  01/05/13 07:42 AM
. * Re: Help emulating the model1 comm board jedpossum  01/05/13 07:57 PM
. * Re: Help emulating the model1 comm board SailorSat  01/09/13 01:56 AM
. * Re: Help emulating the model1 comm board nuexzz  01/09/13 12:42 PM
. * Re: Help emulating the model1 comm board Embryoice  01/09/13 08:53 PM
. * Re: Help emulating the model1 comm board SailorSat  01/16/13 04:03 PM
. * Re: Help emulating the model1 comm board RetroRepair  01/16/13 05:21 PM
. * Re: Help emulating the model1 comm board nuexzz  01/16/13 07:31 PM
. * Re: Help emulating the model1 comm board RetroRepair  01/16/13 10:26 PM
. * Re: Help emulating the model1 comm board nuexzz  01/17/13 01:15 AM
. * Re: Help emulating the model1 comm board SailorSat  01/16/13 09:15 PM
. * Re: Help emulating the model1 comm board RetroRepair  01/16/13 10:34 PM
. * Re: Help emulating the model1 comm board SailorSat  01/16/13 11:04 PM
. * Re: Help emulating the model1 comm board RetroRepair  01/16/13 11:28 PM
. * Re: Help emulating the model1 comm board SailorSat  01/17/13 04:17 PM
. * Re: Help emulating the model1 comm board SailorSat  01/18/13 01:38 AM
. * Re: Help emulating the model1 comm board SailorSat  01/18/13 02:53 AM
. * Re: Help emulating the model1 comm board SailorSat  01/18/13 03:13 AM
. * Re: Help emulating the model1 comm board StilettoAdministrator  01/18/13 06:46 AM
. * Re: Help emulating the model1 comm board SailorSat  01/18/13 07:15 AM
. * Re: Help emulating the model1 comm board R. Belmont  01/18/13 11:03 PM
. * Re: Help emulating the model1 comm board SailorSat  01/19/13 03:47 AM
. * Re: Help emulating the model1 comm board Junoman  01/19/13 04:12 AM
. * Re: Help emulating the model1 comm board SailorSat  01/19/13 10:15 AM
. * Re: Help emulating the model1 comm board SailorSat  01/20/13 04:05 AM
. * Re: Help emulating the model1 comm board SailorSat  01/21/13 01:20 AM
. * Re: Help emulating the model1 comm board RetroRepair  01/22/13 04:52 AM
. * Re: Help emulating the model1 comm board SailorSat  01/23/13 01:08 AM
. * Re: Help emulating the model1 comm board Naoki  01/25/13 12:34 AM
. * Re: Help emulating the model1 comm board SailorSat  01/31/13 09:29 AM
. * Re: Help emulating the model1 comm board SailorSat  02/02/13 11:15 AM
. * Re: Help emulating the model1 comm board RetroRepair  02/03/13 01:52 PM
. * Re: Help emulating the model1 comm board SailorSat  02/03/13 02:05 PM
. * Re: Help emulating the model1 comm board RetroRepair  02/03/13 02:23 PM
. * Re: Help emulating the model1 comm board SailorSat  02/03/13 02:24 PM
. * Re: Help emulating the model1 comm board RetroRepair  02/03/13 03:47 PM
. * Re: Help emulating the model1 comm board RetroRepair  02/03/13 04:00 PM
. * Re: Help emulating the model1 comm board R. Belmont  02/05/13 08:22 PM
. * Re: Help emulating the model1 comm board RetroRepair  02/06/13 04:00 AM
. * Re: Help emulating the model1 comm board R. Belmont  02/06/13 05:53 PM
. * Re: Help emulating the model1 comm board dgame  02/06/13 11:54 PM
. * Re: Help emulating the model1 comm board Embryoice  02/06/13 09:48 AM
. * Re: Help emulating the model1 comm board RetroRepair  02/03/13 04:58 PM
. * Re: Help emulating the model1 comm board vandale  02/04/13 02:58 AM
. * Re: Help emulating the model1 comm board SailorSat  02/04/13 07:18 AM
. * Re: Help emulating the model1 comm board R. Belmont  02/07/13 06:54 AM
. * Re: Help emulating the model1 comm board SailorSat  02/07/13 09:17 AM
. * Re: Help emulating the model1 comm board R. Belmont  02/21/13 11:11 PM
. * Re: Help emulating the model1 comm board SailorSat  02/22/13 08:59 AM
. * Re: Help emulating the model1 comm board coltonmameworld  12/31/14 01:16 AM
. * Re: Help emulating the model1 comm board fortuna_chan  02/26/13 12:40 AM
. * Re: Help emulating the model1 comm board R. Belmont  02/28/13 06:03 PM
. * Re: Help emulating the model1 comm board FMecha  03/04/13 07:36 PM
. * Re: Help emulating the model1 comm board SailorSat  03/05/13 09:39 AM
. * Re: Help emulating the model1 comm board R. Belmont  03/06/13 06:14 PM
. * Re: Help emulating the model1 comm board R. Belmont  03/10/13 08:29 PM
. * Re: Help emulating the model1 comm board SailorSat  03/18/13 09:36 AM
. * Re: Help emulating the model1 comm board Boomslangnz  03/31/13 04:04 AM
. * Re: Help emulating the model1 comm board Embryoice  04/01/13 06:14 PM
. * Re: Help emulating the model1 comm board R. Belmont  04/03/13 02:13 AM
. * Re: Help emulating the model1 comm board MichaelMichael54321  04/07/13 10:37 PM
. * Re: Help emulating the model1 comm board SailorSat  07/10/13 04:50 PM
. * Re: Help emulating the model1 comm board Retro27  07/22/13 12:22 PM
. * Re: Help emulating the model1 comm board SailorSat  08/02/13 02:17 PM
. * Re: Help emulating the model1 comm board SailorSat  10/14/14 12:36 AM
. * Re: Help emulating the model1 comm board SailorSat  10/14/14 07:11 PM
. * Re: Help emulating the model1 comm board R. Belmont  10/16/14 09:32 PM
. * Re: Help emulating the model1 comm board SailorSat  10/17/14 12:31 AM
. * Re: Help emulating the model1 comm board Naoki  08/02/13 04:08 PM
. * Re: Help emulating the model1 comm board Naoki  07/10/13 06:36 PM
. * Re: Help emulating the model1 comm board nuexzz  07/10/13 10:46 PM
. * Re: Help emulating the model1 comm board R. Belmont  03/20/13 04:48 PM
. * Re: Help emulating the model1 comm board Embryoice  03/18/13 03:23 PM
. * Re: Help emulating the model1 comm board Naoki  03/04/13 09:33 PM
. * Re: Help emulating the model1 comm board R. Belmont  03/04/13 09:57 PM
. * Re: Help emulating the model1 comm board nuexzz  02/02/13 07:59 PM
. * Re: Help emulating the model1 comm board StilettoAdministrator  01/23/13 02:09 AM
. * Re: Help emulating the model1 comm board SailorSat  01/18/13 03:47 PM
. * Re: Help emulating the model1 comm board StilettoAdministrator  01/18/13 04:27 PM
. * Re: Help emulating the model1 comm board RetroRepair  01/18/13 04:04 AM
. * Re: Help emulating the model1 comm board SailorSat  01/18/13 04:13 AM
. * Re: Help emulating the model1 comm board Embryoice  01/18/13 04:20 AM
. * Re: Help emulating the model1 comm board Embryoice  01/18/13 04:10 AM
. * Re: Help emulating the model1 comm board RetroRepair  01/18/13 05:05 AM
. * Re: Help emulating the model1 comm board StilettoAdministrator  12/31/12 12:56 AM
. * Re: Help emulating the model1 comm board RetroRepair  12/24/12 12:20 PM
. * Re: Help emulating the model1 comm board SailorSat  12/24/12 01:17 PM
. * Re: Help emulating the model1 comm board RetroRepair  12/24/12 02:24 PM
. * Re: Help emulating the model1 comm board SailorSat  12/30/12 01:26 PM
. * Re: Help emulating the model1 comm board SailorSat  12/30/12 07:24 PM
. * Re: Help emulating the model1 comm board SailorSat  12/30/12 10:45 PM
. * Re: Help emulating the model1 comm board Retro27  12/31/12 01:42 AM
. * Re: Help emulating the model1 comm board SailorSat  12/31/12 03:48 AM
. * Re: Help emulating the model1 comm board SailorSat  12/31/12 04:04 AM
. * Re: emulating the model1 comm board gregf  01/02/13 10:25 AM
. * Re: Help emulating the model1 comm board SailorSat  12/31/12 08:57 AM
. * Re: Help emulating the model1 comm board bdam  01/02/13 02:39 PM
. * Re: Help emulating the model1 comm board R. Belmont  01/03/13 12:28 AM
. * Re: Help emulating the model1 comm board StilettoAdministrator  01/04/13 08:46 PM
. * Re: Help emulating the model1 comm board R. Belmont  01/04/13 09:34 PM
. * Re: Help emulating the model1 comm board SailorSat  01/05/13 12:42 AM
. * Re: Help emulating the model1 comm board Reznor007  01/05/13 02:33 AM
. * Re: Help emulating the model1 comm board bdam  01/03/13 02:29 AM
. * Re: Help emulating the model1 comm board R. Belmont  01/03/13 03:13 AM
. * Re: Help emulating the model1 comm board SailorSat  01/02/13 06:55 PM
. * Re: Help emulating the model1 comm board nuexzz  01/04/13 09:30 AM
. * Re: Help emulating the model1 comm board Embryoice  01/02/13 09:04 PM
. * Re: Help emulating the model1 comm board RetroRepair  01/03/13 12:30 AM
. * Re: Help emulating the model1 comm board SailorSat  01/03/13 01:49 AM
. * Re: Help emulating the model1 comm board R. Belmont  01/03/13 03:28 AM
. * Re: Help emulating the model1 comm board drewcifer  01/03/13 07:13 PM
. * Re: Help emulating the model1 comm board SailorSat  01/03/13 10:05 PM
. * Re: Help emulating the model1 comm board StilettoAdministrator  01/04/13 08:50 PM
. * Re: Help emulating the model1 comm board Ramirez  01/04/13 12:15 PM
. * Re: Help emulating the model1 comm board Dullaron  01/04/13 02:33 AM
. * Re: Help emulating the model1 comm board R. Belmont  01/04/13 02:10 AM
. * Re: Help emulating the model1 comm board Naoki  01/04/13 12:21 AM
. * Re: Help emulating the model1 comm board Embryoice  12/31/12 12:01 AM
. * Re: Help emulating the model1 comm board Embryoice  02/02/13 08:19 PM
. * Re: Help emulating the model1 comm board SailorSat  02/03/13 01:09 AM
. * Re: Help emulating the model1 comm board vandale  02/03/13 03:27 AM
. * Re: Help emulating the model1 comm board SailorSat  02/03/13 03:35 AM
. * Re: Help emulating the model1 comm board vandale  02/03/13 04:34 AM
. * Re: Help emulating the model1 comm board vandale  02/03/13 05:42 AM
. * Re: Help emulating the model1 comm board vandale  02/03/13 08:27 AM
. * Re: Help emulating the model1 comm board SailorSat  02/03/13 01:26 PM
. * Re: Help emulating the model1 comm board StilettoAdministrator  12/31/12 12:22 AM
. * Re: Help emulating the model1 comm board Embryoice  12/31/12 12:33 AM
. * Re: Help emulating the model1 comm board Embryoice  12/31/12 12:10 AM
. * Re: Help emulating the model1 comm board SailorSat  12/31/12 12:16 AM
. * Re: Help emulating the model1 comm board R. Belmont  11/05/12 05:55 AM
. * Re: Help emulating the model1 comm board Lord Nightmare  10/21/12 06:50 PM
. * Re: Help emulating the model1 comm board FMecha  10/18/12 09:11 AM

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