MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9711
Loc: ECV-197 The Orville
Send PM
Re: Aristocrat Mark 4 - need help with DS1302
05/19/09 01:25 AM


> extern void DS1302_RST(UINT8 val);
> extern void DS1302_DAT(UINT8 val);
> extern void DS1302_CLK(running_machine *machine, UINT8 val);
> extern UINT8 DS1302_RD(void);

That means the DS1302 has 3 input lines ("reset", "data in", and "clock") and 1 output (probably shared with "data in" in real life). Sounds like a bog-stock serial setup common for RTCs and EEPROMs. You need to figure out which lines on the PIA those are connected to and just wire it up. "Clock" should be obvious since it'll pulse 0-1-0-1 during reads and writes.

Edited by R. Belmont (05/19/09 01:55 AM)







Entire thread
Subject Posted by Posted on
* Aristocrat Mark 4 - need help with DS1302 palindrome 05/18/09 03:10 PM
. * Re: Aristocrat Mark 4 - need help with DS1302 Sune  06/22/09 08:36 AM
. * Re: Aristocrat Mark 4 - need help with DS1302 byuu  05/21/09 01:18 AM
. * Re: Aristocrat Mark 4 - need help with DS1287 palindrome  05/28/09 11:48 AM
. * Re: Aristocrat Mark 4 - need help with DS1302 R. Belmont  05/19/09 01:25 AM
. * Re: Aristocrat Mark 4 - need help with DS1302 palindrome  05/19/09 03:58 PM
. * Re: Aristocrat Mark 4 - need help with DS1302 R. Belmont  05/20/09 08:13 PM
. * Re: Aristocrat Mark 4 - need help with DS1287 palindrome  05/28/09 11:51 AM

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