home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
system
/
idleled
/
idle_led.readme
< prev
next >
Wrap
Text File
|
1995-02-27
|
629b
|
16 lines
Program: Idle Led
Version: 1.0a 7/7/93
Author: Lindsay Meek (meek@fizzy.csu.murdoch.edu.au)
Description: Whenever the CPU is busy, the power led goes on else it is off.
It operates using timerA on CIAB. This is continuosly reset
by the idle task running at low priority (-127). When the
idle task is preempted by anything, the timer is allowed to
underflow causing the interrupt server to run which turns on
the power light. Next time the idle task runs, it immediately
turns off the power light.
Modifying the timer reload value below will change the
responsiveness of the led to the changes in CPU load.