Page 1 of 2

Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 3:58 pm
by crankorgan
Z80 Assembly Language Programming (1979)

By Lance A Leventhal

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

Re: Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 4:00 pm
by crankorgan
Mastering Machine Code on Your ZX81

By Toni Baker

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

Re: Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 5:37 pm
by PokeMon
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

Re: Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 5:49 pm
by crankorgan
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!

Re: Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 6:02 pm
by sirmorris
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

Re: Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 6:16 pm
by VinCBR900
Toni is a lady...

Re: Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 11:29 pm
by Moggy
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

Re: Free online Z80 or ZX81 books

Posted: Tue Nov 22, 2011 11:47 pm
by crankorgan
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 :(

Re: Free online Z80 or ZX81 books

Posted: Fri Nov 25, 2011 2:42 am
by 1024MAK
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

Re: Free online Z80 or ZX81 books

Posted: Fri Nov 25, 2011 5:08 pm
by Moggy
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