• Order of the Butterfly
    Order of the Butterfly
    ChrisH
    Posts: 167 from 2009/11/26
    My final (?) problem on MorphOS is that I cannot get a timer.device-based repeating interrupt to work, it simply crashes the whole machine. Very similar code works fine on AROS, OS4 & OS3, which suggests that the MOS-specific code is probably at fault...
    http://cshandley.co.uk/temp/MOS_TimerTest.cpp

    It appears to crash on or after the first SendIO() call, probably at the point the timer expires. This suggest that the gate/isr wrapper is to blame. Additionally, the only MOS-specific code is the gate/isr wrapper (and how it is used), again suggesting this is the likely cause. Sadly I can't see anything wrong :(

    I found a related discussion, but so far it hasn't helped me:
    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=7681&forum=12

    Any suggestions appreciated.

    [ Edited by ChrisH 26.10.2011 - 18:40 ]
    Author of the PortablE programming language.
    It is pitch black. You are likely to be eaten by a grue...
  • »26.10.11 - 16:58
    Profile Visit Website