Why not FreeBASIC?

Chat about anything CX16 related that doesn't fit elsewhere
Post Reply
hermes1
Posts: 2
Joined: Fri Dec 25, 2020 7:57 pm

Why not FreeBASIC?

Post by hermes1 »


Hello everyone!

I was just curious - since there has been some discussion over licensing BASIC and related stuff - why not use FreeBASIC (https://www.freebasic.net)? It's licensed under GNU General Public License and actively developed by the community. In contrast to any commercially licensed product, it has a great potential when it comes to community involvement. I might be missing something, but it really does seem like a perfect fit for the purpose - doesn't it?

With best regards,

Michael

luke@platypuscreations.net
Posts: 10
Joined: Sat Oct 10, 2020 6:14 pm

Why not FreeBASIC?

Post by luke@platypuscreations.net »


I've been browsing the free basic documentation... Does it currently support the 6502 processor, or would it require porting?

Fnord42
Posts: 74
Joined: Fri Aug 14, 2020 8:56 am

Why not FreeBASIC?

Post by Fnord42 »


On the website, it says:


Quote




FreeBASIC is a self-hosting compiler which makes use of the GNU binutils programming tools as backends [...]



Which makes me seriously doubt that it could be made to run reasonably well on an 8MHz system with 2MB RAM.

 

User avatar
desertfish
Posts: 1097
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Why not FreeBASIC?

Post by desertfish »


To put certain things into perspective, the page just listing all the keywords alone takes up more than 7 kilobyte...

It looks to be a very powerful basic (just look at the number of keywords) and from what I see the compiler itself is also written in Freebasic itself. Remarkable.

John Chow Seymour
Posts: 143
Joined: Sun Jul 05, 2020 3:27 pm

Why not FreeBASIC?

Post by John Chow Seymour »


Wow, I've never seen a BASIC with double-underscore keywords before.  That's more d'unders than Python!

FreeBASIC looks pretty awesome.  The world needs a better 'modern' BASIC than MS VBA?

For the reasons others have mentioned, it wouldn't be a good choice for the X16, at least not as the built-in BASIC.  Porting a processor-appropriate version of it might be a fun challenge for someone, though.

Fnord42
Posts: 74
Joined: Fri Aug 14, 2020 8:56 am

Why not FreeBASIC?

Post by Fnord42 »


I wonder how it compares to the Color Maximite's BASIC.

(I don't know much about either, but it seems both are pretty powerful.)

hermes1
Posts: 2
Joined: Fri Dec 25, 2020 7:57 pm

Why not FreeBASIC?

Post by hermes1 »


Thanks for the comments. Fair points - it'd probably require some porting and a whole lot of adjustments to support the limited hardware specs. Anyway, it would be great to have the X16 run on free/libre software which is unlikely since parts of it had to be licensed, although I haven't found any info on what the license terms would be.

Fnord42
Posts: 74
Joined: Fri Aug 14, 2020 8:56 am

Why not FreeBASIC?

Post by Fnord42 »


As far as I can see, it should be absolutely possible to build a free/libre open source firmware for the X16 and also use it with the final hardware.

This might be a fun project. Compatibility with software that uses Kernal functions might be an issue though; I don't know how much work it would be to reimplement the API.

Post Reply