Question: Pixel Plaid please use the atari 6502 http://pixelatedrobot.com/6502js/ For your second programming assignment, I want you to make a loop that will fill the entire

Pixel Plaid

please use the atari 6502 http://pixelatedrobot.com/6502js/

For your second programming assignment, I want you to make a loop that will fill the entire display of pixels with a solid color supported by 6502js, then draw both a couple of vertical and horizontal lines over it making a checkered plaid pattern. Keep in mind that the pixel display is addressable with 4 digits starting at $0200 through $05FF. Taking what youve learned about subroutines, jumping, indirect addressing and more, come up with a solution for this problem. Get creative. Although you have a limited color palette go nuts! The key thing is remember youre going to have to store a high byte and a low byte. Youll have a loop that increments the low byte, but when its about to roll over from FF to 00, youll increment the high byte.

Notes

Make sure you're using loops.

The pixel display is 32 by 32 (or 20 in hex).

The pixels are drawn from the values in memory starting at $0200 to $05FF.

Do not overwrite memory from $0600 on, that is where your program is store in memory once assembled.

You should make use of indirect addressing to color in the pixel display.

You can't increment the A register, only the X and Y register.

You can increment memory addresses directly.

Remember how you branch and loop. This will be key

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!