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).
;
;***********************************************************
;*
*
;*
SYSTEM CONFIGURATION
*
;*
*
;***********************************************************
;
; THE SYSTEM IS ASSUMED TO CONTAIN ONE ZT 8808A OR ZT 8809A,
;
WITH STD DOS SOFTWARE INSTALLED. IN ADDITION, A
;
ZT 8840 IS INSTALLED AT I/O ADDRESS E0H CONFIGURED AS
;
A SLAVE INTERRUPT CONTROLLER. BE SURE NO OTHER CARDS
;
THAT USE THE BACKPLANE INTERRUPT REQUEST TO THE ZT 8809A
;
(STD BUS SIGNAL INTRQ*) ARE INSTALLED IN THE SYSTEM,
;
SUCH AS THE ZT 8890 NETWORK CARD.
;
;***********************************************************
;*
*
;*
JUMPER CHANGES
*
;*
*
;***********************************************************
;
; THE ZT 8809A IS SHIPPED WITH THE JUMPERS ASSIGNED CORRECTLY
;
FOR THIS EXAMPLE. THE ZT 8840 REQUIRES THE REMOVAL OF
;
JUMPERS W1-3, TO PLACE THE BOARD AT E0H.
4-17