• MorphOS Developer
    Piru
    Posts: 576 from 2003/2/24
    From: finland, the l...
    Quote:

    Now my questions, what to put in mp_Sigtask?

    Code:

    a) md->irqport->mp_SigTask = (struct Task *) md->timer_irq;


    as used for m68k, or
    Code:

    b) md->irqport->mp_SigTask = (struct Task *) &irqgate;


    a

    PA_SOFTINT is implemented but softint themselves don't work exactly the same as in 68k. Namely there's no real interrupt involved but rather the is_Code is executed directly in Forbid(). This can lead to somewhat different behavior. Note that you should not perform lengthy and/or complex operations in the softint, and certainly not anything that might result in Wait().

    [ Edited by Piru on 2011/1/14 0:17 ]
  • »13.01.11 - 22:13
    Profile