Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!agate!ig!uwmcsd1!marque!studsys!jetzer From: jetzer@studsys.mu.edu (jetzer) Newsgroups: comp.sys.apple Subject: Re: Clock cards and Prodos Message-ID: <186@studsys.mu.edu> Date: 1 May 88 02:39:47 GMT References: <18@lucifer.UUCP> Organization: Marquette University - Milwaukee, Wisconsin Lines: 25 In article <18@lucifer.UUCP>, rob@lucifer.UUCP ( 237) writes: > Can anyone tell me how Prodos interfaces with a clock card? I have (I think) > the chips necessary to construct a card but would like to know what addresses > Prodos looks at to get the time and date. I suppose what I'm really after > is a memory map of the Thunderclock card. Can anyone help? Thanks in advance. Don't know anything about the hardware end of it, but the ProDOS clock driver resides at $d742-$d7be; a jump to the ProDOS clock driver is on the global page at $bf06-$bf08. You can disassemble the code to find out how ProDOS actually makes the call. After a call, ProDOS expects the clock to put the date in the input buffer, in the following form: 07,04,14,22,46,57 (in ASCII format) 07 = month (01=jan .. 12=dec) 04 = day of week (00=sun .. 06=sat) 14 = date 22 = hour 46 = minute 57 = second -- Mike Jetzer "Hack first, ask questions later."