printf in boot image app

How to get printf to appear on console
when app is executed from the boot image?
Tried including Dev.ansi but that didn’t work.
Thanks

Boot image:
/boot/sys/boot
$ boot -v

/boot/sys/Proc32
$ Proc32 -l 1

/boot/sys/Slib32
$ Slib32

/bin/Dev32
$ Dev32

/bin/Dev32.ser
$ Dev32.ser -b115200 -t8 -F 3f8,4 2f8,3

/bin/Dev32.ser
$ Dev32.ser -t8 -b57600 -Ncom 280,10 288,10 290,10 298,10

…/my-app
$ my-app


Using Opera’s revolutionary e-mail client: http://www.opera.com/m2/