Kyle · @rheophore
100 followers · 46 posts · Server mastodon.lol

I've hacked together a vbcc backend for it, so now it can run some simple C programs. This mandelbrot program only takes twice as long as my hand-written assembly version.

#compiler #dip8 #homebrewcomputer

Last updated 3 years ago

Kyle · @rheophore
100 followers · 46 posts · Server mastodon.lol

My 8-bit TTL computer with the different sections labelled

#8bit #TTL #homebrew #retrocomputing #dip8

Last updated 3 years ago

Kyle ⚡ · @outstack
51 followers · 41 posts · Server tech.lgbt

A bit of benchmarking using a recursive fibonacci program from Byte Magazine, August 1983.

This is designed to test function calls in compiled code - one thing the design is not very good at. "call" takes 15 cycles (and 6 bytes - it's really two machine instructions, push return_addr and jmp target_addr), and "ret" takes 9 cycles.

10 iterations of fib(24) takes 19 seconds - about the same as C code on a 10 MHz 8086. I cheated by hand-writing the assembly, but still not too bad.

#dip8 #cpu

Last updated 3 years ago