0 Members and 2 Guests are viewing this topic.
:If GetCalc("Pic1",768)->P:Copy(L6,P,768):Else:random stuff:End
[Pic1]->Pic1
hm hang on I have the code somewhere let me find itfound itCode: [Select][Pic1]->Pic1
<<shtuff>>VAsm(652E60227984AF327B84D7EB2323→P
:.Put this near the top of the program, and then just use PicN as the variable to hold the picture number in your program:[0760]->°Pic:[0000]->°PicN::.The actual code:If GetCalc(°Pic,768)->P:Copy(L6,P,768):Else:.Random stuff:End
:.Put this near the top of the program, and then just use PicN as the variable to hold the picture number in your program:.You can replace L2 with any free static RAM location for 4 bytes of storage:L2->°Pic+2->°PicN:ᴇ6007->Pic
:[0760]->°Pic:[0000]->°PicN
VAsm(652E60227984AF327B84D73005EF3343180778B72803EFD84FEB2323
getCalc("Pic1",756)->A (or any other pointer, Pic1 is the token)copy(L6,A,756)