Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!sdcrdcf!hplabs!decwrl!labrea!agate!web3d.berkeley.edu!laba-4an From: laba-4an@web3d.berkeley.edu (Andy McFadden) Newsgroups: comp.sys.apple Subject: Re: text files in prosel Message-ID: <8541@agate.BERKELEY.EDU> Date: 10 Apr 88 03:24:54 GMT References: <8804071428.aa09386@SMOKE.BRL.ARPA> <8705@reed.UUCP> Sender: usenet@agate.BERKELEY.EDU Reply-To: laba-4an@web3d.berkeley.edu.UUCP (Andy McFadden) Organization: University of California, Berkeley Lines: 30 Summary: more on sys files In article <8705@reed.UUCP> kamath@reed.UUCP (Sean Kamath) writes: >In article <8804071428.aa09386@SMOKE.BRL.ARPA> JDA@NIHCU.BITNET (Doug Ashbrook) writes: >>> me with. Is there any way to change a BIN file into a SYS file? Specifically > >Well, i don't know about that program, but here's what you have to worry >about: > >SYS files are supposed to load in at $200, and relocate if necessary. >SYS files are *supposed* to exit via a prodos quit call > [stuff deleted] >Sean Kamath Other things to worry about: First of all, it's $2000 (should be rather obvious :-)). SYS files are supposed to clear the system bitmap so that everything works properly. The idea is that a SYS file can be executed regardless of the state of machine. This means that you should also reset the text screen (40/80 cols, mode, etc) and make sure that, in general, everything is wonderful. If you're not sure what to do, take a look at the start of the ProDOS quit code ($d100-$d?00). Hope this helps... -- "You're in good hands with tribbles." - Not-so-serious starfleet commander