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

Re: Supervisor mode & multitasking



> >As I know from someone else (hi, Anders ;)), BadMood developers need
> >multitasking in supervisor to make the program networkable.  As I looked
> >at the Super() and Supexec() system calls, they can't be fixed easily to
> >do that, besides, it might broke compatibility with existing software (you
> >never know which program takes advantage of the fact that there's no
> >multitasking in supermode). So, the best solution for now is, in my
> >opinion, to add the THIRD system call referring to the supervisor mode.
> 
> So if I understand you, you're going to add a BadMood specific call into
> MiNT kernel? Why? Do you think BadMood players would ever install MiNT? And
> do you think BadMood will be finished?

Not "BadMood specific" :) Anders said, that BadMood developers want to
make the program networkable. So my thoughts were like this:

1) BadMood, to run fast on Falcon, has to run in supervisor, because it
wants to utilize as many CPU power as possible.
2) supervisor stops multitasking.
3) mintnet needs multitasking
4) so, is it currently possible to run games like BadMood networked using
   MiNT-Net?
5) answer: no, its completely impossible.

Hence the idea. But if you all think its more dangerous (because of normal
programmers' lazyness), than advantageous, I can cancel this function.

Besides, if BadMood steals the VBL autovector for itself and exists the
VBL using RTE, it won't multitask anyways.

Konrad M.Kokoszkiewicz
mail:draco@bl.pg.gda.pl
http://www.orient.uw.edu.pl/~conradus/

** Quem Iuppiter vult perdere, dementat prius.
*******************************************************
** Kogo Jowisz chce zgubic, temu wpierw rozum odbiera.