Found this http://ilovemyking.googlepages.com/new77r.cpp
Has someone tested it?