Non-functioning Pascal ext ROM

Nagging hardware related question? Post here!
User avatar
Andrew
QL Wafer Drive
Posts: 1032
Joined: Tue Jul 17, 2018 9:10 pm

Re: Non-functioning Pascal ext ROM

Post by Andrew »

AndyZX wrote: Sun Feb 16, 2025 2:23 am FYI: here are my MDVs, I am not sure which version they are.
The mdvs are for v1.8


Derek_Stewart
Font of All Knowledge
Posts: 4656
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Non-functioning Pascal ext ROM

Post by Derek_Stewart »

Hi,

Here is the start of the PRL Pascal v1.18 ROM disassembled:
Pascal_DISA.png

Note the Keyword ROM is defined with address L0028 and the the jump to location L0036 to initialise the ROM.


Regards,

Derek
User avatar
RalfR
QL Wafer Drive
Posts: 1177
Joined: Fri Jun 15, 2018 8:58 pm

Re: Non-functioning Pascal ext ROM

Post by RalfR »

I'm surprised that t0nyt doesn't see anything despite the ROM header.


7000 4E75
User avatar
t0nyt
Aurora
Posts: 926
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Non-functioning Pascal ext ROM

Post by t0nyt »

RalfR wrote: Sun Feb 16, 2025 7:44 am I'm surprised that t0nyt doesn't see anything despite the ROM header.
This is with the v1.8 dongle plugged in (it's exactly the same with BBQL or SGC)

IMG_4498.jpeg
IMG_4499.jpeg


User avatar
NormanDunbar
Forum Moderator
Posts: 2459
Joined: Tue Dec 14, 2010 9:04 am
Location: Buckie, Scotland
Contact:

Re: Non-functioning Pascal ext ROM

Post by NormanDunbar »

AndyZX wrote: Sun Feb 16, 2025 2:10 am the ROM command doesn't work, it says "bad name", so it might be that the ROM is not detected at all.
As far as I remember, the ROM command is part of the ROM itself, so if the ROM command itself isn't working, the ROM wasn't recognised. You should see the ROM name displayed on screen when you power up the QL with the ROM plugged in -- this is normal for ROMs and the Pascal manual says as much too. If you didn't, it's not there or not working or the ROM slot is broken.

HTH

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.
jobdone
Forum Moderator
Posts: 106
Joined: Wed Aug 07, 2019 4:59 am

Re: Non-functioning Pascal ext ROM

Post by jobdone »

Quote '(They still don’t display anything on the F1/F2 screen though)' . This rom is not supposed to , typing 'ROM' in in superbasic should show the rom.


jobdone
Forum Moderator
Posts: 106
Joined: Wed Aug 07, 2019 4:59 am

Re: Non-functioning Pascal ext ROM

Post by jobdone »

See attachments for what should happen with and without the rom loaded in superbasic after typing 'rom'
Attachments
Screenshot from 2025-02-21 06-21-18.png
Screenshot from 2025-02-21 06-21-04.png


User avatar
t0nyt
Aurora
Posts: 926
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Non-functioning Pascal ext ROM

Post by t0nyt »

jobdone wrote: Fri Feb 21, 2025 6:17 am Quote '(They still don’t display anything on the F1/F2 screen though)' . This rom is not supposed to , typing 'ROM' in in superbasic should show the rom.
That was my point, it’s not supposed to


jobdone
Forum Moderator
Posts: 106
Joined: Wed Aug 07, 2019 4:59 am

Re: Non-functioning Pascal ext ROM

Post by jobdone »

I think if it still didn't work I'd ask myself what else I have loaded in ROM taking the space? Not sure how well this ROM works with tk2 even.


User avatar
AndyZX
ROM Dongle
Posts: 24
Joined: Sun Feb 06, 2022 7:13 pm

Re: Non-functioning Pascal ext ROM

Post by AndyZX »

The mystery is solved, yey!

In the end the problem emerged to be Toolkit II that is included in my JS ROM package. Thank you all for providing useful suggestions which prompted further my train of thought. Actually I came to this solution via Q-emulator where I noticed a potential mismatch between the two ROMs resulting in the message "bad rom". Thanks to @Andrei in one of his previous posts for pointing that Pascal ROM needed to be inserted in the back ROM section (and not in the ext ROM section) and to @jobdone for questioning whether it would work with TKII. Although Pascal ROM seems to work fine with TKII on Q-emulator if the slots are reversed (i.e. Pascal in the back rom and TKII in the ext rom), the cofiguration is clear with regard to the original QL. When I turned the TKII switch off, the ROM command gave "Pascal 1.8" message and I could proceed to loading MMC Pascal, which worked without any problems. :D I am sure that cleaning the ROM with fiberglass brush was useful, too, so thanks @NormanDunbar for that suggesiton. Thanks, the QL Forum, for being such a fantastic place! ;)
Attachments
IMG_6427.jpg


Post Reply