11 lines
329 B
NASM
11 lines
329 B
NASM
|
ldi ra, 0b10100000 ; load the num for red and blue into ra
|
||
|
mrm 0x001, ra
|
||
|
mrm 0x003, ra
|
||
|
mrm 0x01e, ra
|
||
|
mrm 0x02e, ra
|
||
|
mrm 0x02f, ra
|
||
|
mrm 0x030, ra
|
||
|
mrm 0x031, ra
|
||
|
mrm 0x023, ra
|
||
|
; Draw a teal smiley face in the top left corner of the framebuffer
|
||
|
; See the spreadsheet (Memory Mapped Framebuffer) for the chart I used to get these values
|