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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started