private tech

Not simply any previous BASIC, both: OS-9’s BASIC09

Neither LLVM nor GCC immediately help the BASIC programming language – however a former Microware boffin proposes fixing that.

An attention-grabbing new proposal on the Discourse discussion board of the LLVM compiler suite has changed into a brand new standalone BASIC compiler. The unique RFC was Adding BASIC09 frontend tool to LLVM. Creator Boisy Petre proposed including a front-end to allow LLVM to compile BASIC supply code, and this has now changed into a standalone compiler referred to as basic09c, which makes use of LLVM as a library. We’re irresistibly reminded of the latest addition of ALGOL-68 to GCC

As we stated in 2023, BASIC is anything but dead, and, for BASIC’s sixtieth birthday, the next 12 months we lined new versions of three modern FOSS dialects. The late Dr Thomas Kurtz would have been proud.

It’s not simply any previous home-computer BASIC, both. Dr Petre is engaged on a compiler for Microware BASIC09. This was one of many compilers that Microware supplied for its multitasking, multiuser Unix-like OS, referred to as OS-9. Means again in 1999, many customers of Apple’s then-new MacOS 9 – usually simply referred to as “OS 9” – confused it with the already 20-year-old Microware OS-9, they usually pestered OS-9 newsgroups and communities with Mac questions and chatter. As The Register reported again then, Microware even sued Apple over the trademark.

BASIC09 is a structured BASIC: it has named procedures with native variables, helps constructs akin to IF…THEN…ELSE, user-defined variable varieties – and no, it didn’t want line numbers. The most effective reference we are able to discover to BASIC09 at present is its Wikipedia article, however you may as well read the manual [PDF].

Tandy Color Computer 2 resting on a table with cables nearby

A Tandy Coloration Pc 2 sits on a desk at a retro computing occasion in Orlando, Florida, alongside cables and different gear.

Microware continues to be round and nonetheless helps OS-9, which is marketed as an RTOS as of late. Dwelling microcomputer customers, although, might need recognized OS-9: it was an non-obligatory OS for the British Dragon 32 micro and was on the record for the first British laptop too. For Stateside readers, the Dragon 32 was a relative of the American Tandy Color Computer, which had the identical Motorola 6809 CPU and could also run OS-9.

Other than its technical deserves, there are different good causes he selected this explicit BASIC: Though Boisy Gene Petre became Dr Petre last year, he has been within the trade for fairly some time. He labored at Microware early in his profession, and even quarter of a century in the past he was writing articles about the Tandy CoCo.

This isn’t the primary time that the Reg FOSS desk has been bamboozled by boffin Boisy’s brilliance. That was means again in 2012, when he created considered one of our favourite ever retrocomputing initiatives: the astonishing Liber809. This carried out a complete mind transplant on the unique Atari 8-bit machines, putting in a 6809 CPU and supporting firmware.

As he defined in a put up referred to as The Beginning, the aim was to marry essentially the most superior eight-bit CPU with essentially the most succesful eight-bit laptop of its time. Retrocomputing weblog The Byte Cellar described it well. This might in fact render the machine incompatible with all current Atari software program, however the plan was to make it in a position to run NitrOS-9 – a neighborhood distribution of the unique 6809 model of the Microware OS. ®


Source link