Page 1 of 1

Top and Bottom Screen

Posted: Sat Apr 11, 2009 1:55 am
by Deme
Alright so it seems when I go and type something that I want displayed in my program it only shows it on the bottom screen by default. I was wondering if there is a command, or function that will set it to display on top or the bottom screen. I looked through google thoroughly and still failed to find anything about it. Thanks in advance.

Re: Top and Bottom Screen

Posted: Sat Apr 11, 2009 2:15 am
by Sylus101
If you're using consoleDemoInit(), that automatically setup up a background on the sub screen for text.

There is an example included with libnds for text on both screens.

Re: Top and Bottom Screen

Posted: Sat Apr 11, 2009 2:31 am
by Deme
so the sub screen is the bottom screen? and what would I use to get text to print on the top screen, I can't find the example, by the way, thanks for replying since this forum kinda looks dead, lol.

Re: Top and Bottom Screen

Posted: Sat Apr 11, 2009 2:36 am
by Deme
nvm dude, i figured it out... and wow its alot of extra code that goes into but atleast I figured it out, thanks man!

Re: Top and Bottom Screen

Posted: Tue Apr 14, 2009 11:12 pm
by vuurrobin
consoleDemoInit() puts text on the sub engine, which defaults to the bottom screen.

you can switch the engines with lcdMainOnBottom(), so the sub engine will show up on the top screen (and the main engine on the bottem screen).