Page 2 of 3

Re: C68 out of memory -help

Posted: Wed Aug 19, 2020 8:07 am
by tofro
Derek_Stewart wrote: I thought, maybe the problem is JS Rom problem, so installed Minerva v1.98, but compiling the C68 programme would not compile till the bufp option wss increased. Strange it is not required on SMSQ/E.
I am pretty sure I don't have to use this option on any of my Minerva and SMSQ/E black box installations. Are you sure the C68 version for the tests was the same everywhere?

I do recall C68 wants to use file storage for buffers if it runs out of its allocated buffer space - That is the reason for the "-tmp ram1_" command line switch used in the initial invocation. If there's no ram disk installed on the box, that obviously won't work and might lead to the error message.

Tobias

Re: C68 out of memory -help

Posted: Wed Aug 19, 2020 1:32 pm
by Derek_Stewart
Hi,

There is the Trump Card ram disk installed, which gives a dynamic ram disk of 600Kb or the rest of the remaing memory.

I had tried the TMP definition to ram1_ which did not work.

The only way to compile Hello Wolrd C programme is to increas the linker programme buffer to greater than 25Kb

I will try out the system with a Super Gold card and floppy drives.

So the questio is is the ram disc in the Trump Card enugh for the temporary files used in the linking process.

No problem on SMSQ/E on Q68, QPC2, SMSQmulator, where I set the TEMP and TMP to WIN1_TEMP_ by an environmental variable.

Re: C68 out of memory -help

Posted: Wed Aug 19, 2020 4:02 pm
by mhanias
My QL rom is a greek one MG version

Re: C68 out of memory -help

Posted: Thu Aug 20, 2020 8:14 am
by mhanias
At least for large programs the Compiler is useless?

Re: C68 out of memory -help

Posted: Thu Aug 20, 2020 8:54 am
by mk79
Quite the contrary, you experience this because at some point in time it was optimized for large programs. This is a case of code not matching documentation anymore. The default BUFP is now 500kb, the default BUFL is 200kb, too large for your Trump Card. By specifying a smaller BUFP you lower the memory consumption to a point where it starts working again. Of course it doesn't help that the error message is hopelessly broken...

Re: C68 out of memory -help

Posted: Thu Aug 20, 2020 9:28 am
by EmmBee
Any ideas of how to get the Hello World program to compile on Q-emuLator ?

Re: C68 out of memory -help

Posted: Thu Aug 20, 2020 10:08 am
by NormanDunbar
mk79 wrote:Quite the contrary, you experience this because at some point in time it was optimized for large programs. This is a case of code not matching documentation anymore.
Mystery solved. Thanks Marcel.


Cheers,
Norm.

Re: C68 out of memory -help

Posted: Thu Aug 20, 2020 10:18 am
by mk79
EmmBee wrote:Any ideas of how to get the Hello World program to compile on Q-emuLator ?
Using the command line parameters poster earlier. Or simply up the RAM to 4MB Image

Re: C68 out of memory -help

Posted: Thu Aug 20, 2020 12:28 pm
by mhanias
Marcel is right. Using C68v 4.20 all work perfect There is no need of -bufp.

Michael

Re: C68 out of memory -help

Posted: Thu Aug 20, 2020 4:28 pm
by EmmBee
The latest version of C68 seems to be v4.24 released in October 1998.

Where can we get hold of this earlier version v4.20?