Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DIM At?
#8
Well i don't know how the compiler works (take this in mind  Smile   ) 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 Smile
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)