forked from PoliEcho-holding-org/kern
Got .bin file execution working (badly). Will need to do something with syscalls probably
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
void main() {
|
||||
int wait = 0xfffffff;
|
||||
|
||||
unsigned int *vidmem = *(unsigned int**)(0x5000 + 40);
|
||||
|
||||
vidmem[8000] = 0x00ffffff;
|
||||
|
||||
while (wait != 0) wait--;
|
||||
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user