Switcher

Shortlog

(0) tip
2015-08-17 Paul Boddie Changed the first task to use VDU code output, shortening the delay in the third default tip
2015-08-17 Paul Boddie Access the original value of A in the handler, not the version corrupted by
2015-08-17 Paul Boddie Fixed register copying to task storage.
2015-08-16 Paul Boddie Restructured the third "housekeeping" task to use an internal subroutine.
2015-08-16 Paul Boddie Added a subroutine to restore the previous interrupt handler.
2015-06-28 Paul Boddie Added comments and tidied label usage.
2015-06-28 Paul Boddie Removed storage of TEMP on the stack during handler execution.
2015-06-28 Paul Boddie Preserve registers upon switching: not sure why I didn't do this before!
2015-06-28 Paul Boddie Introduced a simpler way of invoking subroutines with the user stack, employing
2015-06-28 Paul Boddie Added user stack operations and updated the example tasks to maintain registers.
2015-06-28 Paul Boddie Introduced "user space" stacks for tasks so that they do not employ the CPU
2015-06-27 Paul Boddie Fixed new task addition, actually scanning the table.
2015-06-27 Paul Boddie Added the new_task subroutine, renamed task_index to task_offset, added aliases.
2015-06-27 Paul Boddie Introduced the switching mechanism plus example tasks, fixing stack access.
2015-06-27 Paul Boddie Keep $70 as the current stack pointer.
2015-06-27 Paul Boddie Initial progress on a task switcher for the Acorn Electron.
(0) tip