If anyone has figured the serial code or has already solved this I would love to know, there is no point in reinventing the wheel.
Here's my version: http://www.cnczone.com/forums/showthread.php?t=62704

There's commented PIC code and circuits code buried in the thread.