And I like it also because if we manage to write our own basic, we won't have any licence troubles. And we will have something well suited for the X16.
Would you mind starting a thread on your BASIC with some examples, docs... and so on.
We may be of assistance ?
Cheers to you, mate !
It's too eccentric. I've cannibalised some of the bits into something closer to a normal BASIC. https://github.com/paulscottrobson/6502-basic . It's modular so you can basically add and remove whole chunks as you like, and it's also designed to run in paged memory.
So far :
32 bit integer and string types (hooks for floating point)
long variable names.
Integer and string functions and operators, BBC Basic style indirection.
While/Repeat/For/Multilevel Ifs
Procedures
Locals/Parameters
VPEEK/VPOKE and VDEEK/VDOKE because there are so many 16 bit values.
Outstanding:
Inline assembler (can probably pinch most of this from atomic basic)
Arrays
Tokenising / Detokenising stuff (at the moment the tokeniser is in Python)
Do you intend to store programs as plain text or as tokenized files?
If plain text, I guess you could use the text editor I've been working on to write BASIC code. Please let me know if you require anything special to make that work.
EDIT: And I almost forgot. If you feel old school, there is also the LED in the downloads section. I like that a lot. It's surprisingly efficient to use.
Do you intend to store programs as plain text or as tokenized files?
If plain text, I guess you could use the text editor I've been working on to write BASIC code. Please let me know if you require anything special to make that work.
EDIT: And I almost forgot. If you feel old school, there is also the LED in the downloads section. I like that a lot. It's surprisingly efficient to use.
Well both ? At present it's text editor -> Python script -> tokenised file -> BASIC, so it's acting like a runtime more than anything. I will write tokeniser/detokeniser/editor code, and it's fairly simple though slightly different to MSBasic, in that an identifier is always a single element, it doesn't tokenise TOTAL as <TO> TAL. Extending the standard load / save so it could load a text file or take it from another point in memory would be easy enough. It does still use line numbers but doesn't actually need them (except for backwards compatibility - GOTO GOSUB and RETURN are still there) but they could be just generated on the fly.
As we are today in the lockdowns and we have to live our lives on our main PC, it would be a refreshing change to sit in front of something different and type away, no urge to open the Internet, no dayjob stuff, no stupid news and social media in reach.
Precisely. I expect the higher productivity will be those that program it on the emulator and run it on the real iron just as a final test ... but the greater satisfaction may be those who turn off the modern world and program it old school.
Precisely. I expect the higher productivity will be those that program it on the emulator and run it on the real iron just as a final test ... but the greater satisfaction may be those who turn off the modern world and program it old school.
Mind, I wouldn't do it in Basic.
Depends what BASIC ? People conflate the Microsoft/Dartmouth BASICs with more advanced ones.