[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange clock card
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/