Re: A83: Re: Program Help/External Programs/SOS Concepts.


[Prev][Next][Index][Thread]

Re: A83: Re: Program Help/External Programs/SOS Concepts.




Can you use ROM calls in SOS libraries?  Or could you call a routine to your
current program from a library if you knew the exact location?  For example if
you had a routine right underneath the SOS header stuff you'd know the exact
address of the routine.  This could be a simple computational routine (with
some manipulation of the stack) that would then in turn call or JP a routine
in the library.

Brandon
Sterner

In a message dated 3/15/99 8:13:36 PM Eastern Standard Time, joewing@usmo.com
writes:
<< You can't use insertmem/deletemem because SOS makes the VAT data somewhat
 incorrect.
 It is possible to use calls and jumps with relative addressing, I believe
ZShell
 manages to do this, but it uses more memory and takes more time. You could do
 this by having your main program set up the necessary calls in a safe memory
 area.
 Anyway, there is a good way of adding free memory to the end of your program.
 Check out the source to SQRXZ, it uses a this method.
 
 Joe Wingbermuehle
 http://joewing.calc.org >>