Re: A92: Let's talk serious now.


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

Re: A92: Let's talk serious now.




Adam Kavan wrote:
> 
> Dennis Ng wrote:
> >
> > Alrighty, do anyone want to show me the REAL way to execute programs in ASM.
> 
> Since you asked so nicley, it is a call to the core if yyou want to run
> an assembly program from an assembly program. I dn't know the exact call
> so I guess you'll just have to cuss me out.  But you can find it in the
> docs that came with fargo.
> 
> Adam Kavan
> 
> P.S. In a shorter form RTFM.

Actually, I think the relevant "docs" are in the ROMLIB.FN file - not
that obvious. You just set up a pointer to a "string" and call FIND_VAR
to get the variable handle, then it's up to you what you want to do with
it (alter it, examine it, execute it). It's when  you want to find a
variable by name but it's not in the "main" folder it gets a little
tricky. You can either search all folders (a previous post described how
to identify folders) or use VarLib (never did this myself).


References: