Based on JamesM's work
To use bochs, you need to install x windows or sdl display library. To use sdl, you need to specify in the bochsrc.txt:
display_library: sdl
What's more, you may need to check out you own bochs installation position to find a proper romimage and vgaromimage.
QEMU doesn't need any configution file, all are done in command options.
cdintosrcandmakethe kernelsh update_image.sh- Bochs:
sh run_bochs.sh - QEMU:
sh run_qemu.sh
Everytime you recompiled the kernel or other stuff, you need to repeat the above process.
Just gdb after the kernel is launched, the session between debugger and qemu will be configured automatically.
Compile the make_initrd normally, use it like:
make_initrd test1.txt test1.txt test2.txt test2.txt
You have to mkfifo serial.pipe under the JKernel/, and use cat < serial.pipe to listen to the input, use echo "info" > serial.pipe to send information to kernel.
I might develop a serial shell oneday.
Part of the test could be done easily by QEMU's monitor, which is opened by default, plus the power of gdb.
But I am currently developing some functions to show the kernel's status by serial communication.