Inspired by http://www.jamesmolloy.co.uk/tutorial_html/ Setup apt-get install bochs nasm bochs-x Note that I needed to: export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libXpm.so.4 or switch bochs to use SDL instead.