Initial commit - Begun rewrite of website generator

This commit is contained in:
2016-10-21 20:47:34 +02:00
commit 67e817490e
133 changed files with 15248 additions and 0 deletions

42
pages/2012-06-13-Bochs.md Normal file
View File

@@ -0,0 +1,42 @@
layout: post
title: "Bochs"
subtitle: "In two versions"
tags: [osdev]
For testing out my os during development, I usually use
[Bochs](http://bochs.sourceforge.net)
I also usually compile Bochs into two versions. One that has the debugger
option enabled and one that runs entirely in a command line environment.
Let's go!
curl -L -O http://sourceforge.net/projects/bochs/files/bochs/2.5.1/bochs-2.5.1.tar.gz
tar -zxvf bochs-2.5.1.tar.gz
mkdir build-bochs
cd build-bochs
../bochs-2.5.1/configure --enable-smp --enable-cpu-level=6 --enable-all-optimizations --enable-pci --enable-vmx --enable-logging --enable-fpu --enable-sb16=dummy --enable-cdrom --disable-plugins --disable-docbook --with-term
make all
make install
{: .prettyprint .lan-sh}
And that's the terminal version. ### Important note This configure line won't
actually work. I'll update with the new one as soon as I can.
Now we move this to *bochs-term* and compile the version with the debugger.
mv /usr/local/bin/bochs /usr/local/bin/bochs-term
rm *
../bochs-2.5.1/configure --enable-smp --enable-cpu-level=6 --enable-all-optimizations --enable-pci --enable-vmx --enable-logging --enable-fpu --enable-sb16=dummy --enable-cdrom --disable-plugins --disable-docbook --enable-debugger --enable-disasm --with-x11
make all
make install
{: .prettyprint .lan-sh}
Finally, copy the bochs bioses to a public place
cp -r ../bochs-2.5.1/bios /usr/share/bochs
{: .prettyprint .lan-sh}
And that's it.