Re: LF: Exit to Fargo shell, not OS
[Prev][Next][Index][Thread]
Re: LF: Exit to Fargo shell, not OS
So is this what I would do to boot up fargo shell instead of leaving to
normal OS?
Prog_code:
....
exit:
exec(int handle) ;except this will not compile with a68k errors out.
...
end
I probably have this wrong altogether. correct me if needed!
On Tue, 10 Dec 1996 20:42:25 -0500 Jake Robb <jake@netrus.net> writes:
>Brent Grigg wrote:
>>
>> If I was to rename a program, such as bd.92p to shell.92p, then when
>> shift+on was pressed, bd would run. when bd was done, it would exit
>out
>> to the OS. Is there ANY way for it to instead exit or boot up the
>fargo
>> shell? That way once you name bd as shell, after you run it you can
>play
>> a different game.
>
>There is a command in CORELib, exec().
>
>EXERPT FROM CORELIB.FN:
>;-----------------------------------------------------------------
>;exec(int handle)
>;
>; Function: execute Fargo program
>;
>; Return: D1-D7/A0-A6 destroyed
>; success: D0.L = zero
>; failure: D0.L = nonzero
>;
>; Note: Function assumes that {handle} points to a valid Fargo
>program;
>no
>; signature checking is done.
>;----------------------------------------------------------------
>
>I think you could do what you want with that.
>--
>Jake Robb
>
Follow-Ups:
References: