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

Re: Programs from QL advanced User Guide

Post by retro_collector »

Artificer wrote: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

Cheers

Artificer

Thanks Artificer!

I will play with it!


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, turning off toolkit II did fix HEX$ issue and that part works.

I still get AT LINE 780 overflow and its with a basic QL configuration


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 »

780 is trying to call the trap - so it depends what values you are entering


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 »

You line 780 call the trap with the values in the address and data registers. I followed the examples in the book and what should work doesn't


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

Re: Programs from QL advanced User Guide

Post by Andrew »

retro_collector wrote:Andrew, turning off toolkit II did fix HEX$ issue and that part works.

I still get AT LINE 780 overflow and its with a basic QL configuration
Function HEXDEC is not returning proper result - you have an error in line 1070
Change it to : 1070 IF v>47 THEN v=v-48

Corrected program in attachment - now also runs when Toolkit 2 is loaded
Attachments
exper_bas.zip
(1.59 KiB) Downloaded 87 times


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 »

Thank you Andrew! I fixed the HEX$ by Changing to HHEX$, I dont know how i missed the IF V>47 line since I looked at that function for hours!

Cheers!

Bill


stephen_usher
Gold Card
Posts: 429
Joined: Tue Mar 11, 2014 8:00 pm
Location: Oxford, UK.
Contact:

Re: Programs from QL advanced User Guide

Post by stephen_usher »

retro_collector wrote:Thank you Andrew! I fixed the HEX$ by Changing to HHEX$, I dont know how i missed the IF V>47 line since I looked at that function for hours!

Cheers!

Bill
It was probably BECAUSE you looked at the function for hours and always read what you thought it should be. Been there, done that.


Post Reply