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

Re: [MiNT] Gemdos function: Super()



Hello!

No, the same apply to Supexec(). You don't need any supervisor access at all as normal application.

But when it's an AES what should we do? because AES is not launch in supervisor mode. And to know timer we can use Ssystem() but only on Mint, I can write my own my_Ssystem() to work on all systems of course, I probably do it, perhaps better should be emulate in Mintlib?

First, not using Super/Supexec applies to FreeMiNT as the other, older OS don't support adequate replacements like Ssystem(). MiNTLib internally don't do any Super/Supexec if running under FreeMiNT. For non-FreeMiNT system MiNTLib go as fallback the old way to determine Cookie values for example.

Other question: Is it possible to have a notification from Mint for the AES that an application crash or stop? Except looking in U:/PROC/*.id some time.

Sure, as kernel module you have complete process state information and as kernel modul you can also use privileged CPU instructions.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de