> 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)
|