# Hello World

To start off let's do something super simple, and print some text on the screen on the PC Engine.

This is the minimum code needed to print text on the screen.

```c
#include <huc.h>

void main(void)
{
    put_string("HELLO WORLD", 1, 1);
    put_string("This is the PC Engine!", 1, 2);
}
```

This example uses the HuCC `put_string` text function to display text inside a main function loop.

`put_string( unsigned char *string, unsigned char bat_x, unsigned char bat_y );`&#x20;

This writes a null terminated ASCII string, with the x and y coordinates in `Tiles`.

After running `make` and loading `game.pce` in the emulator, this is what you should see:

<figure><img src="https://815216678-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHeA6Nre5SYr3IFC4PPgw%2Fuploads%2FYK7IIdaxoSqa4V6rL0YY%2Foutput_image.png?alt=media&#x26;token=eace155c-75d0-42d2-9d94-f2492c0ae77e" alt=""><figcaption></figcaption></figure>

This is now showing two lines of text being written in the default system font.

{% hint style="info" %}
By default if a text colour is not defined, the colour of the text will appear as cyan.
{% endhint %}
