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… 🙂

Advertisement

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 )

Facebook photo

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

Connecting to %s

%d bloggers like this: