Andy Pennell's books.
-
- Font of All Knowledge
- Posts: 4023
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Andy Pennell's books.
Hi Norm,
Thank you for the update.
I can not believe that 2 comercial books were published with all these glaring errors.
There is also some missing code in the Sdate Calculations, where some of the 16 bit multiplication code was missing. Probably my fault not typing the data table.
I will get this corrected and updated.
Thank you for the update.
I can not believe that 2 comercial books were published with all these glaring errors.
There is also some missing code in the Sdate Calculations, where some of the 16 bit multiplication code was missing. Probably my fault not typing the data table.
I will get this corrected and updated.
Regards,
Derek
Derek
- NormanDunbar
- Forum Moderator
- Posts: 2284
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: Andy Pennell's books.
Hi Derek,
I was responding to previous posts about where A1 points. I was not expecting you to update the book! I can do that when I get home from Brixham, Devon. My wife, Alison and I have been married 25 years so we took a short break to celebrate.
Cheers,
Norm.
I was responding to previous posts about where A1 points. I was not expecting you to update the book! I can do that when I get home from Brixham, Devon. My wife, Alison and I have been married 25 years so we took a short break to celebrate.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: Andy Pennell's books.
Hi Norm,
just be random.
Im no authority, but I would advise to not rely on this unless it were documented to be valid across
the board, and to be there for a particular reason, ie as a result of the way things by necessity are
done, or as a particular service to keyword writers. I wont go into reasons as I hope they are self
evident.
As you write yourself in the reference you give, its not documented anywhere:NormanDunbar wrote:My eBook is at https://github.com/NormanDunbar/QLAssem ... tober-2020.
Chapter 7.8 is where you need to be:
<>
You dont say whether your findings apply to .., JM, JS, Minerva, SMSQ/E etc. It could, in other wordsI have never seen this documented and it has been discovered by me during long debugging
sessions. Now that SMSQ is here, the above information may no longer be valid. The only
thing to remember is that on entry to a procedure or function, A1 does not hold a suitable
value for the top of the maths stack as stated in various documents.
just be random.
Im no authority, but I would advise to not rely on this unless it were documented to be valid across
the board, and to be there for a particular reason, ie as a result of the way things by necessity are
done, or as a particular service to keyword writers. I wont go into reasons as I hope they are self
evident.
Per
dont be happy. worry
- ?
dont be happy. worry
- ?
Re: Andy Pennell's books.
I can. A few honest mistakes is one thing, but.. Still, some of us have come through, relatively unscathed, so perhaps nuff said.Derek_Stewart wrote:<>
I can not believe that 2 comercial books were published with all these glaring errors.
<>
Per
dont be happy. worry
- ?
dont be happy. worry
- ?
- NormanDunbar
- Forum Moderator
- Posts: 2284
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: Andy Pennell's books.
At the time, JS.pjw wrote: You dont say whether your findings apply to .., JM, JS, Minerva, SMSQ/E etc. It could, in other words
just be random.
True, very true. Maybe I need to do more testing -- it's been a while!pjw wrote: Im no authority, but I would advise to not rely on this unless it were documented to be valid across
the board, and to be there for a particular reason, ie as a result of the way things by necessity are
done, or as a particular service to keyword writers. I wont go into reasons as I hope they are self
evident.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
-
- Font of All Knowledge
- Posts: 4023
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Andy Pennell's books.
Hi
I have added the amendments stated earlier and have loaded a updated PDF file here: I have added an underlined link from page 37 Channels ID to page 167 SuperBasic Channels.
I have updated Git Hub with the main amended PDF and Libre Office ODT file.
https://github.com/SinclairQL/QDOS-Companion
Please let me know here if there are any more errors or additions or raise a Github issue or action.
I have added the amendments stated earlier and have loaded a updated PDF file here: I have added an underlined link from page 37 Channels ID to page 167 SuperBasic Channels.
I have updated Git Hub with the main amended PDF and Libre Office ODT file.
https://github.com/SinclairQL/QDOS-Companion
Please let me know here if there are any more errors or additions or raise a Github issue or action.
Regards,
Derek
Derek
Re: Andy Pennell's books.
Well done, Derek!
Its not your fault that this document is still crawling with errors! To take a few glaring examples after looking at the first few pages:
p3:
PC.MCTRL = PC_MCTRL = 18020 (not 18021)
PC.INTR = PC_INTR = 18021 (not 18022)
PC.TPDATA = PC_TDATA
It irritated me so much (I find this happens more frequently as I get older!) that I downloaded the ODT to do some editing myself and save you some trouble (so please hold off further editing for a while!)
Although I have the latest Apache OO it crashes regularly, and on "restoring" the document I find that some of the changes I made have reverted, while others stuck, wasting me a lot of precious time and leaving me confused and even more !
So then we get to the Systems Variables, p5. Here the book uses absolute addresses rather than offsets, which really is a bloody nuisance and, of course totally wrong, considering that these locations are not guaranteed; only the offsets are. And most if not all official documentation, and any Include Files you'll find, define these mnemonics as offsets and not as absolutes. So heres a dilemma: Should I correct these (I havent investigated what that might do to the rest of the text, and Id hate getting into formatting problems etc), or should I just call it a day and leave this as a lost cause and a historical relic? Or perhaps someone else thinks this is worth salvaging and wants to have a go?
Its not your fault that this document is still crawling with errors! To take a few glaring examples after looking at the first few pages:
p3:
PC.MCTRL = PC_MCTRL = 18020 (not 18021)
PC.INTR = PC_INTR = 18021 (not 18022)
PC.TPDATA = PC_TDATA
It irritated me so much (I find this happens more frequently as I get older!) that I downloaded the ODT to do some editing myself and save you some trouble (so please hold off further editing for a while!)
Although I have the latest Apache OO it crashes regularly, and on "restoring" the document I find that some of the changes I made have reverted, while others stuck, wasting me a lot of precious time and leaving me confused and even more !
So then we get to the Systems Variables, p5. Here the book uses absolute addresses rather than offsets, which really is a bloody nuisance and, of course totally wrong, considering that these locations are not guaranteed; only the offsets are. And most if not all official documentation, and any Include Files you'll find, define these mnemonics as offsets and not as absolutes. So heres a dilemma: Should I correct these (I havent investigated what that might do to the rest of the text, and Id hate getting into formatting problems etc), or should I just call it a day and leave this as a lost cause and a historical relic? Or perhaps someone else thinks this is worth salvaging and wants to have a go?
Per
dont be happy. worry
- ?
dont be happy. worry
- ?
Re: Andy Pennell's books.
I think a caveat at the beginning of the SV description is in order - there's actually more than enough system variables descriptions openly available. Not sure if it's worth fixing in the complete text. Whoever is stubborn enough to stay with only one single book is maybe worthy being condemned to work out the offsets themselvespjw wrote: So then we get to the Systems Variables, p5. Here the book uses absolute addresses rather than offsets, which really is a bloody nuisance and, of course totally wrong, considering that these locations are not guaranteed; only the offsets are. And most if not all official documentation, and any Include Files you'll find, define these mnemonics as offsets and not as absolutes. So heres a dilemma: Should I correct these (I havent investigated what that might do to the rest of the text, and Id hate getting into formatting problems etc), or should I just call it a day and leave this as a lost cause and a historical relic? Or perhaps someone else thinks this is worth salvaging and wants to have a go?
ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
- XorA
- Site Admin
- Posts: 1381
- Joined: Thu Jun 02, 2011 11:31 am
- Location: Shotts, North Lanarkshire, Scotland, UK
Re: Andy Pennell's books.
Not related to the editing, but Apache OO is a dead project, LibreOffice is where actual development of the codebase happens!Although I have the latest Apache OO it crashes regularly, and on "restoring" the document I find that some of the changes I made have reverted, while others stuck, wasting me a lot of precious time and leaving me confused and even more !
Re: Andy Pennell's books.
Good idea. I'll do that and then hand it back. I dont think, after all, that I'll do any more work on this book. Its just too much trouble. Those who have used it are presumably done with it, and those who still wish to learn should look around to the ample resources available nowadays.tofro wrote:I think a caveat at the beginning of the SV description is in order - there's actually more than enough system variables descriptions openly available. Not sure if it's worth fixing in the complete text. Whoever is stubborn enough to stay with only one single book is maybe worthy being condemned to work out the offsets themselvespjw wrote: So then we get to the Systems Variables, p5. Here the book uses absolute addresses rather than offsets, which really is a bloody nuisance and, of course totally wrong, considering that these locations are not guaranteed; only the offsets are. And most if not all official documentation, and any Include Files you'll find, define these mnemonics as offsets and not as absolutes. So heres a dilemma: Should I correct these (I havent investigated what that might do to the rest of the text, and Id hate getting into formatting problems etc), or should I just call it a day and leave this as a lost cause and a historical relic? Or perhaps someone else thinks this is worth salvaging and wants to have a go?
Per
dont be happy. worry
- ?
dont be happy. worry
- ?