From 95ef09da4b515d5a3338c2b977659efa73f859e5 Mon Sep 17 00:00:00 2001 From: Malo Lecomte Date: Mon, 12 Jul 2021 18:40:23 +0200 Subject: [PATCH] feat: add .bochsrc given file --- .bochsrc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .bochsrc diff --git a/.bochsrc b/.bochsrc new file mode 100644 index 0000000..10c2e4f --- /dev/null +++ b/.bochsrc @@ -0,0 +1,27 @@ +# # start a fancy GUI +# display_library: x, options="gui_debug" + +# Have a sane clock +clock: sync=realtime + +# # start a GDB server +# gdbstub: enabled=1, port=1234, text_base=0, data_base=0, bss_base=0 + +# configure the disk drive +ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 +ata0-master: type=cdrom, path="k.iso", status=inserted +boot: cdrom + +# write serial logs to stdout +com1: enabled=1, mode=file, dev=/dev/stdout + + +# log: out.log +# #debugger_out: /dev/stdout + +# # super userful option here, you can find all modules here http://bochs.sourceforge.net/doc/docbook/user/howto.html#LOGOPTS-BY-DEVICE +# # cpu0 and harddrv are the most useful +# debug: action=ignore, harddrv=report, hdimage=report #, cpu0=report +# info: action=ignore, cpu0=report +# error: action=report +# panic: action=ask