Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!lll-winken!lll-lcc!rzh From: rzh@lll-lcc.UUCP (Roger Hanscom) Newsgroups: comp.os.cpm Subject: Re: CP/M Clock Message-ID: <2728@lll-lcc.UUCP> Date: 12 Jan 90 06:35:33 GMT Organization: Lawrence Livermore Labs, LCC, Livermore Ca Lines: 16 There are plans in the Jul/Aug 1981 Microsystems Journal (p. 64) for a S-100 clock based on the MSM5832 chip. It uses an 8255 PPI chip for the clock port. Those of you with eleven bits of unused parallel port could probably rig up the clock chip on that with a minimum of parts count. I just got done wire wrapping the complete circuit for my S-100 system, and it works fine. Unfortunately the software published in the article got munged, so if anyone is interested, I can provide listings of what I came up with. I've got two clock-read entry points in ROMed code. One reads the clock and returns to the monitor (a monitor "date" command is next!), the other does a ret just like any other subroutine, so it can be called from an application. When CP/M boots, it prints the date and date at the top of the screen, and I put the day and date on printed listings. I just wish that there was an easy way to timestamp files in CP/M 2.2 @:^). roger rzh@lll-lcc.llnl.gov