Get the latest tech news

“PET-Globe” Demo


An avidly spinning globe for the Commodore PET - and some bit-vectors.

So I rather built a tiny web page, which first samples and rendered a world map to a suitable size and then exported this as ASCII strings, an easily editable format (and also appropriately old-school), which was used for any further steps. Which can be done by taking over the system interrupt, which triggers exactly at the start of V-BLANK.Our efforts won’t be lost to more recent editions of the PET, featuring faster dynamic RAM, where this V-sync will prevent “screen tearing”, the nemesis of all computer animation. There are some obvious opportunities to improve on our sampling routine in terms of run time and cycle counts, but we’re kind of relaxed towards this, since(a) we’ll have to wait for V-BLANK anyways (and we’re hardly going to win an entire 60Hz frame), and(b) our rendering speed is already quite fine as-is.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Pet-Globe

Pet-Globe