If that doesn't work try

start:
' SERIN si,N2400,B0
' if b0 <> "0" then
for a= 32 to 126
serout si,T2400,[a]
next a
' endif
goto start

I believe if the issue is only with inverted data that should get it to display.