mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-04 02:23:10 +00:00
18 lines
308 B
C
18 lines
308 B
C
#include "stdint.h"
|
|
|
|
void main() {
|
|
uint32_t wait = 0xfffffff;
|
|
|
|
uint32_t* vidmem = *(uint32_t**)(0x5000 + 40);
|
|
|
|
for (uint32_t x = 200; x < 400; x++) {
|
|
for (uint32_t y = 200; y < 400; y++) {
|
|
vidmem[y * 1920 + x] = 0x00ffffff;
|
|
}
|
|
}
|
|
|
|
while (wait--);
|
|
|
|
return;
|
|
}
|