Non-PWM code:

http://home.earthlink.net/~justswitc...-20070407c.asm

The latest tested PWM code (not totally up to date)

http://home.earthlink.net/~justswitc..._LO_576_EC.asm

The latest version of the PWM code (corresponding to the non-PWM code above), untested.

http://home.earthlink.net/~justswitc...m-20070430.asm

All of these require an external 18.432 MHz oscillator, are set up for 57600 baud rate, and have code for auto-detecting the power line frequency. However, the PWM code as an older version of the auto-detection algorithm, and some people have had problems with that.