swissChili | c382994 | 2020-09-06 19:36:04 -0700 | [diff] [blame] | 1 | ;;; This program should test for a bug involving endianness. |
2 | |||||
3 | start: | ||||
4 | lda #$FF | ||||
5 | sta $200 ; Put something on the screen, just to see | ||||
6 | jmp second-pixel | ||||
7 | brk | ||||
8 | |||||
9 | second-pixel: | ||||
10 | lda #$E0 ; Red | ||||
11 | sta $201 | ||||
12 | sta $220 | ||||
13 | sta $221 ; Draw a box around the white pixel | ||||
14 | |||||
15 | loop: ; Infinite loop | ||||
16 | jmp loop |