lab2
This blog is mainly focus on the lab2 which has provided the original code of a sharp with blue color move diagonal in the image. And in the class, we use the mob programming to finish the work. Me as the presenter who just watch and give suggestion to the driver who shared their screen and modify the orginal code. We have three tasks for this lab. The first one is selecting a starting position for X and Y with different position. This is quite easily to solve. We have just changed the line of code LDA #$00 STA XPOS STA YPOS to LDA #$05 STA XPOS LDA #$0A STA YPOS This allow us to change the X position to 5 and Y position to 10. And the next question is selecting a X increment that is -1 or +1 and Y increment that is -1 or 1. This question is also not difficult. We can first define the x increment and y increment at top of the code like define X_INCREMENT $...