Converted PIA6821 to DEVCB2 [smf]