I guess it barely prints a thing
This commit is contained in:
commit
f30433dd27
5 changed files with 79 additions and 0 deletions
13
Makefile
Normal file
13
Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
all: kernel-i386.elf
|
||||
clean:
|
||||
rm *.o *.elf
|
||||
|
||||
start32.o: start32.asm
|
||||
fasm start32.asm
|
||||
kernel.o: kernel.c
|
||||
../tinycc/tcc -m32 -c kernel.c
|
||||
kernel-i386.elf: kernel.o start32.o
|
||||
../tinycc/tcc -m32 -nostdlib -Wl,-Ttext,0x100000 start32.o kernel.o -o kernel-i386.elf
|
||||
|
||||
qemu: kernel-i386.elf
|
||||
qemu-system-i386 -kernel kernel-i386.elf
|
Loading…
Add table
Add a link
Reference in a new issue