Raspbian PIXEL x86 Part 1


Featured Image from ME

As mentioned in my previous post, I’ve been working with Raspbian PIXEL for x86 architecture.  From the start, always run:

sudo apt-get update
sudo apt-get upgrade

The particular project I have in mind is something for later discussion, but thus far I have observed the following from the OS, environment, and overall usage of this x86 port of Raspbian for my development purposes:

  1. The user interface feels light and intuitive
  2. All the packages I would need for Debian-based compiling (etc) are either installed or can be installed with a simple “sudo apt-get install <blah>”
  3. I don’t like Chromium as it is quite the pig when it comes to resources
  4. I successfully compiled Caprice32 – an Amstrad emulator – and hacked out my own version of Conway’s Game of Life


Coding in a Basic (Locomotive Basic 1.1) interpreter was easy.  Compiling Caprice32, which I am shocked is not a part of the Debian Games and Emulation Tasks (for packaging), took a few steps.

To compile Caprice32 as so it uses a non-French language or keyboard, just run through the following actions:

Open a terminal as we will need this quite often.

Always navigate home from within the terminal:

cd ~

Using Chromium, download the source (in ZIP format) from https://github.com/ColinPitrat/caprice32

Using the terminal, you can MV (move) or CP (copy) the master branch zip file you downloaded from your home/Downloads/ directory.  However, I always make a directory to work in as to not explode bits all over the place:

cd ~
mkdir caprice32
cd caprice32/
cp ../Downloads/<name of zip file>.zip .
unzip <name of zip file>.zip

Before you get compile happy, execute the following for needed dependencies:

sudo apt-get install libsdl1.2-dev 
sudo apt-get install debhelper
Once the SDL libs and debhelper packages have been installed, you can now build Caprice32 by executing:
dpkg-buildpackage -rfakeroot -uc -us

After compilation, there should exist now exist a file entitled “cap32.cfg”.  It is the heart of how the emulator understands how to perform, what keyboard, language, and other resources to use.

If you have set your local to France and have a French keyboard, ignore this.  However, if you are not French, edit this file: changing all instances of “keyboard=1″ to “keyboard=0” as this will use the native keyboard and locale, namely English (as set by me for the OS), instead of defaulting to a French-based keyboard!

Once saved, simply execute the following and enjoy a bit of Amstrad!


–JK Benedict | @xenfomation



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s