> > If you go for the easy approach: each routine must run up to a fixed > > point (so you know it was not executing a subroutine, and > you know where > > it was) you have reduced your multitasking to a set of finite-state > > machines, which can indeed be done on a 14-bit core. Google 'pic > > pumpkin'. > > This sounds pretty much like the cooperative multitasking > Olin (and others) were talking about. Yes, of course. Did I give another impression? What I meant to say is when you apply a lot of restrictions on your program structure you sort of can do multitastking, but it is realy just a glorified bunch of state machines. I would not even call it cooperative multitasking, because you can't call schedule-next-task from within a called subroutine. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist