Ok dude, I've done it. Download the new "allegro.pas" unit here and tell me if it works.