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

Re: Supervisor mode & multitasking



> For the XBIOS code, the solution is quite simple: just to patch all xbios
> calls into MiNT (by the way, Yves, Falcon XBIOS functions aren't defined
> in the library!!! :( ). This is also possible for VDI, but not for the
> AES, as the AES is mainly not present in the system while MiNT gets
> loaded. 

Same goes for VDI, doesn't it, with NVDI installed?

> Nevertheless, this may be done, but it doesn't guarantee 100% stability. 
> As I know from someone else (hi, Anders ;)), BadMood developers need
> multitasking in supervisor to make the program networkable.  As I looked

True, but then it also relies on the fact that other processes are not
trying to write to the screen...

> I think that for now we may stay with such a limitation, that only one
> supervisor may be running in multitasking at a time (i.e. the rest of
> tasks has to be usermode).
>
> Comments?

I assume that you've thought about the fact that on pre-empting, you'll
have to set/restore supervisor mode.

> I also thought about expanding Pexec() for that - i.e. launch program in
> single mode. Comments?

Yea, it'd probably be nice... kellis' comments show a good use for it.

Anthony
-- 
----------------------------------------+----------------------------------
Anthony Jacques           IRC: AnthonyJ | The boy stood on the burning deck
                                        | Whence all but he had fled -
jacquesa@zetnet.co.uk                   | Twit.           
http://www.users.zetnet.co.uk/jacquesa/ |                  (Spike Milligan)
----------------------------------------+----------------------------------