nxtBasic new release. v0.4 now available

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

nxtBasic new release. v0.4 now available

Post by unartic »

Hi! I've just released a new version of nxtBasic.

Whats new?

Bug fixes:
  • Fixed bug while playing multiple zcm-files in sequense
  • Fixed bug with GETBMXHEIGHT and GETBMXWIDTH
  • Fixed bug in custom keyboard handler
  • Fixed bug in the internals of string storage in ram, causing string space to be filled rappidly
  • Fixed bug reading from DATA blocks with negative integers
  • Fixed bug: READ() was disabled due to build in constant READ (for OPENFILE). READ and WRITE are renamed to FOR_READ and FOR_WRITE
  • Fixed bug in line draw routine, not restore vera to prev state correctly

Added:
  • CURROW() -> returns the current row the cursor is on
  • CURCOL() -> returns the current column the cursor is on
  • PushVar() -> push the contents of a variable to the variable stack
  • PullVar() -> pulls a value from the stack and assigns it to a variable
  • User defined functions: FUNCTION MyFunc() as String
  • User defined sub routines: SUB MySub()

New example programs:
  • player.bas: file browser which plays zcm and zsm files and shows bmx images
  • keyjoy.bas: demonstration of joystick and keyboard routines with multiple key presses simultaneously


Docs and download:
https://github.com/unartic/nxtBasic/
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: nxtBasic new release. v0.4 now available

Post by funkheld »

hello, thanks for the new version.

it's fun to program with it.
your asm routines are great and easy to understand.

greetings
Post Reply