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 Misc > A few basic questions

#63494 - hello world - Tue Dec 13, 2005 5:59 pm

Hi, could some please answer the follwing questions:

1) What is the screen resolution on the ds?
2) How much SRAM do I get?
3) How many colours do I get (eg 15-bit, 24-bit etc)?
4) How many bits does an int have? (32 or 64?)

Thanks in advance.

#63522 - Empyrean - Tue Dec 13, 2005 11:25 pm

1) 256x192
2) Err... it's RAM I think is 4 MB. As for SRAM: that's something entirely different.
3) 18-bit (260,000 colors)
4) Whoa... is that integer bits? I am not qualified to answer such questions. *cue gong noise*
_________________
3 is not an "e",
7 is not a "t",
1 is not an "l",
And for the love of God,
Learn how to spell!

#63523 - ninogenio - Tue Dec 13, 2005 11:58 pm

correct me if im wrong but a standard unsigned int is +32 bits a standard signed int is +-32 bits but of course you can daclaire diffrent sizes for the ds i.e.

u8 u16 u32 u64 s8 s16 s32 s64

#63544 - knight0fdragon - Wed Dec 14, 2005 4:32 am

i always thought the stanadard int depended on ur processor, for 16 bit CPUs int was 16bit , 32 is 32bit, it has to do with the fact of its faster to deal with solid chunk, instead of having to break it up to read the information
_________________
http://www.myspace.com/knight0fdragonds

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

#63555 - Darkflame - Wed Dec 14, 2005 5:11 am

I think you can call the DS 32bits.
After all, Nintendos advertise's the GBA as "32Bit" (look at the box)

Its mostly meaningless.
Back in ye'old days when bitage was a reflection of power/marketing method.