11-22-2019, 02:49 PM
Well i don't know how the compiler works (take this in mind
) and i don't know if it's about pointers but "MAYBE" can do something like this
if i found a DIM with AT ( first i look for all of them)
1) i copy the bytes of the dim (or others AT) at the position of the AT
or something like this or reserve space for this for write it after
or an array of holes with data
2) i calculate the holes of empty memory to put the "normal" stuff
maybe can make an array of empty memory holes
end if
if i found other stuff without AT
i put this things on the empty memory holes in order
end if
I don't know if something like this can work with the compilator
This way the program saves bytes from memory and from the program to copy bytes to other locations
OR maybe another way
1) DIM AT
2) the compiler move the data to the AT place
3) the programmer knows that CAN'T use the array in a normal way to acces the values of the DIM (can't use array(2,3) per example)
but is useful for example for poke directly some memory address like UDG
by the way great compiler

if i found a DIM with AT ( first i look for all of them)
1) i copy the bytes of the dim (or others AT) at the position of the AT
or something like this or reserve space for this for write it after
or an array of holes with data
2) i calculate the holes of empty memory to put the "normal" stuff
maybe can make an array of empty memory holes
end if
if i found other stuff without AT
i put this things on the empty memory holes in order
end if
I don't know if something like this can work with the compilator
This way the program saves bytes from memory and from the program to copy bytes to other locations
OR maybe another way
1) DIM AT
2) the compiler move the data to the AT place
3) the programmer knows that CAN'T use the array in a normal way to acces the values of the DIM (can't use array(2,3) per example)
but is useful for example for poke directly some memory address like UDG
by the way great compiler
