Two TTL pulses mutiplexed on one wire
Bias the line to VDD/2. Have one digital pulse pull high. Have the other digital pulse pull low. To data-recover, have 2 comparators, one tripping at VDD/4 and the other tripping at VDD * 3/4.

Consider using TriState drivers to pull up or pull down or FLOAT.