[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?

NVDI works quite fine when started before MiNT.

> > 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...

Yes.

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

Of course. The processor state is saved on the stack.