Re: A83: Writing to Y1.


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

Re: A83: Writing to Y1.




> Set OP1 to the name of equation Y1 (explained in tokens.inc), call
> _chkfindsym, get  the size of the variablle (word pointed to by de), put the
> size in hl and the address of the data after the size word (was: de+2), call
> _delmem. Then use the same de, set hl to the size of your equation, call
> _insertmem. Then ldir your equation into the newly allocated memory. Write the
> size of your equation into the first two bytes of the data (2 bytes before
> what you ldir:ed). If your equation uses other variables than x, look up the
> symtab entry for each one of them and set the graphref bit.

Ok, I'll try that.  Thanks.  But how would I do:

> If your equation uses other variables than x, look up the
> symtab entry for each one of them and set the graphref bit.

...that :)

Later,

James.


Follow-Ups: