Added bochs support

This commit is contained in:
lucic71 2020-06-30 15:16:31 +03:00
parent 0068bc77d5
commit 31c981b6b7
2 changed files with 17 additions and 0 deletions

7
bochs.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
. ./iso.sh
BOCHS_CONFIG_FILE=bochs/bochsrc.txt
bochs -f ${BOCHS_CONFIG_FILE} -q

10
bochs/bochsrc.txt Normal file
View File

@ -0,0 +1,10 @@
megs: 32
display_library: sdl
romimage: file=/usr/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/bochs/VGABIOS-lgpl-latest
ata0-master: type=cdrom, path=os.iso, status=inserted
boot: cdrom
log: ./bochs/bochslog.txt
clock: sync=realtime, time0=local
cpu: count=1, ips=1000000
magic_break: enabled=1