NextBuild : A suite of tools based on Boriel's ZX Basic Compiler targetting the ZX Spectrum Next
Please report any bugs and I will try to fix them.
Latest ZXBasic Compiler included v15.1.0 Now generates NEX & bin files Scripts rewritten in python so will work on Win, Mac & Linux
VSCode will install the NextBuild VSCode extension
When you start Vscode, choose "Open Folder" and point to "Sources" in the Nextbuild folder.
Download the archive and extract to a folder, launch VScode and choose "Open Folder", select the "Sources" folder inside of \NextBuildv7
Load a source .bas file (try examples) and then compile by using the terminal menu and Run Build Task - you can configure a keyboard shortcut in your prefs.
This should compile and launch in CSpect if there is an error the Compile.txt is opened in the default text editor.
See the video below on how to setup for Windows & VSCode
TROUBLESHOOTING
- I dont see snippets or hover help!
Make sure you have NextBuild set as the language
Inline help for keywords and links to https://zxbasic.readthedocs.io/en/doc/
Compiling one of the examples and running with CSpect
Useful information in VSCodes terminal:
You can easily output to ASM to view the actucal source code that gets assembled
Copy finalised NEX file to another location:
Thanks to :
- Jose Rodgriguez aka Boriel for ZXBasic
- JSJ for his ZXBasic vscode extenstion
- Remy Sharp for his hover helper code
- Mike Dailly for CSpect
- And all others who have helped!