Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!sage.cc.purdue.edu!aj0 From: aj0@sage.cc.purdue.edu (Eric Mulholland) Newsgroups: comp.sys.apple Subject: Re: IIgs Software Reboot Message-ID: <3388@sage.cc.purdue.edu> Date: 16 Dec 89 02:05:37 GMT References: <1960244@mtsg.ubc.ca> Reply-To: aj0@sage.cc.purdue.edu (Eric Mulholland) Organization: Purdue University Lines: 32 In article <1960244@mtsg.ubc.ca> Les_Ferch.@MTSG.UBC.CA writes: >I completely agree. The reason I was looking for reboot code is to write a >program or programs that will automatically (and hopefully properly) switch >my operating environment on my hard drive between plain ProDOS 8 and GS/OS. [stuff on renaming files] A program called Smartboot 8/16 appeared in Nibble last summer. I don't remember which issue exactly though. The program puts a special boot block on the disk. When the disk is booted, it checks the caps lock key to see which postion it is in. Depending on that, it will either load PRODOS or SYSTEM/P8. So just setting the caps key to the operating system you want and rebooting, you get the operating system of choice. The article included three listings: hex dump, assembly source and a basic program to install it (copy it onto block zero). I have it installed on my America Online disk so I can boot into either version of the program. Since the two versions use the same data files, there is no problems. Even though customer service say this can NOT be done (according to a friend that called asking), I HAVE been doing this for months now. I perfer the look of the GSOS version of the program but the games only work from the ProDOS 8 version. Having the source code to it, the caps lock test can be changed to do whatever test you like (ex: calling a subroutine on a mindreader card plugged into slot 8). I typed in both listings just so I could compare the two binaries to verify my typing skills. After looking at the source a bit, I see a few routines that can be shorter, but for the moment, "it works," so why bother making changes (yet). -- ____ Y_,_|[]| Eric Mulholland {|_|_|__| aj0@sage.cc.purdue.edu //oo--OO ...!pur-ee!sage.cc!aj0