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