• Stewart Brodie's avatar
    Fixed bug in _swi/_swix code. · e6f4dbc1
    Stewart Brodie authored
      This code would only work in 26-bit modes, since it stored the output
        flags using STR pc, [sp, #4*4]!.  When {CONFIG} is 32, it stores the
        CPSR instead.
      Tested in 32-bit Lazarus build - this fixes the RCMMDriver stiffing
        (because it sits with interrupts off waiting for the C flag to be
        set on exit from an OS_Byte call it calls through _swix)
    Version 5.19. Tagged as 'RISC_OSLib-5_19'
swiv 10.8 KB