's Avatar

@peteronion

Retired (early) Software Eng. G0DZB occasionally /P on HF. Discoverer of the PI 2 Xenon Death Flash. Looks after the Elliott 803 at TNMOC

187
Followers
23
Following
733
Posts
13.11.2024
Joined
Posts Following

Latest posts by @peteronion

Post image Post image

This is the manual for the Elliott 803 library subroutine D2. It was implementing this sorting algorithm in 803 machine code that lead to Tony Hoare suggesting to his boss that he had a better algorithm, which turned out to be quicksort.

11.03.2026 12:34 ๐Ÿ‘ 4 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

Sad to hear of the passing of Tony Hoare. I only met him once at a CCS meeting at the Science Museum celebrating Algol-60. Tony and his team wrote the Algol-60 compiler for the Elliott 803, which we still use today at TNMOC. The "team" kindly signed my copy of the 803 Algol manual.

11.03.2026 10:21 ๐Ÿ‘ 9 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

โœ…

09.03.2026 15:49 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

That should ensure some dry weather for a while ๐Ÿคฆโ€โ™‚๏ธ

09.03.2026 15:05 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

Some experiments with finding intersections between triangles.

05.03.2026 16:23 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

Tools to help with thinking about how to draw 3D triangles :-)

04.03.2026 12:54 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Triangle fill ported from the driver for my RC2014 VDU.
Now to sort out the drawing order.

04.03.2026 10:32 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Yes, it's a bit of a step back in time. A better CPU than a 1980 home computer, 320x240 16bpp, but still not as good as a GPU, so still need something better than a per pixel sledge hammer using a z-buffer.

03.03.2026 12:21 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Z sorting is def. part of the solution, with additional check only done between triangles A and B when they overlap and zmin(A) > zmax(B). But detecting overlaping is not trivial !

03.03.2026 11:50 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

You are right, but since I only want to draw low-poly objects it feels wrong to be doing anything per pixel rather than per vertex, per edge or per triangle.

03.03.2026 11:18 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Badgeware Tufty A smart interactive badge with colour 2.8" TFT display, powered by Raspberry Pi RP2350.

Pimoroni Tufty2350 in C shop.pimoroni.com/products/tuf...

03.03.2026 10:44 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

It's the "needs to be convex" constraint that I want to avoid !

03.03.2026 10:21 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

That will do "back face culling", but what about overlapping triangles ? Do you use some sort of Z buffer as well ?

03.03.2026 10:02 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

@breakintoprogram.co.uk What techniques did you use for hidden surface removal in your Next 3D library ?

03.03.2026 09:07 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

I finally remembered how to do rotations properly :-)

02.03.2026 08:52 ๐Ÿ‘ 7 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I have mastered it several times in the past, but it's one of those things you instantly forget about once the code is working ๐Ÿคฆโ€โ™‚๏ธ

01.03.2026 11:15 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

"I don't know what the programming language of the future for supercomputing will look like - but I know it will still be called FORTRAN!"

01.03.2026 11:14 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Not for the first time, rotations in 3D space are "doing my head in"

01.03.2026 10:57 ๐Ÿ‘ 10 ๐Ÿ” 0 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0

Still a youngster then :-)

01.03.2026 10:52 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

A bit of 3D fun with github.com/recp/cglm

28.02.2026 20:52 ๐Ÿ‘ 8 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

The rose seeds that have been in my fridge all winter have started to germinate :-)

28.02.2026 10:11 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

@pimoroni.com I've been working on a C API for the Tufty2350 display, and the basics are now working :-)

27.02.2026 16:13 ๐Ÿ‘ 13 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

Maybe not very exciting, but it's working :-)

27.02.2026 16:06 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Nearly there :-)

27.02.2026 10:56 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Adafruit Fruit Jam - Mini RP2350 Computer A credit card sized mini computer with DVI output and jam packed with fun hardware.

I might have to get one of these ! shop.pimoroni.com/products/ada...

26.02.2026 17:27 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I'm in unfamiliar territory today. I'm developing a C wrapper for the Pimoroni C++ libraries for the Tufty2350. So far I have some "proof of concept" code running on a PICO2 which calls a C++ class constructor from a C programme.

26.02.2026 14:36 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Today's Start Trek Academy, Wow, just wow.... :-)

26.02.2026 09:16 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Spring is in the air here, so I've been out doing some gardening, well mostly pruning, trimming, dead heading and weeding.

25.02.2026 15:08 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Yes that's how I started :-) I would suggest trying a simple output port next. But you will need to use some clever PIO code to get the access time down when acting as ROM, but I can share some code for that when you are ready.

24.02.2026 17:46 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

It's only a bit more work to make the PICO act as a peripheral, or as a block of memory, then you can make the programme loading process much easier :-0)

24.02.2026 17:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0