NestorBASIC, a Turbo-BASIC compatible BASIC extension


NestorBASIC is a BASIC extension for MSX2/2+/TR computers with at least 128K mapped RAM. It is Turbo-BASIC compatible (in fact it includes Turbo-BASIC, an loads it at installation time) and provides the following capabilities:

  • Access to all the mapped memory available on the computer (all the free memory when using DOS 2), up to 4 Mb.
  • Full access to VRAM, including data blocks exchange between RAM and VRAM.
  • BASIC programs storage in mapped memory, it is possible to switch from one to another without losing the existing variables.
  • Disk files and sectors access, it is possible to directly read/write to/from mapped memory and VRAM. File searching, directories management.
  • Graphic compression/decompresion.
  • MoonBlaster music replay. Samplekit and wavekit load.
  • PSG sound effects replay.
  • Machine code routines execution; routines placed in BIOS, in a mapped memory segment or in BASIC main memory (including system work area) can be executed directly or using interrupts.
  • NestorMan functions, InterNestor Suite and InterNestor Lite routines execution.

NestorBASIC consists on a single file which can be installed with a simple BLOAD instruction. It installs itself on a hidden RAM segment and only uses about 500 bytes of the BASIC main memory. Its functions are invoked using an USR instruction and an array for the parameters, so they can be used from inside of turbo-blocks. Turbo-BASIC is included within the NestorBASIC file, both are installed simultaneously.

Build files
Build script
mkdir -p package/
mv nbasic.bin package/
mv nbasic.txt package/
mv versions.txt package/
lha xw=./package samples.lzh
  • 1.11-1 2020-04-14
    • First release
Nestor Soriano (Konamiman)
Carles Amigó (fr3nd)
Install instructions
hub install NBASIC