I'd write my own version of "windows" for the PC. Eventually, My company would buy microsoft, or Microsoft would buy my company (probably the second as I'm not really the best buisnessman.) I'd get an exeutive position within microsoft, and all patents would still be MY intellectual property (shared with the company for free of course.)
Then when Linus starts releasing bits and pieces of his new "linux" project, I'd release all my code to the general pubilc and create this thing called "Open Source" By then I'd already be a multimultimulti millionaire ... so It's not like I'd need the cash.