It appears that I've become rather busy at work, so I might not get so much time to write articles for the next short while. I'll still hope to put stuff up every couple of months, so keep an eye out.

GameBoy Emulation in JavaScript: Input
19th Sep 2010
Part six of the series examines the issue of how a player interacts with the GameBoy, taking a look at the hardware layout of the keypad, and how the layout can be implemented as part of an emulator. The particular issues thrown up by a JavaScript emulation are looked at, including basic event handling and how events can be passed to the keypad handler.
GameBoy Emulation in JavaScript: Integration
5th Sep 2010
In the fifth part of the series, the graphics subsystem of the GameBoy emulator is tied to the memory handler, and a rudimentary interface provided for the activation of the emulator. This part includes a working demo of the emulator so far, as will subsequent parts.
GameBoy Emulation in JavaScript: Graphics
25th Aug 2010
The exploration of system emulation in JavaScript continues, with a detailed look at the GameBoy graphics system, and how graphics are rendered by the GameBoy hardware; a simulation of the process is then put in place for use by the wider graphics engine.
GameBoy Emulation in JavaScript: GPU Timings
14th Aug 2010
In the third part of a series regarding system emulation in JavaScript, the GameBoy as an example of a raster graphics system is looked at, and the timings established for passing of control between CPU and graphics. Also examined is the issue of where the emulated graphics code will be rendering its output, and the HTML5 canvas is introduced as a solution.
GameBoy Emulation in JavaScript: Memory
2nd Aug 2010
Continuing a series examining system emulation in JavaScript, this article examines how the GameBoy memories are mapped onto the CPU's address bus, and how such a mapping can be emulated. Also covered is the dynamic loading of program ROM images after initialisation, through asynchronous file requests.
GameBoy Emulation in JavaScript: The CPU
22nd Jul 2010
JavaScript is often perceived as a Web scripting language, with a specialist purpose of manipulating HTML pages. JavaScript is, however, a general-purpose Turing-complete language: the best way to illustrate this is to emulate another system through JavaScript. In the first of a series of articles, I'll look at how a CPU can be emulated through JS, and start building an emulation core for the GameBoy console.
Memory Usage of Constants in PHP
24th Jun 2010
PHP provides two methods of defining constants: global-scope constants and class constants. A friend of mine, while discussing the issue with Derick Rethans, was informed that class constants are more memory efficient; this article documents my investigation into the reasons behind that assertion.
Venn Diagrams in PHP and imagick
20th May 2010
Visualising the overlap between two sets of data is often achieved through Venn diagrams, but such diagrams can be difficult to render in a web development environment. This article covers the mathematics and geometry behind the Venn diagram, and a simple implementation of the algorithms involved in calculating the appropriate dimensions.
2nd May 2010
A curious trespasser investigates the nuclear fallout zone around Cheyenne Mountain. First published in the My Writers Circle "Rascals" anthology; flash fiction.
New Science
15th Mar 2010
Winning entry for a writing contest, with the length stipulation of exactly 100 words. First published by My Writers Circle; flash fiction.
Get the RSS feed