previous lab | lab schedule | next lab

Today we will continue working on the Proto-Board Computers.

  1. Complete wiring of power/ground, data lines, low address lines.

  2. Design/Test Address Decode Logic (ADL) for your computer.

  3. Wire up and test the logic on the bottom of your trainer board. Select gates that are of the "Schottky" type -- eg. 74S00. Use Data Switches to simulate address lines (A15, A14, and A13) and clock line (PHI2). Use LED displays on trainer to view the five chip enables. Confirm the truth tables expected for each chip. Don't forget to run PHI2 through a double inverter. The output of the double inverter is PHI2*. When you believe that it is working as intended, have it checked by an instructor.

  4. Take care of the /IRQ and /NMI lines as discussed in class. Don't forget the pull-up resistor on /IRQ (2.7~3.3Kohms). (Note the prefix of "/" should be read as 'not' -- therefore /IRQ is 'not IRQ' or as we sometimes say in class 'IRQ - bar'.) /IRQ on the 6502 connects to the /IRQ line on the VIA but not the ACIA. /NMI on the 6502 needs to be tied to +5V or ground (which?).

  5. Deal with RDY, SYNC, S.O. pins on the 6502. Read the data sheet on the 6502 to figure these out. Where does the clock go?

  6. Wire the /RES lines of the CPU, VIA, and ACIA to a Pulse Switch on your trainer.

  7. Don't forget the Vpp line on the EPROM.

  8. Add the address decode logic to your computer by connecting the control lines to the appropriate chips.

  9. Add a de-coupling capacitor (at least 10μF) between power and ground (be careful; this capacitor is polarized -- don't get it backwards!) on the power bus at the point closest to the power pins on the trainer. Add at least 4 or 5 de-spiking capacitors (0.1μF) at random locations on each power bus.

  10. Connect the R/W line from the 6502 to both the VIA and the ACIA. (The R/W line is also needed by the RAM -- figure out to which pin on the RAM it connects.) Make sure also that the VIA and ACIA each have PHI2* connected.

  11. For the ACIA, /CTS, /DSR, and /DCD all must be pulled LOW to ensure reliable serial communication. Also, the output of a 1.8432 MHz clock needs to be connected to the ACIA. What pins should be used? Consult the datasheet.

  12. Check over every pin of every chip to see that you have either hooked it up or tied it to an appropriate level (HIGH or LOW). (Don't forget to deal with the PGM and /OE pins of the EPROM -- you need to figure out how they are to be connected.) Unused outputs do not need to be hooked up. Unused inputs should be tied to a logic level. Double check your powers and grounds.

  13. Have your lab instructor check over your board -- remove the VIA, ACIA, and the RAM chips -- program an EPROM with the basic test program -- rev your engines -- hold your breath -- power it up, press the /RES button, and pray. If smoke starts pouring out of your computer -- turn it off. Show this to your lab instructor, who will make a note of a working EPROM/MPU test on the progress sheet.