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:
- The user interface feels light and intuitive
- 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>”
- I don’t like Chromium as it is quite the pig when it comes to resources
- 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:
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
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