Changed console to write to both the buffer and the screen if currently active

This commit is contained in:
iDunnoDev
2022-12-12 16:40:38 +00:00
committed by iDunnoDev
parent 05c1a1fe28
commit 5b21654261
4 changed files with 107 additions and 65 deletions

View File

@ -223,8 +223,8 @@ QEMUGDB = $(shell if $(QEMU) -help | grep -q '^-gdb'; \
then echo "-gdb tcp::$(GDBPORT)"; \
else echo "-s -p $(GDBPORT)"; fi)
ifndef CPUS
#CPUS := 2
CPUS := 1
CPUS := 2
#CPUS := 1
endif
QEMUOPTS = -drive file=fs.img,index=1,media=disk,format=raw -drive file=xv6.img,index=0,media=disk,format=raw -smp $(CPUS) -m 512 $(QEMUEXTRA)