Questions about pia 8021
I have some questions concerning the pia 8021. I would like to get this correctly emulated in Pom1. Can you write to the control registers during an interrupt? If so then when the flags get set is it whatever writes first that gets the final value? What would happen if you write or read to bits that are set to read or write respectively? What would happen if you write to the DSP register right after you wrote to it with out the check of bit 7 of the DSP register? What if you read the KBD register without checking bit 7 of KBDCR? Do you get the last key pressed again or garbage data? If anyone get explain the bits in the control registers to me that would greatly be appreciated. I don't own an Apple 1 or the replica so I can't test to see what happens. Thank you.