Attached is a little "Hello World" demo for Mac OS X, using Quartz (Core Graphics) with both 32-bit and 64-bit versions.
The demo turns the screen black, prints "Hello, World!" in white Times font at the bottom-left, sleeps for 5 seconds and then exits. The demo also prints "Hello, World!" to the terminal.
To build/run the demo you will need Mac OS X (tested on 10.5 - 10.9), NASM 2.07+ and XCode.
Build instructions are commented at the top of the attached file.