build: add rule to run kernel under Bochs

This commit is contained in:
2023-05-07 21:36:53 +01:00
parent bd26039102
commit ad2ce0b2ab
2 changed files with 61 additions and 0 deletions

View File

@@ -53,3 +53,7 @@ debug-cd-curses: $(BUILD_DIR)/socks-kernel.iso
$(QEMU) \
-cdrom $(BUILD_DIR)/socks-kernel.iso -S -s \
-display curses -serial file:$(BUILD_DIR)/socks.log $(QEMU_FLAGS) > build/qemu.log
run-bochs: $(BUILD_DIR)/socks-kernel.iso
@printf " \033[1;93mBOCHS\033[0m $<\n"
@bochs -f $(BUILD_DIR)/../tools/bochsrc.bxrc