mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-05-28 23:41:32 +00:00
16 lines
241 B
Plaintext
16 lines
241 B
Plaintext
.set VIDMEM, 0x20000000
|
|
|
|
mov r0, #0x884400 ; RGB value
|
|
mov r1, #VIDMEM ; memory start
|
|
LOOP2:
|
|
mov r2, #160*128 ; word count
|
|
LOOP:
|
|
str r0, [r1, r2, lsl #2]
|
|
sub r2, r2, #1
|
|
cmp r2, #0
|
|
bge LOOP
|
|
sub r0, r0, #0xff11
|
|
cmp r0, #0
|
|
bgt LOOP2
|
|
|