forbiddenera
Well-known member
...You are correct, "hi-Z" is theoretically not the same as "input": Academically speaking, the high impedance state merely means "not driving the signal ignoring the signal's state", and again strictly academically speaking, an input state implies that a device is both not driving the signal and is interested in the value of the signal. Clearly your emulated EPROM would not be interested in the contents of the data lines when in hi-Z. It's merely a convenient way to use one operation to control whether the 8 simulated data signals are driving the bus versus not driving the bus, and your code may freely ignore the states of the signals while they are not being driven.
seems like pull ups are still enabled when I set input too..can't have that lol