QL PASCAL v1.8

Anything QL Software or Programming Related.
User avatar
t0nyt
Aurora
Posts: 940
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: QL PASCAL v1.8

Post by t0nyt »

Andrew wrote: Wed Oct 16, 2024 6:54 pm
t0nyt wrote: Wed Oct 16, 2024 6:28 pm But when I load the v1.4 ROM image in Q-emuLator and try to run Pascal it complains the ROM isn't present or is the wrong version
How do you load the ROM?
In QEmulator -> QL Configuration you must load the Metacomco ROM as "Back ROM" and set it to "Active"
I tested with v1.8 - there is no message that the ROM is loaded, but programs ED (editor) and Pascal (compiler) work.
Yes, other than being v1.4 that’s exactly what I’m trying

Many thanks


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

Re: QL PASCAL v1.8

Post by t0nyt »

Derek_Stewart wrote: Wed Oct 16, 2024 6:51 pm Hi,

Prospero Pascal is on tge QL Homepage, which the rom image v1.15 is included.

I loaded this into Q-emulator, which recognised the ROM in startup, and entering PRL loads the rom.

Have copied the ROM correctly?
It's Metacomco Pascal I'm trying to use

Many thanks


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

Re: QL PASCAL v1.8

Post by Derek_Stewart »

Hi,

The ROM image can sit in the Rom Port or Back image section in Qemulator. On power the ROM defines a command in S*BASIC this loads the ROM routines into memory. Check thd manual out on the QL Home Page,

If you want to use SMSQ/E use the EPROM_LOAD command to load tge ROM file, I generally use DEV or SUB to map a psuedo MDV device to the compiler or use MDI or FDI to use a MDV or FLP image.


Regards,

Derek
User avatar
Andrew
QL Wafer Drive
Posts: 1032
Joined: Tue Jul 17, 2018 9:10 pm

Re: QL PASCAL v1.8

Post by Andrew »

Derek_Stewart wrote: Wed Oct 16, 2024 7:08 pm Hi,

The ROM image can sit in the Rom Port or Back image section in Qemulator. On power the ROM defines a command in S*BASIC this loads the ROM routines into memory. Check thd manual out on the QL Home Page,
As far as I can see, tested with v1.8:
- it works as Back ROM
- it does not work as Ext ROM
- there is no PRL command
- in v1.8 the command is: ROM
- if the ROM is loaded as Back ROM then programs Ed and Pascal work even if the command ROM is not issued. (the programs start without any error message - but I have not tried to actually compile anything)


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

Re: QL PASCAL v1.8

Post by t0nyt »

Andrew wrote: Wed Oct 16, 2024 7:30 pm
Derek_Stewart wrote: Wed Oct 16, 2024 7:08 pm Hi,

The ROM image can sit in the Rom Port or Back image section in Qemulator. On power the ROM defines a command in S*BASIC this loads the ROM routines into memory. Check thd manual out on the QL Home Page,
As far as I can see, tested with v1.8:
- it works as Back ROM
- it does not work as Ext ROM
- there is no PRL command
- in v1.8 the command is: ROM
- if the ROM is loaded as Back ROM then programs Ed and Pascal work even if the command ROM is not issued. (the programs start without any error message - but I have not tried to actually compile anything)
Thanks Andrew

If I load v1.8 Rom then “ROM” works, but not with v1.4 Rom

I guess there may be a corruption in my v1.4 Rom or MDVs

Will try to re-read the MDVs they all came on

Many thanks


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

Re: QL PASCAL v1.8

Post by t0nyt »

Reading the manual it seems highly likely my v1.4 ROM image is bad as it’s not recognising the ROM command


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

Re: QL PASCAL v1.8

Post by t0nyt »

Yes!

I found the ROM image had a 12 byte header that shouldn't be there (to use as a ROM image) and it's working now

Should of realised that the file was 12 bytes too long

Many thanks all


Post Reply