Still to be written. 
In the mean time, have a look at: http://www.allegro.cc/forums/thread/571021
