James Stanley


Tagged: all | software | 3dprinting | electronics | science | cnc | cpu | bitcoin | puzzle | metalwork | ai | smsprivacy | philosophy | chess | futurology | clocks | keyboard | wigwag | cryptography | cybercrime | games | lawnmower | magic | protohackers | banglejs | ipfs | pikon | rc2014 | steganography | tor | ricochet

I wrote a semi-literate brainfuck compiler for CP/M
Tue 29 December 2020
Literate Programming is "a programming paradigm introduced by Donald Knuth in which a computer program is given an explanation of its logic in a natural language". It's something I've wanted to have a go at for a while but never got around to. Yesterday, for fun, I wrote a brainfuck compiler for the RC2014 and it seemed like a good fit for Literate Programming because it's short enough to get my feet wet but has enough detail that there is some interesting stuff to explain. Read more

How to copy files to/from the RC2014 using XMODEM
Mon 28 December 2020
Every time I get the RC2014 out and try to copy files to/from it, I have to relearn how to do it, so I thought it best to document what I have found to be the easiest way. Read more

My RC2014 Web Server
Tue 10 December 2019
I wrote a web server for my RC2014. It runs from CP/M, which has no built-in concept of networking, so I had to implement every layer of the networking stack, which in this case is SLIP, IP, TCP, and HTTP. It totals about 1200 lines of C, all of which was written on the RC2014 in the ZDE 1.6 text editor, and compiled with the Hi-Tech C compiler. Read more

Design and Implementation of a Z80 Computer Front Panel
Tue 12 November 2019
I designed and built a front panel for my RC2014. It allows you to view and alter the contents of memory, read and write to IO devices, and single-step through instructions. The RC2014 backplane basically just puts the Z80 CPU pins directly on the bus, so the same panel would work unmodified against almost any Z80-based computer, as long as you broke out the bus onto the 60-pin ribbon cable. Read more

The RC2014 Z80 Microcomputer
Mon 21 October 2019
I recently came across the RC2014. It is a simple computer sold in kit form, and using a Zilog Z80 CPU. Read more