Application Examples
INIT Routine
BEGIN
Initialize the NMI routine pointer
Initialize the segment registers
Initialize the software data
Initialize the hardware, ie. the 8259A
Programmable Interrupt Controller and
one of the 8254 Timers to be used as
the watchdog timer (use mode 4)
Trigger the watchdog timer
Return
END
NON-MASKABLE INTERRUPT Service Routine
BEGIN
Trigger the Watchdog Timer
Check for the cause of the NMI at the
8259A Interrupt Request register, bit 5
If set to 1,
A power-fail interrupt has occurred
Save the segment and scratchpad registers
into battery-backed RAM
Save the stack registers into battery-backed
RAM
Save critical data into battery-backed RAM
Set the "System Data Saved" flag
Is the power-fail interrupt due to low system battery supply?
4-32
Содержание ZT 8809A
Страница 15: ...Tables Table B 9 J5 Pin Assignments B 17 Table B 10 J6 Pin Assignments B 18 Table B 11 J7 Pin Assignments B 19...
Страница 334: ...Jumper Configurations W49 W48 A W47 B A B W37 W66 A W50 B C J7 W67 Figure A 11 W37 W47 50 W66 W67 Jumper Blocks A 34...
Страница 346: ...Jumper Configurations W61 W60 W62 W63 W64 A B A B W65 Figure A 13 W60 W65 Jumper Block A 46...