$1C02/7170/VIA2+2:   Data Direction Register B

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

ROM-Reference:

 STA $1C02  : $F25B $FEED