forked from AbleOS/ableos
16 lines
246 B
Plaintext
16 lines
246 B
Plaintext
frame_buffer := @as(^u8, @bitcast(18446603339442421760))
|
|
|
|
main := fn(): int {
|
|
color := 17
|
|
loop {
|
|
len := 786432 * 4 + 1
|
|
loop if len == 0 break else {
|
|
fb := frame_buffer + len;
|
|
*fb = color
|
|
len -= 1
|
|
color += len
|
|
}
|
|
}
|
|
return 0
|
|
}
|