[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: GEMDOS from VBL
Hi!
Calling MiNT from a interrupt is generally a very bad idea.
Why would you like to find out the available memory in the VBL handler?
For
Clocky?
(Just curious. Sounds like you could use the ALRM signal and then
synchronize
the result to the VBL handler instead. Remember that a long word move is
uninterruptable, ignoring MMU exeptions, bus errors and adress errors of
course...)
Regards
Sven
> -----Original Message-----
> I needed to call a GEMDOS function (e.g. malloc(-1)) from VBL
> interrupt.
> I thought GEMDOS in MiNT is fully re-entrant, but my test program
> freezed whole computer immediately. Is it a wrong idea to call GEMDOS
> >from VBL under MiNT? If yes, how else could I get the info about
> actual
> free memory?
>