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

Re: Exception Vectors and You...



If you're running a 68030 with memory protection, you're probably
running afoul of the memory protection. (If a program installs
a vector, it must make sure that the memory pointed to by the
vector is accessible to other programs, otherwise if an interrupt
occurs while another process is running, that *other* process will
get a bus error.)

I do recommend strongly the use of Setexc(), if only because it
automatically sets the memory access flags to avoid the above
problem; plus, it will allow future versions of MiNT to take any
other appropriate actions (e.g. to deinstall vectors if your
program crashes).

Regards,
Eric