The INPUT<x> command sets the simulated inputs to port <x>. The CPU reads this input value when port <x> is set as an input port.
>gdi INPUT<x> <n>
Where: <x> is the letter representing corresponding port
<n> Eight-bit simulated value for port <x>
>gdi INPUTA AA
Simulate the input AA on port A.