nxtBasic, compile your basic programs to fast machine language

All aspects of programming on the Commander X16.
Post Reply
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

nxtBasic, compile your basic programs to fast machine language

Post 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 61 times
cube.bas
(2.94 KiB) Downloaded 71 times
browse-dir.bas
(3.55 KiB) Downloaded 65 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.
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

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

Post by funkheld »

hello, good day.

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

color format 8bit?

thanks.
greetings
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

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

Post 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
User avatar
ahenry3068
Posts: 1138
Joined: Tue Apr 04, 2023 9:57 pm

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

Post 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
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

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

Post by funkheld »

hello thanks for help.
Post Reply