Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

zmakebas 1.2a - convert text files into Spectrum Basic programs

303 views
Skip to first unread message

Russell Marks

unread,
Jul 4, 2021, 11:15:39 AM7/4/21
to
zmakebas converts text files containing Sinclair Spectrum Basic
programs (as plain old ASCII) into tokenised Basic saved in .TAP
format, ready to run on an emulator or the real thing. It also
optionally provides labels as an alternative to line numbers. It's
mainly for Unix/Linux but should be fairly portable.

There are various versions of zmakebas around nowadays with varying
version numbers, and I am deliberately staying out of the way of that.
This version 1.2a is just a bugfix release for my old version 1.2. It
fixes bugs related to DEF FN, VAL$, line lengths, and buffer overruns.

The web page is here:

https://zgedneil.nfshost.com/zmakebas.html

-Rus.

TMD2003

unread,
Jul 11, 2021, 6:14:53 AM7/11/21
to
And if anyone wants to know *why* this update had to be made now, look at the latest entry (#33) on the CSSCGC thread...

VAL$ is actually useful! I know it's hard to believe, but there will be the evidence.

Volker Bartheld

unread,
Jul 12, 2021, 7:14:52 AM7/12/21
to
On Sun, 04 Jul 2021 15:15:37 GMT, Russell Marks wrote:
> zmakebas converts text files containing Sinclair Spectrum Basic
> programs (as plain old ASCII) into tokenised Basic saved in .TAP
> format
> https://zgedneil.nfshost.com/zmakebas.html

Also see:
https://github.com/speccyorg/bas2tap
https://github.com/andybalaam/bas2tap

You'll have to build it yourself with MSVS, gcc or whatever C compiler you
prefer. However, I'm shipping a Win32 binary with...

https://worldofspectrum.net/pub/sinclair/tools/pc/mdv2img.zip

... that also contains a fixed version of BinTap which can convert an
binary file (e. g. machine code) into TAP.

Greets,
Volker

Russell Marks

unread,
Jul 12, 2021, 7:21:56 PM7/12/21
to
TMD2003 <h49...@gmail.com> wrote:

> And if anyone wants to know *why* this update had to be made now,
> look at the latest entry (#33) on the CSSCGC thread...

I have to admit, I hadn't realised the VAL$ bug report was effectively
CSSCGC-related. :-)

-Rus.

Russell Marks

unread,
Jul 12, 2021, 7:27:03 PM7/12/21
to
Volker Bartheld <news...@bartheld.net> wrote:

> bas2tap

Two things bas2tap won't do, and two more it won't do by default:

echo '10 cat !:goto 10' |zmakebas -

-Rus.

Abaffa

unread,
Jul 16, 2021, 9:15:28 AM7/16/21
to

Hi there,

is there any basic compiler to ZX81 like those?

best
Augusto
> --- SoupGate-Win32 v1.05
> * Origin: fsxNet Usenet Gateway (21:1/5)
>

Russell Marks

unread,
Jul 18, 2021, 5:55:17 AM7/18/21
to
Aba...@f10.n1.z19.fidonet.org (Abaffa) wrote:

> Hi there,
>
> is there any basic compiler to ZX81 like those?

zxtext2p:

http://freestuff.grok.co.uk/zxtext2p/

There's also at least one (other) fork of zmakebas which includes ZX81
support, I don't know if that was based on zxtext2p or not.

-Rus.
0 new messages