Live Fast, Code Hard, Die Young

Simple printf

Today has been a busy day so not much coding has happened in PontOS. However, I implemented my own version of a printf() function for printing strings with formatting codes. This is highly useful for debugging purposes. To be able to write out numbers in decimal and hexadecimal formats I also had to implement an "integer to string" function. It made me feel really nostalgic, as it reminded me of the numerous implementations I made in assembler on Amiga and PC when I was an über nerdy teenager… 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: