1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/sysdata/programs/fb_driver/src/main.hb

16 lines
260 B
Plaintext
Raw Normal View History

2024-06-14 11:48:53 -05:00
main := fn(): int {
2024-07-07 08:35:07 -05:00
frame_buffer := @as(^u8, @bitcast(18446603339442421760));
color := 17;
loop {
len := (786432 * 4)+1;
loop if len == 0 break else {
fb := frame_buffer + len;
*fb = color;
len = len - 1;
color += len;
}
}
return 0;
2024-05-23 16:59:17 -05:00
}