1)Where in the code we should do things like:
-initialising a variable to ZERO or its initial value
-assigning initial values to pointers
etc.
2)What are the memory locations\registers one should not write to when the PPU is drawing? What are the things for which we have to wait for HBlank and VBlank.
3)I assume the code that updates RAM\work RAM can run anytime(i.e. irrespective of whether PPU is drawing or not). Please correct me If I am not.
-initialising a variable to ZERO or its initial value
-assigning initial values to pointers
etc.
2)What are the memory locations\registers one should not write to when the PPU is drawing? What are the things for which we have to wait for HBlank and VBlank.
3)I assume the code that updates RAM\work RAM can run anytime(i.e. irrespective of whether PPU is drawing or not). Please correct me If I am not.