Application Examples
Program Code
;
;**********************************************************
;*
*
;*
PROGRAMMING ABSTRACT
*
;*
*
;**********************************************************
;
;
SHAWN SHURICK
;
6/30/88
;
ZIATECH CORP.
;
SAN LUIS OBISPO, CA
;
; THIS PROGRAMMING EXAMPLE IS FOR THE ZT 8809A CPU BOARD.
;
IT IS INTENDED TO DEMONSTRATE THE USE OF THE 8259A
;
INTERRUPT CONTROLLER TOGETHER WITH A COUNTER/TIMER.
;
INITIALIZATION OF THE 8259A AND THE INTERRUPT VECTOR
;
IS SHOWN, ALONG WITH INITIALIZATION OF THE COUNTER/
;
TIMER 2. THE FRAMEWORK OF AN INTERRUPT SERVICE ROUTINE
;
IS ALSO IMPORTANT AND DEMONSTRATES THE USE OF THE END
;
OF INTERRUPT (EOI).
;
;***********************************************************
;*
*
;*
JUMPER CHANGES
*
;*
*
;***********************************************************
;
; THE ZT 8809A IS SHIPPED WITH THE JUMPERS ASSIGNED CORRECTLY
;
FOR THIS EXAMPLE EXCEPT THE FOLLOWING:
;
;
MOVE W6A TO W6B - SELECTS TIMER 2 INSTEAD OF
;
STD BUS INTRQ* TO DRIVE IR2
4-6