[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange clock card



finally, after days of late-night coding i finally came up with
something i'm satisfied with.  My AE Time II is now giving my apple
//e the time of day (and night).  Since this card is pretty much dumb
(no built in firmware) I had to use some method to detect it (read the
values and make sure theyre valid).  The detection method doesnt seem
to bother my //c built in peripherals, IIGS built in peripherals, and
duodisk controller, mockingboard.  Being firmwareless, I thought slot
3 of my //e would be a good place (sure enough it was). doesnt
interfere with 80 col/aux mem card.  I got the sample code from some
Mt. apple clock driver someone wrote for prodos and "stole" the main
routines (how to get the next .system file up, how to move the driver
over the built in thunderclock driver, etc).  Would anyone be
interested in this software I made? If anyone is interested, just ask.
mjmahon@aol.com (Michael J. Mahon) wrote in message news:<20030115230616.19920.00000021@mb-cu.aol.com>...
> jon@i-manila.com  (Jon Co) asked:
> 
> >Ok, I've been reading more past posts, I now know how to set and read
> >the time and date.  I think what I need now is the prodos 8 technical
> >reference manual.  Not having that, I DO have the prodos technical
> >reference manual (circa 1983 for use with workbench binder a7p0001)
> >which doesnt really have what I need (how to install a clock driver). 
> >I just need some sample code for a system file that loads into $2000,
> >relocates appropriate code over the built in thunderclock code (which
> >i read still has the pointer in $BF07-$BF08, even if there is an RTS
> >in $BF06), then runs the next .system program on the disk.  i've seen
> >an AECLK.SYSTEM in one of my disks somewhere, I need something like
> >that, umm preferably in source form and commented, I'll probably be
> >hand-assembling the code.
> >Failing that, I'd be fine with patching the prodos file on the disk,
> >how do I find where in it is the thunderclock driver?
> 
> The Thunderclock driver is in a different spot in the ProDOS image
> in the different ProDOS versions.  It is not simply moved into place,
> but is relocated, IIRC, so you'll have to understand a bit more of the
> ProDOS initialization code than you planned.
> 
> The easiest way is to do what you first suggested:  run a separate
> xxx.system program to install the clock driver and then run the
> next .system program.  This is actually what Apple recommends, too.
> 
> -michael
> 
> Check out amazing quality 8-bit Apple sound on my
> Home page:  http://members.aol.com/MJMahon/