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