Search found 148 matches

by unartic
Fri Apr 18, 2025 12:54 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10174

Re: nxtBasic language and compiler topic

At the moment the condtion at the 'loop-part' is not yet implemented :-) I'll add it to the list.
by unartic
Wed Apr 16, 2025 3:57 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10174

Re: nxtBasic language and compiler topic

Martin Schmalenbach wrote: Wed Apr 16, 2025 3:07 pm Also - does your specialist assembler support 65c02 per the CX16 or only the original 6502 opcodes?
It supports most of the 65c02 instruction set. Instructions that are not available havent been needed for nxtBasic to function, but can be added if needed.
by unartic
Wed Apr 16, 2025 3:56 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10174

Re: nxtBasic language and compiler topic

Martin Schmalenbach wrote: Wed Apr 16, 2025 3:04 pm
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? 😀
No, it's still on the todo-list :-)
by unartic
Mon Nov 04, 2024 9:02 am
Forum: Works In-Progress Discussion
Topic: Tempest
Replies: 2
Views: 9464

Tempest

A first rudimentary version of something that resembles Tempest. Written and compiled with nxtBasic.

Try It Now!
by unartic
Tue Oct 29, 2024 7:43 am
Forum: Programming
Topic: My first foray into ASM. Advice?
Replies: 11
Views: 21191

Re: My first foray into ASM. Advice?

This is a more optimized, yet still readable version. .org $080D .segment "STARTUP" .segment "INIT" .segment "ONCE" .segment "CODE" jmp start source: .asciiz "hello!" ;last byte will be $00 source_end: destination: .res (source_end-source) ;reserves ...
by unartic
Tue Oct 29, 2024 5:32 am
Forum: Programming
Topic: My first foray into ASM. Advice?
Replies: 11
Views: 21191

Re: My first foray into ASM. Advice?

About a year ago I found myself in exactly the same position as you. Assembly somehow felt like another world entirely. Now, a year in, I’ve developed complicated and large programs in assembly for x16 of which the biggest achievements are XFM (Norton commander style file manager) and nxtBASIC (basi...
by unartic
Thu Oct 10, 2024 5:53 am
Forum: Programming
Topic: Getting VBlank Status
Replies: 2
Views: 6307

Re: Getting VBlank Status

It depends on what you want to achieve. If you just want to wait for the vblank you can just use the assembly opcode: wai (https://github.com/X16Community/x16-docs/blob/master/X16%20Reference%20-%20Appendix%20C%20-%2065C02%20Processor.md#wai) If you want to execute a piece of code on each vblank you...
by unartic
Wed Oct 02, 2024 7:10 am
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10174

Re: nxtBasic language and compiler topic

Thanks for your suggestion. I've put it on the list :-)
by unartic
Mon Sep 30, 2024 3:08 pm
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10174

Re: nxtBasic language and compiler topic

The documentation is up to date. If you're missing something or something seems wrong, please let me know ;-) All of the above is supported in nxtBasic. So these will all work: A=1: B=2: C=3: GOSUB SomeLabel: Z=Q: PRINT "WOW!" IF SomeExpression = True THEN PRINT "YAY!!" IF SomeEx...
by unartic
Sun Sep 29, 2024 8:16 am
Forum: Programming
Topic: nxtBasic language and compiler topic
Replies: 13
Views: 10174

Re: nxtBasic 1.0 has just been released

nxtBasic 1.0 has just been released. Whats new? - Bug fixes LCASE/UCASE now also change the case of extended chars in an ISO charset Automatic run command wasn't working correctly without the -startin x16emu param. - New: OVAL-function to draw circles and ovals. - Improved: All sprite function have ...