Tomorrow I'll explore how I might implement pure-CPU graphics following Love's API. So today I wish to reintroduce the machine I'm imagining running this on!
I've described it in great detail at https://adrian.geek.nz/from-scratch/#idiomaticminimalist-computer , but I'll toot a tl;dr
The CPU would be a risc32cfimv, that is a 32bit RISC-V chip with floating point, multiply/divide, vectors, & for the sake of it... Half-width instructions! Necessary for audio & especially graphics.
It'd be an out-of-order micro-architecture.
1/3?
@neauoire I do the 1st (and you have no choice in Atari BASIC, my usual dialect, or my own TinyBasicWeb, which tokenize on input & regenerate listings), but TurboBasicXL and GFA BASIC automatically do 3rd, which is very readable.
But you kind of don't need/want indentation in BASIC. Each logical segment might be separated by REM, but should "tunnel thru rock" to reach a goal, not have a lot of branches. You can use a flowchart to show program flow at a larger level.
#basic #retrocomputing
@akkartik I think what unlocked it was going through the example tutorials supplied with the Tiny BASIC flavour that the permacomputer project is using.
I am also planning long term to getting into the guts of uxn's Sunflower BASIC so it can do OPEN, CLOSE, PRINT, and INPUT statements with respect to file operations.
There is a lot of documentation to do. I am thinking of rewriting the README.
I wrote a Ruby script to indent and otherwise tidy BASIC code for my contributions to https://github.com/coding-horror/basic-computer-games .
Maybe my aptitude for this has increased somewhat?
I spent some time looking through these BASIC text editors, it seems possible to get them all working, now that I seem to have a better idea about what I am doing.
EDITYPE, for instance, parses the files through character by character, using GET.
Seems to me, in order to get strange code to run quickly in BASIC, commenting out exotic lines and statements works a treat.
I should pull up the commentary to WRDPRO.BAS, where something similar is mentioned.
instead of memorizing our birth years, most millennials could just have logitech logo tattoos inked at birth
despite technically being born pre-logi, i firmly identify with cohort 3. til: that logo was created by frog design/hartmut esslinger of apple/NeXT design fame.
source: logitech logo history 1981-2015 https://logos.fandom.com/wiki/Logitech

I have been thinking of setting up a forum for BASIC for some time now.
I just cannot be bothered being a server maid for another service ๐คฃ
@neauoire Emacs BASIC mode does the third column ๐
Windows 10 support ends in 2 months, potentially making a lot of computers obsolete and dangerous to use. https://endof10.org/ is a great resource to avoid that by installing Linux - aided by experts and with simple to follow guides.
making progress on the debugging of text editors written in BASIC...
"You don't understand the basic assumptions of your own culture if your own culture is the only culture you know."
(Alan Watts)
Well, although I had to bodge in a -12v line to make the design identical to the original Sony SND replacment - the SMD version of the SND works!
I've already respun the PCB design to include a -12v pad, and I'll uprevise my SE/30 design as well - but it works!
"The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is difficult to find good introductory articles about it."
The TTY demystified
https://www.linusakesson.net/programming/tty/