$1803/6147/VIA1+3:   Data Direction Register A

   +----------+---------------------------------------------------+
   | Bit  x   |   1 = Pin PAx set to Output, 0 = Input            |
   +----------+---------------------------------------------------+

ROM-Reference:

 STX $1803  : $FF10