This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am grosshei on github. | |
* I am grosshei (https://keybase.io/grosshei) on keybase. | |
* I have a public key ASAeDPzb8QuFmhbC_wC9BfW_71x0KnZztTEarOAfOh1WXAo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
char a[] = {0b01101001, 0b01101101, 0b01100001, 0b01100111, | |
0b01101001, 0b01101110, 0b01100101, 0}; | |
char b[] = {0b01101001, 0b01101110, 0b01110110, 0b01100101, | |
0b01101110, 0b01110100, 0}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sudo port -v install libsdl_image-framework libsdl_ttf-framework | |
# sudo port -v install libsdl-framework | |
install_name_tool -change "@executable_path/../Frameworks/SDL.framework/Versions/A/SDL" "/opt/local/Library/Frameworks/SDL.framework/Versions/A/SDL" dwarfort.exe | |
install_name_tool -change @executable_path/../Frameworks/SDL_image.framework/Versions/A/SDL_image /opt/local/Library/Frameworks/SDL_image.framework/Versions/A/SDL_image dwarfort.exe | |
install_name_tool -change @executable_path/../Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf /opt/local/Library/Frameworks/SDL_ttf.framework/Versions/A/SDL_ttf dwarfort.exe | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC=i386-elf-gcc | |
LD=i386-elf-ld | |
QEMU=qemu-system-i386 | |
all: kernel | |
kasm.o: kernel.asm | |
nasm -f elf32 $< -o $@ | |
kc.o: kernel.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFLAGS+=-g | |
all: gahelloworld |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigraph: trigraph.c | |
gcc -trigraphs -o trigraph trigraph.c |