ebr@io.UUCP (Evan B. Ross) (02/19/88)
How to patch FaccII to work with your hard disk. I performed the following patch on my copy of FaccII and now have it working with my harddisk. I thought I'd pass it along to help anyone else who might be brave enough to try it. I do, however, issue the following cautions: I only have one disk (dh0:). I do not know if this patch will work with more than one unit. My driver came from the Palomax -MAX- package. I don't know if this will work with other drivers. You cannot run a patched version simultaneously with an unpatched version. This means that to use FaccII to cache your harddisk, you sacrifice the ability to cache your floppies. (it could be done with additional patches, but I haven't done it yet). I've only had this working a little while, so caveat emptor. I used filezap to patch the faccii executable, so I will give the instructions in its 'language': 1) Change the driver strings. At record 8, offset 0x1e and record 9, offset 0x0c there are two asciz strings which say "trackdisk.device". Change the strings to the proper name for your driver. In my case it was "hd.device". DO NOT LENGTHEN THESE STRINGS!! You'd overwrite necessary code. 2) At record 1, offset 42 insert the following hex words: 206f, 0004, 4cef, 0201, 0008, 222f, 0010, 7001, 8142, 4eee, fe44 This overwrites the copyright string at the start of the file, and provides a 'tweaked' call to OpenDevice. FaccII tries to open the trackdisk driver with unit zero, but harddisks start at unit one. This patch performs the proper register loading, but then forces the unit number to one. 3) Patch the call to OpenDevice to use my tweaked version. Do this by changing the longword at record 7, offset 0xea from 0x00001d34 to 0x0000001a. That's all there is to it. If I come up with any further news, I'll pass it along. -- There's sparks a comin' outa' my head!!! ...!harvard!umb!ileaf!ebr Evan B. Ross, Interleaf, Cambridge, Ma ...!sun!sunne!ileaf!ebr (617)577-9813 x5570