(I am not affiliated with this company in Korea)
www.comfiletech.com ad in Nov. 2005 Circuit Cellar
Family of mega128-based goodies, low-end being the CB220..
Interesting - looks like $34@1ea gets you a 24 pin DIP carrier with a mega128 on board, along with 5V regulator and an RS232 driver.
It comes with an in-Flash bytecode interpreter for a flavor of BASIC which seems way better than BASCOM and an industrial controls world interpreter for ladder logic. The compiler seems to be a free download.
Of course, you could connect a programmer to the MOSI, etc pins and overwrite this with whatever you wish.
Just seems like a very low price.
Several other packaged products too.