Cowgol 0.5 released!

I’ve just released version 0.5 of Cowgol, my new Ada-inspired programming language. It’s not just for the 6502 on the 6502, it’s for the Z80 on the Z80 as well! And, if you’re masochistic, for the 6502 on the Z80 and for the Z80 on the 6502 too (I build all the cross compilers).

Read more...

Z80 arithmetic: also surprisingly terrible

After getting the 6502 code generator for my Cowgol compiler working pretty well, I've been working on a code generator for the Z80, targeting CP/M. Oh, boy. I thought the 6502 was hard to generate code for...

Read more...

Cowgol 0.4 released!

I’ve just released version 0.4 of Cowgol, my new Ada-inspired programming language for the 6502 on the 6502! Now with much better code generation!

Read more...

jpegfinder vs. the Hubsan H107D

I have an FPV drone: a Hubsan H107D. It’s a great little thing. It’s only got two problems. Firstly: I’m really bad at flying it; and secondly, if I tell it to record video the files are hopelessly corrupt and unreadable. I had to write a program to fix them.

Read more...

6502 arithmetic and why it is terrible

So I've been working on a compiler called Cowgol. This is intended to produce code for very small 8-bit machines, primarily the 6502 (because I grew up on BBC Micros, and also because I'm apparently a masochist). This is turning out to be rather hard.

Read more...

Cowgol 0.2 released!

I’ve just released version 0.2 of Cowgol, my new Ada-inspired programming language for the 6502 on the 6502! Now with fewer bugs! In fact, I fixed some bugs which should have prevented the previous version from working at all, but let’s not talk about that… native compilation on the BBC Micro, and now with incredibly basic Commodore 64 cross-compilation support!

Read more...

Christmas holiday on Iona

Every year before Christmas I spend a short week somewhere really bleak and miserable. This year it’s Iona, a small island off the coast off a bigger island off the coast of Scotland.

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

Read more...