Page 1 of 2
Programs from QL advanced User Guide
Posted: Wed Sep 11, 2019 1:32 am
by retro_collector
Does anyone have the programs from the QL advance user guide?
Thanks
Bill
Re: Programs from QL advanced User Guide
Posted: Wed Sep 11, 2019 8:38 am
by Derek_Stewart
Hi Bill,
I have a copy of the book by Adrian Dickens.
I will post a photo later today.
Re: Programs from QL advanced User Guide
Posted: Wed Sep 11, 2019 3:11 pm
by retro_collector
Hi Derek,
Thanks for that but I already have the book
. I am looking for the programs from the Microdrive cart that either came with the book or you ordered.
THanks
Bill
Re: Programs from QL advanced User Guide
Posted: Wed Sep 11, 2019 5:51 pm
by Derek_Stewart
Hi,
Sorry for the confusion.
I can not remember a support disk or cartridge for the book.
I suppose sinceitis aprogramming book, the code examples are to typed in by the programmer.
Re: Programs from QL advanced User Guide
Posted: Wed Sep 11, 2019 8:50 pm
by retro_collector
It says in the book you could order a micro cartridge.
I ask cause I typed in the Experimenter program and it doesn't work and I sort of fixed it but then crashes.
So if anyone has a working version of the experimenter program I would appreciate it
Thanks
Bill
Re: Programs from QL advanced User Guide
Posted: Wed Sep 11, 2019 10:29 pm
by RWAP
retro_collector wrote:It says in the book you could order a micro cartridge.
I ask cause I typed in the Experimenter program and it doesn't work and I sort of fixed it but then crashes.
So if anyone has a working version of the experimenter program I would appreciate it
Thanks
Bill
It has been a long time - maybe publsih your typed in version of the experimenter program on here and we can contribute
Re: Programs from QL advanced User Guide
Posted: Thu Sep 12, 2019 2:01 am
by retro_collector
As Rich suggested here is the Experimenter basic program on page 44 of the QL Advanced user guide
the first error is line 1270 HEX$=C$, makes no sense why this doesn't work but to get around the error I remmed line 1270 and change 1280 from PRINT HEX$ to PRINT C$. This allowed the programs to work with TRAP 1 with D0=0 any other trap or changing D0 causes an error at line 780
Any help would be greatly appreciated!
Thanks
Bill
Re: Programs from QL advanced User Guide
Posted: Thu Sep 12, 2019 6:42 am
by Andrew
You have Toolkit 2 loaded.
HEX$ is a reserved keyword in Toolkit 2 with the syntax HEX$ (decimal,nibbles) and conflicts with the definition of the function hexdec(HEX$)
Experimenter program was written for the standard QL (without any toolkits loaded).
You must change the function definition so it uses a different variable name : e.g. from hexdec(HEX$) to something like hexdec(EHEX$)
Re: Programs from QL advanced User Guide
Posted: Thu Sep 12, 2019 10:04 am
by Artificer
Hi Bill
Here is one from the book that I have typed in - the assembly listing to show the QL's 2 screens without Minerva, if you are interested.
Cheers
Artificer
Re: Programs from QL advanced User Guide
Posted: Thu Sep 12, 2019 1:20 pm
by retro_collector
Andrew wrote:You have Toolkit 2 loaded.
HEX$ is a reserved keyword in Toolkit 2 with the syntax HEX$ (decimal,nibbles) and conflicts with the definition of the function hexdec(HEX$)
Experimenter program was written for the standard QL (without any toolkits loaded).
You must change the function definition so it uses a different variable name : e.g. from hexdec(HEX$) to something like hexdec(EHEX$)
Thanks Andrew!
I should have thought of that, I will change the function and I will also turn off Tool Kit II and try it
THanks
Bill