Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!marque!studsys!jetzer From: jetzer@studsys.mu.edu (Mike Jetzer) Newsgroups: comp.sys.apple Subject: Re: Ending a SYS file Message-ID: <931@studsys.mu.edu> Date: 15 Feb 90 02:27:22 GMT References: <90044.234706ART100@psuvm.psu.edu> <22086@pasteur.Berkeley.EDU> Reply-To: jetzer@studsys.UUCP (Mike Jetzer) Organization: Marquette University - Milwaukee, Wisconsin Lines: 19 In article <22086@pasteur.Berkeley.EDU> fadden@cory.Berkeley.EDU.UUCP (Andy McFadden) writes: >Executing another system file: >1) Read the file into memory at $2000 >2) jmp $2000 >The read routine isn't hard to code... just do a GET_EOF on the file >and then do a READ for that number of bytes. Add a few OPENs and CLOSEs, >and you're all set. Even easier: Never mind the GET_EOF call; just request $FFFF bytes. If the read is successful, and it read more than $0000 bytes, there you have it! -- Mike Jetzer "Hack first, ask questions later."