Date: Sun, 31 Oct 1999 10:02:08 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Bill cc: djgpp AT delorie DOT com Subject: Re: Executing a program without explicitly writing to disk In-Reply-To: <00c601bf224a$55d35220$6178fea9@nd1hp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 29 Oct 1999, Bill wrote: > Is it possible for an embedded program to be executed without > writing the program to disk? > > I'm thinking perhaps of some way to issue a jump to the where > the embedded program is stored in memory and then transfer > execution back to the original program once the embedded program > has terminated. I don't understand why do you think you need to write the program to the disk. Care to explain? If you want to run a DJGPP program on a diskless machine, all you need to do is to change the stub loader so that it reads program from memory instead of a disk file.