Free online Z80 or ZX81 books

Discussion about ZX80 / ZX81 Software
crankorgan
Posts: 163
Joined: Wed Oct 19, 2011 11:53 pm

Free online Z80 or ZX81 books

Post by crankorgan » Tue Nov 22, 2011 2:58 pm

Z80 Assembly Language Programming (1979)

By Lance A Leventhal

http://ebookbrowse.com/z80-assembly-lan ... -d15948088

crankorgan
Posts: 163
Joined: Wed Oct 19, 2011 11:53 pm

Re: Free online Z80 or ZX81 books

Post by crankorgan » Tue Nov 22, 2011 3:00 pm

Mastering Machine Code on Your ZX81

By Toni Baker

http://www.users.waitrose.com/~thunor/m ... index.html

User avatar
PokeMon
Posts: 2191
Joined: Sat Sep 17, 2011 5:48 pm

Re: Free online Z80 or ZX81 books

Post by PokeMon » Tue Nov 22, 2011 4:37 pm

crankorgan wrote:Mastering Machine Code on Your ZX81

By Toni Baker

http://www.users.waitrose.com/~thunor/m ... index.html
Hmmm. What he's talking about old ROM and new ROM ? And different data structures ? This is new for me. :?
Or does he mean ZX80 with old ROM ?

http://www.users.waitrose.com/~thunor/m ... dix02.html

Code: Select all

OLD ROM SYSTEM VARIABLES    NEW ROM SYSTEM VARIABLES
Decimal Hex   Name          Decimal Hex   Name
16384   4000  ERR_NR        16384   4000  ERR_NR
16385   4001  FLAGS         16385   4001  FLAGS
16386   4002  PPC           16386   4002  ERR_SP
16388   4004  E_ADDR        16388   4004  RAMTOP
16390   4006  E_PPC         16390   4006  MODE
16392   4008  VARS          16391   4007  PPC
16394   400A  E_LINE        16393   4009  VERSN
16396   400C  D_FILE        16394   400A  E_PPC
16398   400E  DF_EA         16396   400C  D_FILE
16400   4010  DF_END        16398   400E  DF_CC
16402   4012  DF_SZ         16400   4010  VARS
16403   4013  S_TOP         16402   4012  DEST
16405   4015  X_PTR         16404   4014  E_LINE
16407   4017  OLDPPC        16406   4016  CH_ADD
16409   4019  FLAGX         16408   4018  X_PTR
16410   401A  T_ADDR        16410   401A  STKBOT
16412   401C  SEED          16412   401C  STKEND
16414   401E  FRAMES        16414   401E  BERG
16416   4020  V_ADDR        16415   401F  MEM
16418   4022  ACC           16417   4021  SPARE1
16420   4024  S_POSN        16418   4022  DF_SZ
16422   4026  CH_ADD        16419   4023  S_TOP
                            16421   4025  LAST_K
                            16423   4027  DB_ST
                            16424   4028  MARGIN
                            16425   4029  NXTLIN
                            16427   402B  OLDPPC
                            16429   402D  FLAGX
                            16430   402E  STRLEN
                            16432   4030  T_ADDR
                            16434   4032  SEED
                            16436   4034  FRAMES
                            16438   4036  COORDS
                            16440   4038  PR_CC
                            16441   4039  S_POSN
                            16443   403B  CDFLAG
                            16444   403C  PRBUFF
                            16477   405D  MEMBOT
                            16507   407B  SPARE2

crankorgan
Posts: 163
Joined: Wed Oct 19, 2011 11:53 pm

Re: Free online Z80 or ZX81 books

Post by crankorgan » Tue Nov 22, 2011 4:49 pm

I have been reading the book. My take was the very early versions of the ZX81 had a different rom code. The book I have is a little different than the online one. Some things got corrected. He refers to the ZX81 as having 1K 4K or 16K ram in the book and how to set RAMTOP. I have noticed that several guy have written the same kind of book for three to 4 types of processors. That alone could cause some problems!

User avatar
sirmorris
Posts: 2734
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: Free online Z80 or ZX81 books

