I have used a companion planting program called Kitchen Garden Aid (
http://kitchengarden.sourceforge.net/index.html). It isn't very robust, but it it is fairly helpful with companion planting.
I would love to see more development on this type of software!