1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/sysdata/programs/fb_driver/src/main.hb

17 lines
339 B
Plaintext
Raw Normal View History

2024-06-14 11:48:53 -05:00
main := fn(): int {
2024-07-06 11:23:44 -05:00
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;
}
2024-05-23 16:59:17 -05:00
}
return 0;
}
2024-06-14 11:48:53 -05:00