Re: [hatari-devel] TT emulation crashes when there is no ACSI drive

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Thorsten Otto schrieb:

> On Freitag, 16. August 2019 08:20:57 CEST Christian Zietz wrote:
>> But the caller's small stack is only used again when the new process
>> terminates and returns to the caller?!

> The caller runs in supervisor-mode, so his stack is also used for interrupts.

No, it isn't! The new process gets its own initial user *and* supervisor
stack. Try it and see for yourself.

Regards
Christian

PS: This is the respective line from EmuTOS:
<https://github.com/emutos/emutos/blob/cac24fd114dab289fe68fdc8abd94ba32ec256b0/bdos/proc.c#L542>.
You'll find similar code in Atari TOS, too.
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: http://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/