Post by sirmorris » Tue Nov 22, 2011 5:02 pm

Old ROM = ZX80
New ROM = ZX81

Thunor has been very thorough in his presentation of the masteringmachine code book, and corrected all the bugs and mistakes. I can thoroughly reccomend it as an excellent grounding in machine code.

C
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

VinCBR900
Posts: 11
Joined: Wed Jul 27, 2011 7:21 pm
Location: Victoria, BC, Canada

Re: Free online Z80 or ZX81 books

Post by VinCBR900 » Tue Nov 22, 2011 5:16 pm

Toni is a lady...

Moggy
Posts: 1541
Joined: Wed Jun 18, 2008 1:00 pm

Re: Free online Z80 or ZX81 books

Post by Moggy » Tue Nov 22, 2011 10:29 pm

VinCBR900 wrote:Toni is a lady...



Though early editions were written by "TONY" baker, also the late Tim Hartnell in His intro refers to the author as "HIM", I don't think these are simple proof reading errors, plus a curiosity in a very early edition leads me to think She was once He and the author was male when this book was written and a transgendered female later on.

EDIT 21/05/2017
Almost forgot this the "Farewell" program at the end written by the author spells out,albeit very badly, the authors first name as "TONY" (masculine spelling) and has a facsimile of the authors own signature, again "Tony" at the bottom of the page. In the later revision as used by Thurnor this program has been deliberately changed(by the author presumably) to spell out the name as "Toni"(feminine spelling)


Thurnors' revamped version of the book is indeed excellent and My one and only claim to fame is that I pointed out the calculator errors, wrong addresses etc for the later ROM to Thurnor, which He kindly acknowledged, but the calculators instruction for raising of powers is still omitted.

Regards
Moggy
Last edited by Moggy on Sun May 21, 2017 1:12 pm, edited 10 times in total.

crankorgan
Posts: 163
Joined: Wed Oct 19, 2011 11:53 pm

Re: Free online Z80 or ZX81 books

Post by crankorgan » Tue Nov 22, 2011 10:47 pm

Moggy,
The book is the reason I wanted a nonvolatile RAM. One of my boards holds the machine code program found in the book. There must be other ZX81 books out there free online?

Moggy,
ZX81 or ZX80 ROM? I am still confused :(

User avatar
1024MAK
Posts: 1821
Joined: Mon Sep 26, 2011 9:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Free online Z80 or ZX81 books

Post by 1024MAK » Fri Nov 25, 2011 1:42 am

Moggy wrote:
VinCBR900 wrote:Toni is a lady...
Though early editions were written by "TONY" baker, also the late Tim Hartnell in His intro refers to the author as "HIM", I don't think these are simple proof reading errors, plus a curiosity in a very early edition (seek and Yea shall find) leads me to think She was once He.

Thurnors' revamped version of the book is indeed excellent and My one claim to fame is that I pointed out the calculator errors, wrong addresses etc for the later rom to Thurnor, which He kindly acknowledged, but the calculators instruction for raising of powers is still omitted.

Regards
Moggy
Not sure if this helps or hinders, she/he also wrote a similar book for the Speccy, my (real) edition of the book has a copyright date of 1983 and the name is "Toni Baker".

The real edition of the ZX81 book that I have is the reprinted April 1982 version of the second edition, by "Toni Baker". The forward by Tim Hartnell refers to Toni as "she".

Rodney Zaks has given permission for distribution of his book Programming the Z80 (the Z80 "bible")and it can be downloaded here http://www.z80.info/zaks.html

Mark

Moggy
Posts: 1541
Joined: Wed Jun 18, 2008 1:00 pm

Re: Free online Z80 or ZX81 books

Post by Moggy » Fri Nov 25, 2011 4:08 pm

Here's some scans of My first revision published by Interface, the cover and foreword I don't think are cock ups on the publishers part and without getting too Freudian I think the third picture is telling, pointing to a change , and including the gender symbol for female.
Not important in the great scheme of things but a curiosity all the same.

Moggy
Attachments
baker.zip
(505.97 KiB) Downloaded 131 times

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest