Bob Ammerman wrote: > Bob Ammerman wrote: >>> Actually, a preemptive scheduler is difficult, and probably not >>> desirable on a PIC 16, but there is a way to do it. Any guesses >>> how? > > Olin replied: >> I don't want to give away the answer to the original question before >> Solarwind has a chance to think about it. Maybe I should have >> qualified that the tasks use the normal instruction set, >> particularly in the areas of subroutine entry and exit. Does that >> address the situation you had in mind? > > Ah, Olin, don't give it away too soon :-) Since the main problem is the fact that the hardware stack isn't accessible, maybe addressing this is the ticket? :) Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist