972
edits
[unchecked revision] | [unchecked revision] |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
||
Line 77:
Create a file with that content:
<
const char msg1[] = "Hello protected-mode text world! please reboot ...";
#define STACKSIZE 64 * 1024
Line 97:
continue;
}
</syntaxhighlight>
Then compile it like (you may need to add "-fno-stack-protector" too, distribution dependant):
Line 128:
Just create a file which [http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/g/project/gu/gujin/gujin/2.8.2/gujin-2.8.2.tar.gz/gujin/hello_bios.c?extract=true contains]:
<
/* hello_bios.c - public domain - no support whatsoever */
Line 223:
return 0xA0000000; /* to return to Gujin menu, do not display "press a key to continue" */
}
</syntaxhighlight>
And then compile it by:
|