Bringing modern protocols and techniques to vintage computers is a favorite pastime for hackers, and over the years we’ve seen some absolutely incredible hardware and software projects designed specifically to do what most people would consider impossible. They’re very rarely practical projects, of course. But that’s never really the point.
Today we present another excellent entry into this niche avenue of hacking: Renderific, a tool to render SVGs on 8-bit Atari computers by [Kevin Savetz]. The MIT licensed program is written in Turbo-BASIC XL and allows computers such the 1200XL and 800XL to not only render the image on screen but output it to an attached plotter. There are a few niggling issues with some files, and apparently the plotter draws the image upside-down for some reason, but on the whole we can now add “SVG Rendering” to the list of things you can do with a nearly 40-year-old computer.
Of course, those who are familiar with these 1980’s machines might wonder how their limited CPUs can possibly cope with such a task. Well, that’s where the impracticality comes in. According to [Kevin], you can be in for quite a wait depending on the complexity of the image. In his tests, some SVGs took up to 45 minutes to fully render on the screen, so you might want to have a snack handy.
If you’re interested in lending a hand with the project, it sounds as though [Kevin] could use some assistance in figuring out why the Atari 1020 plotter doesn’t like the output of his program. There’s also a few SVG functions and forms of BĂ©zier curves that need some work if you’ve got your Turbo-BASIC XL programming books handy.
Will you ever have a need to view SVG files on an Atari 1200XL? No, probably not. You might not have a desire to play Spotify on the Macintosh SE/30 either, but that hasn’t stopped hackers from figuring out how you can do it. As long as these old machines are still up and running, we’re confident that the community will continue to teach them new tricks.
I wonder if this can be done using a fixed-point implementation for a massive speedup.
I’m also curious how the performance of Turbo BASIC compares to raw 6502 assembly.
Not too shabbily. Far more efficient than the Atari ROM Basic, which is why I suspect the floating-point calculations are the bottleneck. Though, I’m not familiar enough with the SVG format to know if it is possible to move them to fixed-point.
I believe it can be. Using the q basics. If then else. 3 n 3 set in seq of 6 could cause a key function to upload a predetermined outcome. Excess is key on one end n verifier upon the other. Making your confirm n circuit. Neutralize the electro static n allow for rapid computation computation. But I know nothing so disregard any of this as I no experience in the field. Only conceptual abstract thinking with a understanding of the whole. I can’t help I’m sry, if by God’s grace it helps you, then blessed be the Lord. Either way good luck n bless u on the quest n bless God.
Squeezing current formats into 80s machines is always a challenge. For fans of the machines with The World’s Worst Graphics (TRS-80’s 128 x 48), even more so!
That’s why I’m always amazed by George Phillips’s tricks, like his “GIF Viewer for TRS-80”:
http://48k.ca/gif.html
Obviously for only really tiny GIFs!