The code was developed on a PC running the Microsoft Windows 95 operating system. You may not agree with some of the style constructs that I use, but you should agree that the code is both clean and very consistent. Also, I believe that simply giving you the source code is not enough. You need to know how the code works and how the different pieces fit together. You will find that type of information in this book.
Scalability is accomplished with the use of conditional compilation.
This leaves your application up to 56 tasks. There are thus 64 priority levels. This allows you to reduce the amount of RAM needed in your application. Interrupt Management Interrupts can suspend the execution of a task. If a higher priority task is awakened as a result of the interrupt, the highest priority task will run as soon as all nested interrupts complete.