Date: Sat, 28 May 88 08:06:38 EST Reply-To: Apple II List Sender: Apple II List Comments: Resent-From: Christopher Chung Comments: Originally-From: From: Christopher Chung Subject: Apple ][s No.Slot.Clock ProDOS patch (Source and Binary) Date: 18 May 88 6:42 -0600 From: kamath@reed.UUCP To: info-apple2-l@ean.ubc.ca Reply-To: kamath@reed.UUCP Message-ID: <9359@reed.UUCP> >Path: ubc-cs!uw-beaver!tektronix!reed!kamath >Newsgroups: comp.binaries.apple2 >Organization: Reed College, Portland OR >Lines: 159 OK, I screwed up. This went to comp.sys.apple instead of here. Well, hope no one was inconvenienced. (OK, I'm to lazy to run this though spell. . .) Well, I got enough requests, so I'm posting. Besides, it'll be good to get somethng out there besides GIF and GS pictures. . . :-) This is the NEW prodos clock routine for the SMT no-slot clock. I don't know whether they are shipping a new version or not, But I do know that the latest I got from them was broken. Basically, they swapped in the internal CX rom to read the clock, but don't switch it back out if it need to be. Unfortunately, since AppleWorks updates the time *AFTER* it turns on my printer card, when it goes to print the first char after reading the time, it dies a horrible lingering death (actaully, it's quite sudden an obnoxious.) So, I made it do the right thing. With the help of AAL's BCD conversion routine, I was actaully able to add the 11 bytes for the lda-pha-pla-rol-bmi-sta and still come up 4 bytes shorter then the original 125 bytes. . . Weee! And my friend laugh at me for having so much fun! In any case, the actaul patching of ProDOS won't be quite so fun. I really don't know ProDOS well enough to write a patching routine. . . I *DO* know that if you are using ProDOS 1.4, that this patch will be at $5100 if you bload prodos,tsys,a$2000. Then you can just bsave prodos after unlocking it. If that ain't good enough, here's how I actually patched it. At BF07-BF08 is the address of the clock routine. If you flip the softswitches ($C089), store the monitor in the RAM (f800