cs325ec@ux1.cso.uiuc.edu (03/27/90)
Anybody have a TOS.IMG loader they could email me or know the location of an FTP that has one? Can I just malloc the memory, load in TOS and jump to its starting address? -- Greg
hcj@lzsc.ATT.COM (HC Johnson) (03/27/90)
In article <16000029@ux1.cso.uiuc.edu>, cs325ec@ux1.cso.uiuc.edu writes: > Anybody have a TOS.IMG loader they could email me or know > the location of an FTP that has one? > > Can I just malloc the memory, load in TOS and jump to its > starting address? > Pexec does this for you. Its normal mode is : Pexec(0,...) : loads; starts; frees memory on exit. This is NORMAL. Pexec(3,...) : Loads; does NOT start yet. Pexec(4,...) : Start it now, its already loaded. Debuggers use this. Pexec(5,...) : Lets you do your own loading into a TOS image. Pexec(6,...) : Like 4, but different memory ownership. Howard C. Johnson ATT Bell Labs att!lzsc!hcj hcj@lzsc.att.com