6303 arithmetic: more dull than you think

Two years ago (really? Two years?) I did some writeups on performing arithmetic on the 6502 and Z80 processors in the context of my Cowgol compiler. Well, I'm now working on a code generator for the 6303, so it's time for another one!

Read more...

Cowgol 2.0: this time it's useful

I’ve just released a proper working version of Cowgol 2.0, a brand new version of my small language for small systems. Better type checking! Better syntax! Better code generation! Better compilation speed! And, ironically, this was mostly achieved by drastically simplifying it and reducing functionality…

Read more...

Jumping ahead with Cowgol 2.0

Good news! After literally years of (very on and off work), I've just release Cowgol 2.0, my very small language for very small systems! It's simpler, smaller, less complex, and is better in every way.

Read more...

Colonsay

It’s winter, which means it’s time for my yearly holiday somewhere really bleak and miserable. This time it’s Colonsay, a small island in the Inner Hebrides off the west coast of Scotland. I rented a small cottage and spent a very pleasant week there hiding from the storms in front of the solid fuel stove, and here are the photos.

[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]

Read more...

Building a keyboard from an old portable (electronic) typewriter

A while back I picked up an old Canon Typestar IV portable typewriter in a junk shop: this is one of a class of electronic typewriter known as the ‘thermal wedgie’: battery powered, printing via a thermal print head to either heat sensitive paper or with a special ribbon, they’re light, small and extremely quiet. Mine will run off rechargeable batteries. Unfortunately the ribbons are impossible to find and is it’s not valuable and I have no need for one anyway, I’ve ripped the guts out and crudely turned it into what’s turned out to be a really rather nice USB keyboard — the keyswitches are excellent.

Read more...

My new book

For years now I have had another science fiction novel tucked away in the corner of my hard drive, which has been taken out and occasionally polished a bit more before being put away again. I’ve decided that it’s now time to call it done and kick it out into the outside world, so you can now go and read Child of the Sea and the Stars on my website.

Read more...

Interlaken

I spent a weekend in Interlaken, one of the most famous mountain areas in Switzerland, and one which I’ve been not getting round to visiting for… yikes, five years.

[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]
[Photo]

Read more...