
parts list
IC1 74HCT138 decoder IC2 MM58274 National Clock d1,d2,d3 1N914 diodes c1,c2 22pf capacitors x1 32768 Hz. crystal * connect to 2068 expansion connector
This is a very simple circuit that requires few parts.
Software is required to read and interpret the clock signals. When writing it, you must mask the high “nibble” of each clock register byte-read, as the chip uses only four bits of the data bus. To read the clock from BASIC, you can add four 10K pull-up resistors to the upper four data bus lines. Then, when you read a register, subtract 240 from the read value to mask the high “nibble.”
The chip select (CS) of the clock chip can be connected to any of the decoder output pins (7, 9, 10, 11, 12, 13, 14, 15). The clock uses 16 addresses, so decoder pin 15 will give you clock port addresses from 0 to 15, pin 14 will use addresses 16 to 31, etc. The chips are CMOS, so no buffers are required.
I will sell the software to read this clock for $10. The relocatable machine code is 250 bytes. The time and/or date can be displayed anywhere on the upper or lower screen and INK, PAPER, INVERSE and FLASH attributes can be used.
ZUNK CUSTOM ELECTRONICS
1419 Ferris
Waxahachie, TX 75165