Search found 145 matches

by Martin Schmalenbach
Fri Apr 18, 2025 9:53 am
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10136

Re: nxtBasic language and compiler topic

Hoping to clarify the following... This is allowed... DO WHILE|UNTIL {condition} LOOP But this apparently isn't... DO LOOP WHILE|UNTIL {condition} Why does this matter? Well, in the first case, the loop is executed ZERO or more times before exiting, and in the second case the loop is executed AT LEA...
by Martin Schmalenbach
Wed Apr 16, 2025 3:07 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10136

Re: nxtBasic language and compiler topic

Also - does your specialist assembler support 65c02 per the CX16 or only the original 6502 opcodes?
by Martin Schmalenbach
Wed Apr 16, 2025 3:05 pm
Forum: Works In-Progress Discussion
Topic: Draft of programming book
Replies: 17
Views: 28812

Re: Draft of programming book

Yeah, since this is not a completed tutorial or guide, we're going to move it to the WIP section for now. Once this is complete, then it would be ready to post in the Guides And Tutorials. Don't know if you've looked at any of OSK's work Tom. But the book is almost there. I know he's gotten a first...
by Martin Schmalenbach
Wed Apr 16, 2025 3:04 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10136

Re: nxtBasic language and compiler topic

unartic wrote: Wed Oct 02, 2024 7:10 am Thanks for your suggestion. I've put it on the list :-)
Did this make it in to 1.0 and I missed the documentation on it? 😀
by Martin Schmalenbach
Sun Apr 13, 2025 10:56 am
Forum: Works In-Progress Discussion
Topic: Draft of programming book
Replies: 17
Views: 28812

Re: Draft of programming book

https://www.twitch.tv/oldskoolcoder/clip/RelentlessMushyToadItsBoshyTime-M2gofNAnKO0ppg7h I agree with the sentiment in this linked video. I offered some help almost 2 years ago. I have a lot less time on my hands now than back then BUT/AND... I feel more motivated to contribute in some way... wher...
by Martin Schmalenbach
Tue Nov 19, 2024 8:33 pm
Forum: X16 Feature Requests
Topic: ROM Text Editor - where are file details?
Replies: 2
Views: 9512

Re: ROM Text Editor - where are file details?

Thanks Stefan - that’s very clear, and good to know.

I’ll go with your recommendation and stick with accessing the source code file from disk!
by Martin Schmalenbach
Tue Nov 19, 2024 3:14 pm
Forum: X16 Feature Requests
Topic: ROM Text Editor - where are file details?
Replies: 2
Views: 9512

ROM Text Editor - where are file details?

Hi The excellent built in text editor in the ROM is, well, excellent! I want to have my assembler and my pascal compiler be able to access and process the file that the text editor has got loaded. Where do I find the details of where this text file is stored? I need the RAM bank and starting address...
by Martin Schmalenbach
Tue Oct 01, 2024 6:05 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10136

Re: nxtBasic language and compiler topic

I may have missed it, but some basic conditional compilation features would be handy, with access perhaps to the command line so that nxtBasic yourprogram.bas -debug true can be accessed via something like #IF CLI_DEBUG ... conditional source code #ELSE ... some other conditional source code #ENDIF ...
by Martin Schmalenbach
Mon Sep 30, 2024 3:54 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10136

Re: nxtBasic language and compiler topic

Great stuff - much appreciated. I'm half way through editing my source code to have 1 statement per line and the multi-line IF-THEN-END IF structure everywhere, so I'll continue. I think it will make for more readable and maintainable code as I plan to add multi data type support to the pCode instru...
by Martin Schmalenbach
Mon Sep 30, 2024 3:02 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10136

Re: nxtBasic language and compiler topic

Fantastic! I'm very excited by this project. My first project with it is to convert (and refactor!) my Tiny Pascal pCode interpreter with it, so that it runs as a native machine code program on the CX16. I imagine some time is needed for the documentation to catchup to the latest version? Is there a...