If you know, you know. Playing around with 6502 assembly with a pretend board.
You need clang installed
make setupmake
make setup_macmakemake run
- $ is base 16
a2 0f a0 0f a9 ff 20 0f 80 is draw a pixel.
-
a2, a0 = column and row (LDX, LDY)
-
0f, 0f = 15,15 position
-
a9, ff = set color to white (LDA)
-
20 03 80 = jump to draw pixel sub routine (subject to change if moved)
-
4c 18 80 = jump back to loop label (subject to change if moved)
00000000 4c 18 80 86 02 84 03 85 04 a2 00 a5 03 69 20 85 L............i .
00000010 03 a0 00 a5 04 91 02 60 a2 0f a0 0f a9 ff 20 03 .......`...... .
00000020 80 a2 00 a0 00 a9 ff 20 03 80 a2 1f a0 00 a9 ff ....... ........
00000030 20 03 80 a2 00 a0 1f a9 ff 20 03 80 a2 1f a0 1f ........ ......
00000040 a9 ff 20 03 80 4c 18 80 00 00 00 00 00 00 00 00 .. ..L..........
