The guys over at hackshed have been busy. [Carl] is making programmable logic design easy with an 8 part CPLD tutorial. (March 2018: Link dead. Try the Wayback Machine.) Programmable logic ...
An ATmega162 handles the hardware end of things with a CPLD used to manage the sampling ... lot cheaper than buying a commercially available oscilloscope, even if you get a base model and hack ...