Qemu serial stdout

This commit is contained in:
Jarkko Toivanen 2023-06-14 20:39:30 +03:00
parent 968ea605d8
commit e1230ce493
Signed by: jt
GPG key ID: 9151B109B73ECAD5

View file

@ -13,11 +13,11 @@ kernel-i386.elf: kernel.o start32.o vga.o
tcc -m32 -nostdlib -Wl,-Ttext,0x100000 start32.o kernel.o vga.o -o kernel-i386.elf
qemu-multiboot: kernel-i386.elf
qemu-system-i386 -kernel kernel-i386.elf -serial file:CON
qemu-system-i386 -kernel kernel-i386.elf -serial stdio
qemu-image: kernel-i386.elf mount
cp kernel-i386.elf mnt/
sync
qemu-system-i386 koalemos.img
qemu-system-i386 koalemos.img -serial stdio
mount: koalemos.img mnt/
@if ! mountpoint -q "mnt/"; then \