Retro Programming

Saturday, 22 July 2017

16-Bit Xorshift Pseudorandom Numbers in Z80 Assembly

›
Xorshift is a simple, fast pseudorandom number generator developed by George Marsaglia. The generator combines three xorshift operations wh...
5 comments:
Wednesday, 19 July 2017

A Fast Z80 Integer Square Root

›
A project I'm working on needs a fast square root but I couldn't find anything suitable online. After implementing several versions ...
3 comments:
Saturday, 20 May 2017

ZX Spectrum BASIC Challenges

›
Recently I've entered a few of the programming challenges in the BASIC on the ZX Spectrum group on Facebook. They vary in difficultly b...
1 comment:
Saturday, 29 April 2017

ZX Spectrum Scanline Flood Fill

›
A flood fill is a graphical algorithm to colour an area of screen bounded by pixels of another colour. The scanline technique is a fast, sta...
2 comments:
Sunday, 29 May 2016

Divide and Conquer Line Algorithm for the ZX Spectrum

›
While attempting to write a game in 256 bytes I needed a routine to draw lines, but Bresenham's line algorithm weighs in at approx ~120 ...
4 comments:
Friday, 27 May 2016

Langton's Ant for the ZX Spectrum

›
Langton's Ant is an automata which creates a complex pattern by following a couple of simple rules: If the ant is on an empty pixel,...
Saturday, 3 October 2015

The Matrix Digital Rain for the ZX Spectrum

›
A few days ago I coded The Matrix digital rain effect, a fictional representation of the code for the virtual reality of The Matrix. The tec...
3 comments:
›
Home
View web version
Powered by Blogger.