I can't find any real documentation on any of this,
so I'm just observing and guessing what might be needed.

PBP has a very nice debug command that I use to send
status info in serial format. Works great. I'd like to get
rid of the wire.

I have a PocketPC that implements SIR protocol. Again,
found no documentation, but looking at it on the scope,
it seems like straight on/off (unmodulated) RS-232-like
data, but it's RZ format.

The debug command outputs NRZ data and the PocketPC
doesn't like it. I'm assuming that's the problem. I can't change
the PocketPC, so I'll have to change the data I send it.

What I think i want is a debug command that outputs
RZ data. Yes, I could recode the whole thing, but I don't
want to lose all the data formatting features of the debug command.
And I'd like to modify some existing programs without having to modify
them...much.

I'm about to put another hack into PBPPIC14.LIB (split debugdelay into two pieces
and reset the data in the middle) to make this
happen. I don't yet understand enough about how the compiler works to know
if it will let me create my own "define" to turn this feature on and off.
If it works, it's a simple matter of recompiling my old code.
I'm guessing there will be unintended consequences,
so I'll ask here first.

Is there a simpler way, to make the
debug command output whatever is required by the SIR protocol of
Windows Mobile 5?
Maybe someone has already hacked the library?
Actual documentation on the SIR format used by Windows Mobile 5?
I'm not really sure that hacking in RZ will fix my problem.

Ideas?
Thanks, mike