Mike Wynn did a small raycast demo in Mode 3 & 5! The whole engine is coded in c which makes it a bit slow. Sources and binaries are avaliable from his page.

http://www.l8night.co.uk/mwynn/gbadev/rayengine/index.html