Bochs: serial to file

This commit is contained in:
Jarkko Toivanen 2024-08-17 20:25:42 +03:00
parent f9e2dc33e9
commit 091f7cb4b8
Signed by: jt
GPG key ID: 9151B109B73ECAD5
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
mnt/
build/
bx_enh_dbg.ini
serial.out

View file

@ -11,6 +11,7 @@ image: start32.bin mount grub-cfg roska.img mnt/roska/
qemu-run: image roska.img
qemu-system-i386 roska.img -serial stdio
bochs-run: image roska.img
touch serial.out
bochs -qf bochsrc.txt
mount: roska.img mnt/
@if ! mountpoint -q "mnt/"; then \

View file

@ -10,4 +10,5 @@ ata0-master: type=disk, mode=flat, path=roska.img, cylinders=32, heads=16, spt=6
boot: disk
# Use `bximage` to get disk geometry
# TODO: Figure out how to get sensible TTY serial
# Serial is piped to serial.out for your `tail`ing sweetness
com1: enabled=1, mode=file, dev=serial.out