Sunday, May 12, 2013

Use bochs on Ubuntu

Install packages:

sudo apt-get install bochs
sudo apt-get install bochs-x
sudo apt-get install bochs-sdl
sudo apt-get install bochs-term

BIOS ROM image is installed by package bochsbios.
  -  /usr/share/bochs/BIOS-qemu-latest
  -  /usr/share/bochs/BIOS-bochs-legacy
  -  /usr/share/bochs/BIOS-bochs-latest
  -  …

/etc/bochs-init/bochsrc: is NOT loaded.

Multiple display libraries are supported (e.g. sdl, x, term). You can change it by setting "display_library".

if you use term as display library, to quit simulation, run command "kill -HUP <process_id>" in a separate console.

Create an empty floppy image: dd if=/dev/zero of=flooy-drive/floppy.img bs=512 count=1

Copy binary to the floppy image: dd if=<name>.bin of=floppy-drive/floppy.img

No comments: