![]() ![]() The processor then starts executing the program at location $1000 (as above). In the above output, the 6502 reads $FFFC and $FFFD and gets $00 and $10 (Low byte, High byte) which is the start of the program at $1000. As there are no physical addresses for the the 6502 to read, we have to supply them from the MEGA. When Reset is pressed, the processor goes through 7 cycles and then it looks for the start of the program in locations $FFFC and $FFFD. You should get a similar output on the Serial Monitor like the one above. The LEDS will show what is on the data bus.Īt this stage it would be as well to set the delays in the Loop() to 500 or more, to follow what is happening. If you are using the 8 way marquee (as above), it can be inserted straight into the breadboard and the fly lead connected to ground, or you can use 8 LEDs and resistors. At this stage the 6502 will work and program1 can be used.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |