home *** CD-ROM | disk | FTP | other *** search
- MODULE Main;
-
- IMPORT IntHandler;
-
- FROM ClockIO IMPORT ClkEI,
- ClkDI;
-
-
-
- BEGIN
- ClkEI; (* turn on clock interrupts from PIO *)
-
- (* The foreground program fits in here. Remember that this main module
- cannot be a monitor, and any modules it calls which cannot be interupted
- must be! *)
-
-
-
- ClkDI; (* no interrupts & exit *)
-
- END Main.