PRJ 2
PRJ 2
NOTE: no DTACK* or VPA* will be generated for addresses which do not correspond to
any configured device.)
Make sure that TUTOR can be run, including successful use of the MD, BT, and MM
commands.
6. Add to the circuit one PIA (Motorola 6821) at address $10081 (odd bytes only). The PIA
must be capable of operation under auto-vectored interrupt control. The IRQA interrupt
output of the PIA should cause a level-2 interrupt.
a. Connect the 7-segment switch and keypad from Project 1 to the circuit through the
PIA. Since your system does not have a timer, use one of the outputs from the 14411
chip, which you use for baud rate generation, to provide timing for the generation of
the sample timing level-2 interrupt through one of the PIA handshake inputs. Select
an output of the 14411, which allows a suitable sampling timing interval. To achieve
the desired interval, some unnecessary interrupts need to be skipped with software.
b. Modify the software of Project 1 to use the PIA instead of the PI/T.
Make sure that the modified program can duplicate the results of Project 1.
7. Modify the software so that the output of characters to the PC monitor via the ACIA can be
done without using any TRAP #14 instruction.
For lab groups of two or more students, each group member must be present for the checkout of
each feature and questioned separately by the TA with respect to the operation of the group’s
hardware and software. The group should bring to the checkout a complete set of applicable
circuit diagrams and software listings, so that the TA can refer to them during the checkout
process. Students using the chip set provided by the instructor must be able to explain the chips’
operation from an external viewpoint; that is, how the output signals from the chips are logically
related to the input signals. The internal details of the chips have not been discussed, but
students may be asked to speculate as to the probable internal functioning of some of the chips’
circuits. Studying the .ADF files may help in this area. You must understand how all of your
hardware and software work (even if your lab partner did the actual work).
Final Report
A report describing the course projects should be turned in with the lab notebook to the professor
no later than the final exam time. Each student must submit a report.
The level of the report should be such that a reader who is familiar with the Motorola 68000
family and with the ECB but not with the particular requirements of this course should have no
trouble understanding the report. Circuit diagrams, software listings, etc. may be shared
(Xeroxed) between team members, but the main body of each report must be the independent
work of the individual student.
Each report should include a Table of Contents, an introductory section, which describes the
organization of the report, one or more sections describing the Project 2 hardware, one or more
sections describing the Project 1 software and its adaptation for Project 2, and a section
summarizing the project. The last section should also include any constructive suggestions,
which the instructor might find useful in improving the effectiveness of similar projects in the
future. Software listings and a complete set of hardware diagrams should be included as
appendices.
The reports will be graded on organization, clarity, style, grammar, and spelling as well as on
technical completeness and accuracy. Reports must be typed or neatly printed in ink.
CLK → DATA
⇔ D15-D00
FC0 ← MC68000
PROCESSOR
STATUS FC1 ← → AS*
FC2 ← → R/W* ASYNCHRONOUS
→ UDS* BUS
→ LDS* CONTROL
← DTACK*
MC68000 E ←
PERIPHERAL VMA* ← ← BR* BUS
CONTROL VPA* → → BG* ARBITRATION
← BGACK* CONTROL
BERR* → ← IPL0*
SYSTEM INTERRUPT
CONTROL RESET* ←→ ← IPL1* CONTROL
HALT* ←→ ← IPL2*
VCC → 1 ADDRESS
⇒
GND → A19-A00
CLK → DATA
⇔ D07-D00
FC0 ← MC68008P8
PROCESSOR
STATUS FC1 ← → AS*
FC2 ← → R/W* ASYNCHRONOUS
BUS
→ DS* CONTROL
← DTACK*
MC68000
E ←
PERIPHERAL BUS
← BR*
CONTROL VPA* → ARBITRATION
→ BG* CONTROL
HALT* RESET
RESET* MODULE
R/W*
E
RAM
3 2
FCm / /
DTACK*
VPA*
ADDV
DS*
2
AS* /
I/O
2
/
SWIM
BERR*
IPL2/0* 6
/ SWITCHES
IPL1*
To other 0.01
Heavy wires
Vcc system logic
4
13
4MHz Ground to force a
3 34 Vcc
Clock CLK 27 do-nothing freerun
D0
generator 26
D1
25
2
Vcc D2
24
D3
23
2.2K D4
22
D5
21
33 D6
BR* 20
39 D7
VPA*
40
BERR* Vcc
42
IPL0/2*
41 200
IPL1* LS04
19
A19
POWER-UP 36
HALT* LED
and
RESET RESET 37 31 test
RESET* DTACK*
LOGIC
GND Ground until generator
15 35 circuit developed
Heavy wires
Figure 4. Circuit diagram for the minimum 68000 system (free-run test)