[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Announcment: CFLIB for AHCC



Am Dienstag, den 16.07.2013, 13:06 +0200 schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:
On 16/07/2013 10:54, Ole wrote:
Hm... why not increase stack size in EmuTOS? I mean, it's just
temporary memory and therefore it wouldn't hurt, or?

Of course that would be fixable in EmuTOS.
But the problem is also present in Atari TOS, it would be quite
insane to allow "bad" programs to run on EmuTOS while they could not
run or original TOS.

That's somehow true...

User programs should include a workaround to that USERDEF stack
problem, to cope with bad TOS. They should use some private user stack
to avoid that trouble. I posted a (potentially unsafe) solution to
this list long ago, but it had poor success.

Yes, I'm rembering that, of course :) Until now I never had hit the problem. But I also rember it wasn't that easy to implement... On the other hand it's
an well known fact that the USERDEF function runs in super mode and
that there is little stack available... CFLIB/GEMLIB should handle it....

Greets,
Ole