On 15 Apr 2012, at 08:59, Rich Mellor wrote: > On 13/04/2012 16:10, Norman Dunbar wrote: >> On 13/04/12 16:06, Rich Mellor wrote: >>> You are correct - the full error is: >>> >>> Cannot open flp1_libguide_dbs as a database. -15 Press ENTER ... >>> >>> The database starts with DBAS >>> >>> As I say, the program runs fine under Minerva and I have opened it and >>> resaved it. >>> >>> It still will not open under a JS ROM on q-emulator. >> >> The source code isn't complicated. Open the file as a qdos file first, then >> take the 32 bit channel number and use that to open the file as a database. >> >> If the database id returned is negative, we have an error, bale out after >> displaying the error. >> >> So the problem must be/is in the DBAS library or Q-Emulator I think, >> especially as it opens fine in other ROMs. >> >> Difficult one to solve I think. >> >> >> Cheers, >> Norm. >> > Daniele has looked at this issue and to quote his comments: > > " The bad parameter error is related to a file system TRAP#3 call with D0=$44. > Do you know what this trap is supposed to do?
This Trap is not implemented on all the normal QDOS and SMSQ/E systems. > > In any case, this is probably not the primary issue, as on Minerva this TRAP > is not called for some reason. Either the code really doesn't work on JS, or > there is an incompatibility somewhere, perhaps in the Q-emuLator file > drivers." > George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm