[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Calling gemdos function from Interruption
tir, 11,.10.2005 kl. 09.04 +0200, skrev Olivier Landemarre:
> Odd Skancke wrote:
>
> >man, 10,.10.2005 kl. 22.41 +0200, skrev olivier.landemarre@utbm.fr:
> >
> > What gemdos functions do you need to call from an interrupt?
> >
> I thought to Kbshift() and Pkill()
There is Ikill() which is interrupt safe .. designed to be called from
interrupts :) For kbd shiftstatus, I'm not sure what is the best way. In
XaAES I call the VDI function v_key_s().
<SNIP>
> >
> > So, even if some gemdos functions are callable from interrupts, I think
> >it is a big no-no and should be avoided at all costs. The reason for
> >MagiC not being too stable, I think, is that such things are allowed.
> >
> >
> Really are you sure? This theorical true, but in practice there is no
> sofware doing this except perhaps the AES.
No, I'm not sure :) I was jumping to conclusions since I've heard that
programmers dont like MiNT because of too much restrictions...
Best Regards,
Odd Skancke