??? 08/18/04 06:53 Read: times |
#76078 - RE: 8051 Context Switching Responding to: ???'s previous message |
I've seen many applications perform task switching on a 8051! What's so hard or difficult about it? Granted, it's not the sort of thing I'd do, but what's so hard about stacking your registers and reloading the stack pointer? You just have to keep track of your ram -carefully! One app I saw stacked the regs to XRAM - not the fastest solution but it probably did it around the same time it would take a Z80 to do the same thing!
I did suggest to the developer that it was probably time to choose another cpu - he did - A 80c517!! Just think how much more efficient his system was with 8 dptrs! Personally I use a co-operative task switching mechanism - infinitely better suited to the constraints of a 8051. Besides, Windows does much the same thing. I wonder if I can port CP/M, Wordstar, DBASEII and multiplan across to my 8051 with 16x2 lcd????????? |
Topic | Author | Date |
8051 Context Switching | 01/01/70 00:00 | |
Why?? | 01/01/70 00:00 | |
RE: Why?? | 01/01/70 00:00 | |
RE: On an 8051?? | 01/01/70 00:00 | |
RE: On an 8051?? | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching | 01/01/70 00:00 | |
RE: 8051 Context Switching![]() | 01/01/70 00:00 |