Kernel: Add script to run bochs debugger
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -3,4 +3,6 @@ isodir
|
||||
sysroot
|
||||
.vscode/
|
||||
.idea/
|
||||
fonts/
|
||||
fonts/
|
||||
bochsrc
|
||||
bx_enh_dbg.ini
|
||||
15
bochs.sh
Executable file
15
bochs.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user