add allegro api

Signed-off-by: shvedas <shvedas@gmail.com>