diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-05-14 18:41:09 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-05-14 18:41:09 +0200 |
commit | e47f8666ec59b9726cc0daee98872bdc4ea6fe3e (patch) | |
tree | 376644302801d6972e457431d573f564f2d87c4c /src/Makefile | |
parent | 5bebcc939adc868110a91b9bd0c013208f6f1779 (diff) | |
download | abaos-e47f8666ec59b9726cc0daee98872bdc4ea6fe3e.tar.gz abaos-e47f8666ec59b9726cc0daee98872bdc4ea6fe3e.tar.bz2 |
added a simple kernel console which can use VGA and the first serial port for output
(no terminal emulation, only sequential output)
shows how to intermix VGA animations and line-orinented console output
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index fed5c71..52a628b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -18,9 +18,10 @@ image.bin: boot.bin kernel.bin magic.bin boot.bin: boot.asm gdt.asm stage1_functions.asm stage2_functions.asm switch_mode.asm nasm boot.asm -f bin -o boot.bin -kernel.bin: kernel.o vga.o serial.o port.o port_asm.o string.o stdlib.o +kernel.bin: kernel.o console.o vga.o serial.o port.o port_asm.o string.o stdlib.o $(LD) -o kernel.bin -N -n -Ttext 0x8400 --oformat binary \ - kernel.o vga.o serial.o port.o port_asm.o string.o stdlib.o + kernel.o console.o vga.o serial.o port.o port_asm.o \ + string.o stdlib.o magic.bin: magic.asm nasm magic.asm -f bin -o magic.bin @@ -31,6 +32,9 @@ kernel.o: kernel.c port.o: port.c port.h $(CC) $(CFLAGS) -c -o port.o port.c +console.o: console.c console.h vga.h serial.h + $(CC) $(CFLAGS) -c -o console.o console.c + vga.o: vga.c vga.h $(CC) $(CFLAGS) -c -o vga.o vga.c |