On 02/15/13 09:34, Vincent Rivière wrote:
On 14/02/2013 21:07, David Gálvez wrote:This patch adds code to change the bus error exception handler before we try to read the register, and to enable the old one when we're finish.Is this the right way to do with FreeMiNT? I thought there was high level functions like signal catching, etc...
Mmm, yes, I think it should be possible to do.... sigbus() { /* failed */ } SIGACTION(get_curproc(), SIGBUS).sa_handler = (long) sigbus; Alan.