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