Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2017-01-15 13:17:12

chris
Member
From: USA
Registered: 2016-11-27
Posts: 142
Website

printf \n not working at startup

Is there a way to not have the text be on the very first line? I tried using printf and \n but it doesn't seem to work initially, and then it does later on. Why is this?
http://www.atari2600land.com/oranges5.c


My avatar is from Nintendo Power. I miss those days, so I decided to bring them back.

Offline

 

#2 2017-01-16 13:24:10

chris
Member
From: USA
Registered: 2016-11-27
Posts: 142
Website

Re: printf \n not working at startup

I found a workaround:

Code:

        printf("                 ");
        printf("                 ");        
        printf("                 ");

It's dumb, but it does what I wanted it to.


My avatar is from Nintendo Power. I miss those days, so I decided to bring them back.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson