forked from Bananymous/banan-os
Kernel: Add script to run bochs debugger
This commit is contained in:
parent
5106552bfd
commit
73cd08fa51
|
@ -3,4 +3,6 @@ isodir
|
|||
sysroot
|
||||
.vscode/
|
||||
.idea/
|
||||
fonts/
|
||||
fonts/
|
||||
bochsrc
|
||||
bx_enh_dbg.ini
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
. ./iso.sh
|
||||
|
||||
cat > bochsrc << EOF
|
||||
ata0-master: type=cdrom, path=banan-os.iso, status=inserted
|
||||
boot: cdrom
|
||||
clock: sync=realtime, time0=local
|
||||
display_library: x, options="gui_debug"
|
||||
magic_break: enabled=1
|
||||
megs: 128
|
||||
com1: enabled=1, mode=term, dev=/dev/pts/2
|
||||
EOF
|
||||
|
||||
bochs -q
|
Loading…
Reference in New Issue