Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!UIAMVS.BITNET!CMDNESPG From: CMDNESPG@UIAMVS.BITNET (Steven E Nelson) Newsgroups: comp.sys.apple Subject: SETUP.SYSTEM Message-ID: <8801160011.aa01018@SMOKE.BRL.ARPA> Date: 16 Jan 88 05:48:06 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 34 X-Unparsable-Date: Friday 15 Jan 88 11:09 PM CT SETUP.SYSTEM flawed? Sean Nolan published a useful program in Nov 1987 Call -APPLE called SETUP.SYSTEM and placed it in the public domain. I have found it very useful for installing my ramdisk driver for my SSD board, and my clock driver for Mountain Hardware Apple clock card at boot-up (for purist reasons I prefer not to make a permanent change to ProDOS files on my disks.) Well, I found a problem. If I put SETUP on an Appleworks startup disk, Appleworks would hang before asking for the program disk. I'm not sure which program is at fault, but I choose to change SETUP rather than Appleworks. Sorry, Sean Nolan, you asked that the program be unmodified but I can't refuse the urge. The problem is SETUP reserves pages $BD and $BE (and $BF) in the system bitmap, but does not free them before quitting. Aplworks does not clear up the bitmap soon enough (or at all?), and not being robust Aplworks hangs, rather than "erroring" out. I propose the following change: delete BD67:A9 CF 8D 6F BF (LDA #$CF, STA $BF58+23.) lines 112/113 insert before BDDB: BDD6:A9 01 8D 6F BF (LDA #1, STA $BF58+23.) lines 180.1/180.2 (note the code does not replace code at BDD6, it follows the code that was there but moved back 5 bytes in the deletion.) As far as I know now, this change will only be neccessary on appleworks startup disks. Hopefully, all other .sys files set their bitmaps correctly. If Sean Nolan reads this board, is this modification allowed? Steven E Nelson, Iowa City, IA Bitnet mail: CMDNESPG@UIAMVS