1,885
edits
Changes
→Optional: Experiments
6. Extend the previous code to draw a yellow line down the left side of the screen and a purple line down the right side.
=== Optional(Recommended): Experiments ===# Add this instruction after the <code>loop:</code> label and before the <code>sta ($40),y</code> instruction: <code>tya</code>
# What visual effect does this cause, and how many colours are on the screen? Why?
# Add this instruction after the <code>tya</code>: lsr<code>lsa</code>
# What visual effect does this cause, and how many colours are on the screen? Why?
# Repeat the above tests with two, three, four, and five <code>lsr</code> instructions in a row. Describe and explain the effect in each case.