[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] xaaes.km calls the AES appl_init() in supervisor mode
On 03/09/13 17:31, Vincent Rivière wrote:
On 09/03/2013 12:17, Vincent Rivière wrote:
I suspect that FreeMiNT's Fsfirst() use much more stack than the
so the private stack overflows.
Indeed, that EmuTOS private AES stack overflowed.
I increased it, that will be available in next EmuTOS snapshot.
Now we can safely (*) use FreeMiNT with GEM=ROM and run xaloader.prg
from the EmuTOS desktop. Even exiting XaAES works fine.
BTW, it seems that when calling from supervisor mode, FreeMiNT's
Fsfirst() uses about 1.5 kB of stack. That seems quite a lot. Even
though EmuTOS is now patched to cope with that, I wonder how much
Atari TOS likes that, with GEM=ROM.
(*) The next issue is to ensure that xaaes.km has a valid USP. As we
seen, this is mandatory before calling the AES from supervisor mode.
Thank you Vincent for working on this issue !