Page 1 of 1

ZXAS for ZX81/TS1000 Assembly or anything better?

Posted: Thu Jul 20, 2017 6:13 pm
by tdg8934
I'm getting back into my ZX81/TS1000 learning again by reading through a PDF book "Assembly Language Assembled for the Sinclair ZX81 - Anthony Woods" and he uses ZXAS and ZXDB in the book to allow coding within REM statements. Is this still available in *.p format (not cassette)? I want to try it on my new ZXmore board. Should I use something else? I would rather not work on a laptop using another editor and transfer the *.p file over to my ZXmore but keep it all in one place. However, if that is better, I'm open to listen in.

Comments?

Thanks - Tim

Re: ZXAS for ZX81/TS1000 Assembly or anything better?

Posted: Thu Jul 20, 2017 6:17 pm
by sirmorris
I used to really enjoy ZXAS back in the day.

Google will find it in the first result. 'zxas p'.

Re: ZXAS for ZX81/TS1000 Assembly or anything better?

Posted: Thu Jul 20, 2017 8:47 pm
by Moggy
You'll find it here....

http://www.zx81stuff.org.uk/zx81/tape/z

Use the Gladstone version as the original Bug-Byte version has a (pun intended) bug in it that doesn't seem to manifest itself in the Gladstone version.


As for the book I have it also and found it very disappointing with no useful examples of anything, plus one or two frustrating non-runners in it.

I use an EPROM dump from the Memotech Z80 assembler module with the Zxpand.
If you are interested I could post that here as I believe the More can run programs from the 8-16k area of ram though whether it can load the dump and place it in ram and run it in the same manner as the Xpand I couldn't say.

Re: ZXAS for ZX81/TS1000 Assembly or anything better?

Posted: Thu Jul 20, 2017 10:03 pm
by tdg8934
Thank you sirmorris and Moggy! I found both ZXAS and ZXDB but didn't find much for instructions on how to use ZXDB - perhaps the book will explain that more. I do have both the ZXmore and a ZXpand+AY so what ever can be provided on that would be appreciated. Haven't been involved too much in Z80 Assembly lately so trying to get into the swing again. Thanks again!

Tim

Re: ZXAS for ZX81/TS1000 Assembly or anything better?

Posted: Thu Jul 20, 2017 10:54 pm
by sirmorris
No worries. I'm sure you'll find many willing correspondents when you get going :D

Re: ZXAS for ZX81/TS1000 Assembly or anything better?

Posted: Fri Jul 21, 2017 7:14 am
by mrtinb
tdg8934 wrote: Thu Jul 20, 2017 10:03 pm found both ZXAS and ZXDB but didn't find much for instructions on how to use ZXDB - perhaps the book will explain that more.
These two downloads http://www.zx81stuff.org.uk/zx81/tape/ZXDB & http://www.zx81stuff.org.uk/zx81/tape/ZXDB(Yellow) have instruktions.

Unfortunately ZXDB has to be in the first lines of your program to work, so you need to load both ZXAS and ZXDB. ZXDB will be saved with your code until you don't need it anymore.

Re: ZXAS for ZX81/TS1000 Assembly or anything better?

Posted: Fri Jul 21, 2017 10:19 pm
by Moggy
Attached is the Memotech z80 assembler file.

Read the manual first especially the bit about lowering ramtop to accommodate labels and DIM A$ as req' for the amount of labels.

Then having lowered ramtop suitably load the P file "assemble", this file will load the assembler then NEW the zeddy.
Having created a REM for your code(if that's where you want to store your code) RAND USR 16258 will start the assembler, just follow the manual from there-on in.