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 > Quick question

#69881 - genfish - Thu Feb 02, 2006 6:40 pm

Hey, im new to this and i've done a hello world. Now i wanna move onto something else.

How do i see what possible values i can pass to a function? are they listed on any websites? for example, my hello world uses this line:
Code:
videoSetMode(0);

how do i find out what goes in place of the zero to set other modes?

thanks :)

#69882 - LiraNuna - Thu Feb 02, 2006 6:43 pm

look at c:/devkitpro/libnds/include/arm9/video.h

all of the (video) defines are there. basicly, all of the stuff that begins with DISPLAY_

#69883 - genfish - Thu Feb 02, 2006 6:54 pm

cool thanks

#69894 - juhees - Thu Feb 02, 2006 8:45 pm

genfish wrote:
Hey, im new to this and i've done a hello world. Now i wanna move onto something else.

How do i see what possible values i can pass to a function? are they listed on any websites? for example, my hello world uses this line:
Code:
videoSetMode(0);

how do i find out what goes in place of the zero to set other modes?

thanks :)


About the video modes, you can also look here http://tobw.net/dswiki/index.php?title=Graphic_modes