QL BlackJack and the LOAD_SP command

Anything QL Software or Programming Related.
Post Reply
User avatar
ge.konstantopoulos
ROM Dongle
Posts: 12
Joined: Tue Dec 05, 2017 12:01 pm

QL BlackJack and the LOAD_SP command

Post by ge.konstantopoulos »

Hello to All,

I have downloaded from dilwyn's site a game called QL Blackjack. Written from Simon Goodwin and Oliver Neef

I unziped it normally in my Classic QL (equipped with a Trump Card). Normal procedure.

I noticed that at the beginning the boot program is loading a set of turbo toolkit commands.
It uses the LRESPR FLP1_RUNTIME_EXTS1,A and as a result we get:
RUNTIME TURBO TOOLKIT Ver 1.37, 1986 Simon N Goodwin
Up to here all fine.

Then the boot program tries to execute this:
LOAD_SP 'FLP1_CARD_DAT'
but in this always fails.
LOAD_SP is a "bad name". Is an unknown command for the QL.
What is missing here?
I tried to find what this LOAD_SP command is (in the manuals of TURBO Toolikt, etc) with no luck.

Anyone knows about this?
Thanks in advance gents.

I would like to make this game to work.

Georgios.


ones' complement
Over Heated PSU
Posts: 135
Joined: Tue Nov 30, 2021 1:19 am

Re: QL BlackJack and the LOAD_SP command

Post by ones' complement »

The LOAD_SP command is located in file BLACK_CDE, which needs to be LRESPR'd to introduce it.

Strangely, looking through boot files, I can't see where it would be :?


User avatar
tofro
Font of All Knowledge
Posts: 2702
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QL BlackJack and the LOAD_SP command

Post by tofro »

LOAD_SP seems to be implemented by the file "black_cde" contained in the very same zip file. This obviously needs to be loaded in order to be found

What ROM version do you use? Some QL ROMs weren't very good in finding machine code procedures that were just loaded in the very same file that wants to use them.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
dilwyn
Mr QL
Posts: 2761
Joined: Wed Dec 01, 2010 10:39 pm

Re: QL BlackJack and the LOAD_SP command

Post by dilwyn »

Never played this.
I think it needs an extra line in the boot file:. Strange nobody's picked up on this before!

185 b=RESPR(2360):LBYTES MDV1_BLACK_CDE,b:CALL b

or, if Toolkit 2 extensions available:
185 LRESPR MDV1_BLACK_CDE

Seems to work OK on JS ROM in QemuLator with that change anyway.


User avatar
ge.konstantopoulos
ROM Dongle
Posts: 12
Joined: Tue Dec 05, 2017 12:01 pm

Re: QL BlackJack and the LOAD_SP command

Post by ge.konstantopoulos »

@dilwyn , @tofro , @ones' complement

Thanks a lot gents. All of you were right.
For a reason the LRESPR command for the BLACK_CDE file was missing in the boot file.
I have included it and now it works fine.

Since you asked: My QL Version is ΣFP (Greek ROM).

Thanks again and appreciated.

Georgios.


User avatar
dilwyn
Mr QL
Posts: 2761
Joined: Wed Dec 01, 2010 10:39 pm

Re: QL BlackJack and the LOAD_SP command

Post by dilwyn »

Good. Thank you for confirming. I have updated the copy on my website.

Amazing. Been there for about 20 years. And nobody reported that problem until now.


Ron27
ROM Dongle
Posts: 2
Joined: Fri Apr 21, 2023 7:23 am

Re: QL BlackJack and the LOAD_SP command

Post by Ron27 »

Hello,

I'd like to thank you for your advice, which will also be very useful to me.


Post Reply