This gives me awfully devious ideas... First, were
there any 'multitasking
machines' designed around the 6502? If you wanted to do multitasking, it
seems like you could design a fairly simple MMU that would swap out the
zero-page and stack (or all of the memory pages) for different ones,
depending on the running task. Leaving only a few registers that need to
be saved, it would leave a very small overhead for task swapping.
Ohio Scientific OS-65U.