List Commands Library for 50g
|
09-25-2017, 06:18 PM
Post: #164
|
|||
|
|||
RE: List Commands Library for 50g
Hello,
while this is principally possible you will soon notice, that this will result in a lot of overhead which unnecessary slows down of what your are wanting to achieve. It is a lot faster (and easier to program) to simply allocate the needed memory and than copy the wanted data there. So basically use CREATETEMP / GETTEMP / MAKE$ / MAKE$N which fit your needs best and then use MOVEDOWN or MOVEUP to copy your data from the source into the allocated memory. Ensure that you create a valid object – never ever forget the prolog (and epilogue in case of composite objects) as all objects in TEMPOB memory muse be valid. Otherwise you will run in a crash sooner or later, you have been warned. Also note, that ARM replacement version of original Saturn routines may behave different than what is given in the documentation for the Saturn routines. For example: MOVEDOWN in Emu48 behaves exactly as documented whereas MOVEDOWN in the Saturnator aka 49G+/50g does not update C.A so C.A is not equal to D1 at the end of the routine. This applies also to SKIPOB and most likely there are other routines which do behave differently. So if your working routine in Emu48 is crashing in the real 50g consider checking the appropriate registers. GOSBVL =DBUG.TOUCHE might be of help for this. HTH, Andreas http://www.software49g.gmxhome.de |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)