QL-SD Kit - can't load Office programs

Nagging hardware related question? Post here!
Post Reply
AustinDan
ROM Dongle
Posts: 3
Joined: Mon Nov 03, 2014 3:04 pm

QL-SD Kit - can't load Office programs

Post by AustinDan »

hi,
I have successfully installed my new QL-SD kit into my QL (i have a 512 memory expansion giving me a total of 640MB ram). I am somewhat a newcomer to the QL but i am simply trying to run the likes of Quill etc from the SD card. I am able to do a DIR SDC1_ and see the office dir and then do a DIR SDC1_Office to see the contents of office etc. When i try and simply type LRUN OFFICE_QUILL_BOOT, the application starts to load the application and then gives me a "not found" error.

Can someone help me. Again, i am just getting into the QL and would massively appreciate your help.
Thanks
Dan Patterson.


RWAP
RWAP Master
Posts: 2893
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: QL-SD Kit - can't load Office programs

Post by RWAP »

I assume it is because the Psion programs are designed to run from either mdv1_ (microdrive) or flp1_ (disk). The QL has no easy means of files being loaded from relative paths, so that means that programs have to be patched or similar to get them to run from different devices.

Have a look at the boot program with:

Code: Select all

LOAD sdc1_OFFICE_QUILL_BOOT
Then:

Code: Select all

EDIT
At some point it will say:

Code: Select all

EXEC_W mdv1_QUILL
or

Code: Select all

EXEC_W flp1_QUILL
You can edit that line to read

Code: Select all

EXEC_W sdc1_OFFICE_QUILL_QUILL
which should load the program, but unfortunately, this is not the best solution, as Quill will still try to access flp1_ (or mdv2_) if you press F1 for help.

So how do you overcome this....

a) You can use an editor (such as SPY Editor from http://www.dilwyn.me.uk/editview/index.html) to edit each file and change references from flp1_ to sdc1_ (but this assumes all files are stored in the base directory, not a sub-directory).
b) You can issue the command

Code: Select all

SDC_USE flp
which basically renames the sdc device to be used by DIR flp1_ instead of DIR sdc1_ (I think that is the correct command - I do not own a QL-SD)
However, again, this does not deal with sub-directories...

c) You can use the DEV toolkit (http://www.dilwyn.me.uk/tk/index.html) - this allows you to use commands such as:

Code: Select all

DEV_USE 1,sdc1_OFFICE_QUILL_
DEV_USE flp
Now - this is a little complex.

DIR flp1_
is redirected to be the same as
DIR dev1_

However, the chain above, says that attempts to access dev1_ should actually look within the subdirectory sdc1_OFFICE_QUILL_

You could then use,

Code: Select all

DEV_USE 2,sdc1_OFFICE_DOCS_
and attempts to access flp2_ from within Quill (for save document etc) would then be redirected to dev2_, which in turn looks at the sub-directory sdc1_OFFICE_DOCS_

Hope this is not too confusing...


AustinDan
ROM Dongle
Posts: 3
Joined: Mon Nov 03, 2014 3:04 pm

Re: QL-SD Kit - can't load Office programs

Post by AustinDan »

Hi Rich
As always, massive thanks!

Has anyone else had issues with getting office to run from the ql-sd using the provided sd card image? More importantly, has anyone got it to run succesfully? If so, can you share how.

Thanks
Dan


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

Re: QL-SD Kit - can't load Office programs

Post by tofro »

RWAP wrote: c) You can use the DEV toolkit (http://www.dilwyn.me.uk/tk/index.html) - this allows you to use commands such as:

Code: Select all

DEV_USE 1,sdc1_OFFICE_QUILL_
DEV_USE flp
Now - this is a little complex.

DIR flp1_
is redirected to be the same as
DIR dev1_

However, the chain above, says that attempts to access dev1_ should actually look within the subdirectory sdc1_OFFICE_QUILL_

You could then use,

Code: Select all

DEV_USE 2,sdc1_OFFICE_DOCS_
and attempts to access flp2_ from within Quill (for save document etc) would then be redirected to dev2_, which in turn looks at the sub-directory sdc1_OFFICE_DOCS_

Hope this is not too confusing...
Note the DEV toolkit needs HOTKEY system 2 (part of the PTR Environment) to run. That's not pointed out in the manual and might confuse you at first (and, without a proper hint, at second as well ;) ). Unfortunately DEV just says "not found" if HOTKEY missing whithout telling what it didn't find....

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
tofro
Font of All Knowledge
Posts: 3132
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QL-SD Kit - can't load Office programs

Post by tofro »

Ha! And I just see Dilwyn has added a reference to that fact on his page. Good boy!


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Post Reply