Learning Assembly, #21

Today I continued learning about horizontal positioning! So, more about horizontal positioning. The shortest loop to wait on the beam uses 15 pixels per loop. I can set the position of objects using the loop, but I need something else in order to set their position between those 15 pixel increments. The TIA chip has registers to adjust the position of screen objects by 15 pixels. So it looks something like this: loop to set the rough position and then set the offset in the TIA registers. 15 pixel increments and then adjust. The cool part is that performing the division I need to determine the fine adjustment uses the right amount of time to set the rough position!

Leave a comment

Your email address will not be published. Required fields are marked *


Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.