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 > Using both screens

#77892 - Linkiboy - Mon Apr 03, 2006 10:31 pm

Hey everyone, and welcome to another episode of Stupid Questions by Me.

Well I was looking through the devkitPro examples trying to see how to get both screens to work. After seeing a few of them using both screens, I can't see the piece of code which allows you to work on the sub screen. Can someone point it out? Please?

#77894 - knight0fdragon - Mon Apr 03, 2006 10:53 pm

same thing as main, with _SUB, take a look into video.h for that
_________________
http://www.myspace.com/knight0fdragonds

MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206

#79420 - Enira - Thu Apr 13, 2006 4:28 pm

I managed to make the 2 screens work.
I started yesterday with the 'Beginners Tutorial' and after 3 long hours I finaly managed to print something on the 2 screens.
The main program it runs took me half an hour to write in a normal Console window and exporting it to the arm9 file.

This is what I made...

At this stage it's just editing and experimenting for me, you can see this in the file, as you can simply ignore the build_log function because this function does nothing yet.

http://users.pandora.be/reng/DSDEV/Test/Source/arm9_main.cpp

(File is still named .cpp and the code that I added to this file is C ... I know ...)