Page 1 of 1

nxtBasic, compile your basic programs to fast machine language

Posted: Sun Jul 21, 2024 5:03 pm
by unartic
Hi!

Time has come to introduce nxtBasic to a larger public. If you're a Basic developer, you'll probably want to check it out.

This new compiler for Basic code is specifically designed for the Commander X16, and it's available on Windows, Linux, and Mac. nxtBasic generates lightning-fast machine language programs and makes full use of all Commander X16 has to offer. Its current function set surpasses what the Commander X16 natively supports, with new functions added with each new version. The syntax is familiar to any Basic developer, making it easy to adopt. Comprehensive documentation includes a detailed language reference, example snippets, and sample programs. Additionally, if you have some knowledge of assembly, you can extend nxtBasic with your own assembly code, instantly integrating it into your programs.

A few sample programs are attached to this post: a text-mode Tetris clone, a program to browse through your directories and files and a 3D rotating cube (see the github link for more examples):
tetris.bas
(10.56 KiB) Downloaded 59 times
cube.bas
(2.94 KiB) Downloaded 68 times
browse-dir.bas
(3.55 KiB) Downloaded 62 times

For more information see: viewtopic.php?t=7840 and https://github.com/unartic/nxtBasic/ or check the nxtBasic thread on the Commander X16 Discord.

Re: nxtBasic, compile your basic programs to fast machine language

Posted: Wed Jul 24, 2024 6:06 pm
by funkheld
hello, good day.

which program is used to create the bmx file for the bmxdraw.bas please?

color format 8bit?

thanks.
greetings

Re: nxtBasic, compile your basic programs to fast machine language

Posted: Thu Jul 25, 2024 8:02 am
by unartic
Well, there are various ways to create a BMX-image. Maybe this is a good starting point:

viewtopic.php?p=34011&hilit=bmx#p34011

Re: nxtBasic, compile your basic programs to fast machine language

Posted: Thu Jul 25, 2024 8:57 am
by ahenry3068
unartic wrote: Thu Jul 25, 2024 8:02 am Well, there are various ways to create a BMX-image. Maybe this is a good starting point:

viewtopic.php?p=34011&hilit=bmx#p34011
My convertor is also available. It has a few advantages over PNGconvertor.
viewtopic.php?p=30702#p30702

Re: nxtBasic, compile your basic programs to fast machine language

Posted: Thu Jul 25, 2024 2:22 pm
by funkheld
hello thanks for help.