by charles » Wed Feb 04, 2009 12:05 am
yep doing it the hard way .
loading resource right from data lines.
embedding we called it ....
i tried and tried ,
and
what appears to be a easy code
to pass the tedinfo ///....///or whatever type
at a given offset///....//whatever index
to the peice address///....///appropriate address
i got the compendium out and consulting it to find items in the rsrc header
but am now boggled ,
few more tests then maybe goes on a list i have called .."areas of uncertainty"
i came to a conclusion that if i had two object trees to
pass the adress to
i would not be able to differenciate them apart!
so which adress would i be setting?
and am i iniatating the proper term setting?
which is what i made of"set" in the instructions..
because i know the rsc file is not consistant ,
it has displacement in the file where pointer to address go
for tedinfo,image icon ,,etc etc..
and all this is to create a format known as the resource.
which is what rsrc_load does at execution time/ and can not be done if the resource data is in data lines.
rsrc_saddr=this function sets the address of a resource daqta in the memory.
so would adr in the call as the last parameter
woul;d it return a adress
or
need a value to set an address?
maybe i went to far again!
charles
atari is my lifestyle,not a hobby.