Run i386_pc target with bochs emulator

This commit is contained in:
2025-12-07 02:01:49 +01:00
parent 8cd6eee737
commit 149aa28836
3 changed files with 20 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
bochs.log

View File

@ -0,0 +1,14 @@
megs: 128
cpu: model=pentium
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest.bin
clock: sync=realtime
display_library: x
ata0: enabled=1
ata0-master: type=cdrom, path=out/i386_pc/mop3.iso, status=inserted
boot: cdrom
error: action=report
panic: action=report
info: action=report
debug: action=ignore
log: bochs.log

View File

@ -20,4 +20,8 @@ endif
i386_pc_qemu: $(srctree)/out/i386_pc/mop3.iso
qemu-system-i386 $(QEMU_OPTS)
.PHONY: i386_pc_qemu
i386_pc_bochs: $(srctree)/out/i386_pc/mop3.iso
rm -f $(srctree)/bochs.log
bochs -f $(srctree)/platform/i386_pc/bochsrc.txt -q
.PHONY: i386_pc_qemu i386_pc_bochs