QL Tinkering

Helpful tips and guides, also new users can ask for help here.
qbits
Trump Card
Posts: 171
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Post by qbits »

Hi Chris & Norman

Thanks for your time on this I've uploaded a further edited version.
and attached same here! Let's hope this does the trick!

QBITS
Attachments
QBOrganiser_v02Beta.pdf
(1.87 MiB) Downloaded 120 times
QBOrg_v02QPC2Beta.zip
(28.49 KiB) Downloaded 125 times
Last edited by qbits on Fri May 22, 2020 11:39 am, edited 2 times in total.


User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL Tinkering

Post by NormanDunbar »

Chr$ wrote:It (qemulator) doesn't like the new version either. Nor does it seem to like Norman's suggestions, although I didn't try the last option yet because I'd have to renum and then also spotted MISTake lines for the same issue at lines 1127 and 1640 - 1643.
That's interesting. I tested my code before posting - I've been bitten too many times when I didn't test.

I have to admit, the consecutive line numbers can be interesting to work with! :D


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.
User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: QL Tinkering

Post by Chr$ »

qbits wrote:Hi Chris & Norman

Thanks for your time on this I've uploaded a further edited version.
and attached same here! Let's hope this does the trick!

QBITS
Seems fine on a slightly expanded BBQL but still shows prefix MISTake for 1150 (not the lines immediately below it), 1127 and 1640 - 1643 on qemulator (set to use JS ROM with TK2).

How do you get back to the main menu? Sorry if that info is somewhere here or in the pdf and I've missed it!


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
qbits
Trump Card
Posts: 171
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Post by qbits »

Hi chris,
Back to main menu from any of the Organiser pages is <spacebar> top of right hand page Contents solid bar (spacebar)
- see page 3 of pdf for control keys, (note not shown on calendar page)

Mistake line 1150, Select On yr% if your using the QPC2 version it might be due to a REMark staement on same line delete it and try again.
line 1127 ??? single line SELect ON statement
lines 1640 -1643 single line SELect On statements guess same problem as before?

Norman I wish I had more platforms for testing, but I only have QPC2 and QL2k emulators and on both my code works fine.
This variation in use of SELect ON and results is an interesting one.

QBITS


User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: QL Tinkering

Post by Chr$ »

Grab the free version of qemulator Mr Qbits, you won't need to upgrade it to attach a directory to drive 1 containing the BBQL file. Then just lrun it.

The REM statement seems fine, it appears to be the SELECT on statements that it throws a wobbly at.


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: QL Tinkering

Post by Chr$ »

I think I've found what the problem is. Qemulator doesn't like the '%' symbol in connection with SELect on. Whatever syntax I tried it always failed to accept the line with 'bad line' until I removed the '%', then it became a good line!

1130 is SELect on k. When I try to change that to 'k%'.... bad line.


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL Tinkering

Post by NormanDunbar »

Bingo!

SELect requires a floating point variable. I'd completely forgotton about that. At keast, on a BBQL it does. Jan Jones said so!


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.
User avatar
NormanDunbar
Forum Moderator
Posts: 2251
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL Tinkering

Post by NormanDunbar »

Bingo!

SELect requires a floating point variable. I'd completely forgotton about that. At least, on a BBQL it does. Jan Jones said so!

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.
User avatar
janbredenbeek
Super Gold Card
Posts: 630
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: QL Tinkering

Post by janbredenbeek »

NormanDunbar wrote:Bingo!

SELect requires a floating point variable. I'd completely forgotton about that. At keast, on a BBQL it does. Jan Jones said so!
If you have a Minerva ROM or SMSQ/E, SELect can take integer variables.

Jan.


User avatar
Chr$
QL Wafer Drive
Posts: 1304
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany
Contact:

Re: QL Tinkering

Post by Chr$ »

janbredenbeek wrote:
NormanDunbar wrote:Bingo!

SELect requires a floating point variable. I'd completely forgotton about that. At keast, on a BBQL it does. Jan Jones said so!
If you have a Minerva ROM or SMSQ/E, SELect can take integer variables.

Jan.
My BBQL has Minerva, so that must have been why it wasn't an issue there. Qemulator is default JS. Do you know if German MGG ROM is ok with integer?


https://QXL.WIN
Collector of QL related computers, accessories and QL games/software.
Ask me about felt pads - I can cut them to size and they have proved excellent for mdv data recovery.
Post Reply