Programs from QL advanced User Guide

Anything QL Software or Programming Related.
retro_collector
Brittle Membrane
Posts: 107
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Programs from QL advanced User Guide

Post by retro_collector »

Does anyone have the programs from the QL advance user guide?

Thanks

Bill


Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Programs from QL advanced User Guide

Post by Derek_Stewart »

Hi Bill,

I have a copy of the book by Adrian Dickens.

I will post a photo later today.


Regards,

Derek
retro_collector
Brittle Membrane
Posts: 107
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Programs from QL advanced User Guide

Post 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


Derek_Stewart
Font of All Knowledge
Posts: 3929
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Programs from QL advanced User Guide

Post 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.


Regards,

Derek
retro_collector
Brittle Membrane
Posts: 107
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Programs from QL advanced User Guide

Post 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


RWAP
RWAP Master
Posts: 2834
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: Programs from QL advanced User Guide

Post 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


retro_collector
Brittle Membrane
Posts: 107
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Programs from QL advanced User Guide

Post 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
exper_bas.zip
(1.4 KiB) Downloaded 108 times


User avatar
Andrew
Aurora
Posts: 786
Joined: Tue Jul 17, 2018 9:10 pm

Re: Programs from QL advanced User Guide

Post 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$)


User avatar
Artificer
Brittle Membrane
Posts: 120
Joined: Fri Nov 24, 2017 8:43 am

Re: Programs from QL advanced User Guide

Post 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.
TWOSCRN.zip
(1.06 KiB) Downloaded 136 times
Cheers

Artificer


retro_collector
Brittle Membrane
Posts: 107
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Programs from QL advanced User Guide

Post 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


Post Reply