gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Console

#174017 - JackUzi - Thu May 13, 2010 12:46 am

After only limited success getting libpogo compiled I've decided to start porting a straight console app first to learn the ropes. It's working well so far but I just have a couple of questions.

Firstly, I've used the following very simple and convenient calls to set things up:

Code:
consoleDemoInit();
keyboardDemoInit();
keyboardShow();


This has the disadvantage however of the keyboard sharing screen space with the console. I've read through a fair bit of the documentation but I'm struggling to find a simple way to put the console on the top screen and leave the keyboard on the bottom. Is this possible?

I was also wondering if there is a full list somewhere of the ANSI codes that the DS console supports. So far I'm only been able to find the ones used in the example programs.

Stuart

#174018 - Azenris - Thu May 13, 2010 1:42 am

http://libnds.devkitpro.org/a00068.html

this link gives info on setting up the console with more flexibility. allowing you to chose a different screen etc
_________________
My Homebrew Games

#174019 - JackUzi - Thu May 13, 2010 2:17 am

Thank you very much. I had found that page in my travels but missed the 'print on both screens' example that it links too. Works perfectly now. :)