Read all the Z80 ports on a TI-83 or TI-83 Plus-like calculator
I made this to simplify checking for different port behavior on different calculator models, for an upcoming project. I didn't bother to make any optimization on this because it works anyways.