Application Examples
SERIAL_8250 Routine
BEGIN
Indicate to the main program that the interrupt was
received
Disable further serial interrupts
(no more are desired in this program)
Send EOI to the ZT 8809A
Send EOI to the ZT 8840 Interrupt Controller
Return from Interrupt
END
MAIN Program
BEGIN
Initialize the segment registers and stack
Use the routine to initialize the vector(s)
Call INIT_UART
Call INIT_PIC_8809A
Call INIT_PIC-8840
Enable the interrupt inside the UART for transmit
buffer empty
Enable processor interrupts (STD DOS already has
them enabled)
Send a byte, which should be shifted out and prompt
an interrupt from the UART
Wait for the byte to be sent, then check to see that
the interrupt was seen, indicating that the transmit
buffer is ready for another byte
Strobe the LED if the interrupt was seen
END
4-16
Содержание ZT 8808A
Страница 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...