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

Re: [MiNT] zview



 Le 23/10/2011 12:30, Helmut Karlowski a écrit :
Am 22.10.2011, 14:29 Uhr, schrieb OL <o.l@lutece.net>:

No as I remember I installed vectors with vex_xxx function from VDI and I try to call gemdos to wake up a process sleeping, it crash while it work fine with Magic (I start work on MyAES under MagicMac). This was clean way to manage events while now as I'm not in kernel I need periodically look in events.

I think VDI is much more critical - depending on the VDI in use it may be or may not be reentrant (and I guess NVDI and MagiC have some common undocumented internals), so I'd say never do this from a VDI-trap.

In such a case setting a flag to be evaluated in another loop would probably be a solution, but I don't know your specific case.

But you can trap VDI from AES (of course) ..


when you use vex_xxx() function it's for install interrupt vector for mouse click, mouse move and wheel move, you can add your own vector and chain to the old one, the problem not occur in VDI trap but in the hardware interrupt, this is very low level.

Olivier