anchor.diff:  ;
   
   \ --------------------------------------------------
  -\  Convenience fonctions
  -\ --------------------------------------------------
  -
  -: ms ( ms_delay -- ) \ `ms` which allows other tasks to run
  +\  Convenience functions
  +\ --------------------------------------------------
  +
  +: ms ( ms_delay -- ) \ `ms` which allows other tasks to run - do not use in IRQ!
     millis swap   ( start ms_delay )
     begin
       wfi pause running \ switch to `wfi` to let lowpower-task go to sleep
  
positive.code:   r> insert
  ;
  
  : activate ( task --   R: continue -- )
    true over 1 cells + ! \ Currently running
    r> preparetask
  ;
  
  : background ( task --   R: continue -- )
    false over 1 cells + ! \ Currently idling
    r> preparetask
  
negative.code: \  Lowpower mode
  \ --------------------------------------------------
  
  : up-alone? ( -- ? ) \ Checks if all other tasks are currently in stopped or waiting for next interrupt
    next-task @ \ Current task is in UP. Start with the next one.
    begin
      dup up @ <> \ Scan the whole round-robin list until back to current task.
  