Page 1 of 1

Getting started - need toolkit!

Posted: Thu Apr 29, 2021 9:17 pm
by LoadError
Hello,
I'm new to this forum. I'm an 8 bit enthusiast and I'm historically a Commodorehead, but I always had a love for Sinclair stuff and I dearly cherish my own Zeddie and Speccy (and my Cambridge Scientific).
I'm trying to write some simple stuff in BASIC for the ZX81, and having got used to the tools available for the Commodores (like the amazing CBM PRG Studio) and for the ZX Spectrum (like BaSinc), I'm having trouble building a toolkit to assist me in the task (actually typing the code in an emulator is excruciating and unforgiving).
At the very least I'd need:
- graphics character set translation from ASCII text to compiled binary (.p), by means of some special syntax
- line renumbering, including goto/gosub statements
As it is, I'm resorting to using a regular text editor, then compiling with zxtext2p and manually replacing the graphic characters in the emulator.... hardly ideal...
Are there any tools that I might have missed that can simplify the task?
Thanks!

Re: Getting started - need toolkit!

Posted: Thu Apr 29, 2021 9:38 pm
by mrtinb

Re: Getting started - need toolkit!

Posted: Thu Apr 29, 2021 10:38 pm
by LoadError
This is a life saver!!!
And freshly released?
I've already tried the basics and it's even better than I expected anything to be!
Labels instead of line numbers? Heaven!!
Thanks!

Re: Getting started - need toolkit!

Posted: Thu Apr 29, 2021 11:05 pm
by mrtinb
There also exists ZX-IDE. viewtopic.php?f=6&t=1064

Use whichever you like best.

Re: Getting started - need toolkit!

Posted: Sun May 02, 2021 2:08 am
by bola_dor
If you are using Eighty One emulator it will import any text non tokenized file with the extension as .b81, just drag and drop the file to the main screen an follow the popup menu.. then you can save again from the menu TOOLS / BASIC listing.. or save a .p image file from the Tape manager (that is not as intuitive,, you have to do SAVE "name" before, click the the saved image in the tape manager and search for the save button) ..

Re: Getting started - need toolkit!

Posted: Mon May 03, 2021 2:53 am
by sboisvert
I've started looking into this recently as well.

For non-platform specific solutions, MS Visual Studio Code might be an option (runs on PC, Mac, Linux), and there's extensions available for Z80 programming. There's also a very capable development extension called DeZog that supports development with ZEsarUX with support for the z88dk dev kit which supports cross compiling on the ZX81.

Re: Getting started - need toolkit!

Posted: Mon May 03, 2021 4:09 am
by Spinnetti
Wow, great stuff! I never use basic, but saw lots of neat stuff there and linked from there.

Re: Getting started - need toolkit!

Posted: Fri May 21, 2021 11:00 pm
by LoadError
I am trying to use the .b81 drag and drop method to import an ASCII file in EightyOne and tokenize it; it works indeed, but when I drag and drop it the emulator automatically resets its mode to ZX81 whereas I want to import the file in ZX80 mode. Any idea how to fix this? And is there perhaps some t2p equivalent that will compile for the ZX80?

Re: Getting started - need toolkit!

Posted: Fri May 21, 2021 11:22 pm
by Fruitcake
LoadError wrote: Fri May 21, 2021 11:00 pm I am trying to use the .b81 drag and drop method to import an ASCII file in EightyOne and tokenize it; it works indeed, but when I drag and drop it the emulator automatically resets its mode to ZX81 whereas I want to import the file in ZX80 mode. Any idea how to fix this? And is there perhaps some t2p equivalent that will compile for the ZX80?
Rename the extension as .b80 and EightyOne then knows it is a ZX80 BASIC file. Or just rename the extension to .txt and then it will load into the current configuration.

Re: Getting started - need toolkit!

Posted: Sat May 22, 2021 10:49 am
by LoadError
D'oh! It occurred to me when I woke up this morning :lol:
Thx