cbscpe wrote:
I often use a ATtiny to generate various signals for the 65xx system. However I mostly use a ATtiny44, so I have enough pins.
For development I have attached an ATMega32, so I can capture 65xx bus and access it from PC via serial interface. But it don't want to include it permanently in the circuit. As I have two or three Attiny13A where I don't see much use for it, this was the reason for thinking that way.
cbscpe wrote:
The interface with the 65xx system bus uses either a 74HCT165 (for data sent from the 65xx to the ATtiny) or a 74HCT595 (for data sent from the ATtiny to the 65xx system).
The idea was to interact without the need for extra ICs. 13A takes 1/4 of space compared to 44+165.
(And... in the box of used chips are no shifting ICs.)
cbscpe wrote:
Using a ATtiny13a makes the interface tricky and hard to debug.
That definitely is true. I plan to first code on the ATMega where I have good possibilities for debugging and then moving the code to ATtiny. I hope that works.
cbscpe wrote:
The ATtiny connects to these ICs via the USI. Another advantage of the ATiny44 is the CKOUT option, then you can use the system clock pre-scaler to divide the clock by 2,4,8 etc. not really granular but sufficient for the purpose. This saves one timer. Of course the ATtiny44 will run as well with the prescaled clock, but we have no need for speed here (you just need to adjust the timer for the 65xx timer-interrupt accordingly). I have also written some code so the ATtiny can be used to connect a PS/2 keyboard to the 65xx system (using the 74HC595 as output register, because it has an /OE it interfaces very well with the 65xx system).
I think I will experiment with both, 13A and 2313A - but first I have to finish the upgrade of my
assembler.