Programs from QL advanced User Guide

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

Programs from QL advanced User Guide

Postby retro_collector » Wed Sep 11, 2019 1:32 am

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

Thanks

Bill


Derek_Stewart
QL Wafer Drive
Posts: 1434
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Programs from QL advanced User Guide

Postby Derek_Stewart » Wed Sep 11, 2019 8:38 am

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: 104
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Programs from QL advanced User Guide

Postby retro_collector » Wed Sep 11, 2019 3:11 pm

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
QL Wafer Drive
Posts: 1434
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Programs from QL advanced User Guide

Postby Derek_Stewart » Wed Sep 11, 2019 5:51 pm

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: 104
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Programs from QL advanced User Guide

Postby retro_collector » Wed Sep 11, 2019 8:50 pm

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: 2633
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: Programs from QL advanced User Guide

Postby RWAP » Wed Sep 11, 2019 10:29 pm

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: 104
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Programs from QL advanced User Guide

Postby retro_collector » Thu Sep 12, 2019 2:01 am

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 10 times


Andrew
Trump Card
Posts: 233
Joined: Tue Jul 17, 2018 9:10 pm

Re: Programs from QL advanced User Guide

Postby Andrew » Thu Sep 12, 2019 6:42 am

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
Chuggy Microdrive
Posts: 66
Joined: Fri Nov 24, 2017 8:43 am

Re: Programs from QL advanced User Guide

Postby Artificer » Thu Sep 12, 2019 10:04 am

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 9 times


Cheers

Artificer


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

Re: Programs from QL advanced User Guide

Postby retro_collector » Thu Sep 12, 2019 1:20 pm

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



Who is online

Users browsing this forum: No registered users and 3 guests