QL Tinkering

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

Re: QL Tinkering

Postby qbits » Thu May 21, 2020 2:33 pm

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 17 times
QBOrg_v02QPC2Beta.zip
(28.49 KiB) Downloaded 16 times
Last edited by qbits on Fri May 22, 2020 11:39 am, edited 2 times in total.


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

Re: QL Tinkering

Postby NormanDunbar » Thu May 21, 2020 2:47 pm

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 - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
Chr$
Super Gold Card
Posts: 547
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany

Re: QL Tinkering

Postby Chr$ » Thu May 21, 2020 3:38 pm

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!


Collector of original and some newer QL related computers, accessories and software even though I don't understand how any of them work.
Original BBQL's: 3x German, 1x UK model (plus quite a bit of other old stuff)
Custom AT cased QL system with Gold Card, Qimi mouse, Hermes and MFM HDD
PC with QXLII card installed
Q68 also present

Ask me about near NOS re-felted good quality Microdrive Carts - many available.
qbits
Chuggy Microdrive
Posts: 67
Joined: Sun Dec 11, 2016 3:32 pm

Re: QL Tinkering

Postby qbits » Thu May 21, 2020 4:13 pm

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$
Super Gold Card
Posts: 547
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany

Re: QL Tinkering

Postby Chr$ » Thu May 21, 2020 4:28 pm

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.


Collector of original and some newer QL related computers, accessories and software even though I don't understand how any of them work.
Original BBQL's: 3x German, 1x UK model (plus quite a bit of other old stuff)
Custom AT cased QL system with Gold Card, Qimi mouse, Hermes and MFM HDD
PC with QXLII card installed
Q68 also present

Ask me about near NOS re-felted good quality Microdrive Carts - many available.
User avatar
Chr$
Super Gold Card
Posts: 547
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany

Re: QL Tinkering

Postby Chr$ » Thu May 21, 2020 4:36 pm

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.


Collector of original and some newer QL related computers, accessories and software even though I don't understand how any of them work.
Original BBQL's: 3x German, 1x UK model (plus quite a bit of other old stuff)
Custom AT cased QL system with Gold Card, Qimi mouse, Hermes and MFM HDD
PC with QXLII card installed
Q68 also present

Ask me about near NOS re-felted good quality Microdrive Carts - many available.
User avatar
NormanDunbar
Forum Moderator
Posts: 1125
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL Tinkering

Postby NormanDunbar » Thu May 21, 2020 10:13 pm

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 - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
NormanDunbar
Forum Moderator
Posts: 1125
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: QL Tinkering

Postby NormanDunbar » Thu May 21, 2020 10:14 pm

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 - https://www.amazon.co.uk/Arduino-Softwa ... 1484257898, https://www.apress.com/gb/book/9781484257890
User avatar
janbredenbeek
Gold Card
Posts: 395
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: QL Tinkering

Postby janbredenbeek » Thu May 21, 2020 11:02 pm

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$
Super Gold Card
Posts: 547
Joined: Mon May 27, 2019 10:03 am
Location: Sachsen, Germany

Re: QL Tinkering

Postby Chr$ » Thu May 21, 2020 11:20 pm

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?


Collector of original and some newer QL related computers, accessories and software even though I don't understand how any of them work.
Original BBQL's: 3x German, 1x UK model (plus quite a bit of other old stuff)
Custom AT cased QL system with Gold Card, Qimi mouse, Hermes and MFM HDD
PC with QXLII card installed
Q68 also present

Ask me about near NOS re-felted good quality Microdrive Carts - many available.

Who is online

Users browsing this forum: No registered users and 2 guests