First pass at getting Acadia running under bochs.

- Create a bochs build script.
- Properly configure COM1
This commit is contained in:
Drew Galbraith 2025-05-06 22:22:02 -07:00
parent 93d1299bd9
commit 5a20c23569
9 changed files with 153 additions and 40 deletions

12
.bochsrc Normal file
View file

@ -0,0 +1,12 @@
megs: 1024
ata0-master: type=disk, path=builddbg/disk.img, mode=flat, cylinders=512, heads=16, spt=50
display_library: sdl2, options="gui_debug"
boot: disk
com1: enabled=1, mode=file, dev=serial.out, baud=9600, parity=none, bits=8, stopbits=1
cpu: model=corei7_sandy_bridge_2600k
pci: enabled=1, chipset=i440bx
log: bochs.log
# TODO: Make this portable, by building bochs locally.
romimage: file=/home/drew/opt/bochs/share/bochs/BIOS-bochs-latest
vgaromimage: file=/home/drew/opt/bochs/share/bochs/VGABIOS-lgpl-latest.bin
vga: extension=vbe