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 > Detecting Firmware Version?

#152507 - tondopie - Sun Mar 16, 2008 10:28 pm

I was wondering how exactly you can detect the firmware version like FlashMe does. (e.g. 'FW-4', 'HB' or 'FM-8'). Look in the flashme install if you don't know what I am talking about

[offtopic]w00t! 300th Post![/offtopic]

#152553 - sonny_jim - Mon Mar 17, 2008 6:48 pm

Here's the code that DSLinux uses to check the firmware:
http://dslinux.gits.kiev.ua/trunk/user/fwver/fwver.c

#152568 - simonjhall - Mon Mar 17, 2008 9:24 pm

Quote:
#define CAKE_WIDTH 39
#define CAKE_HEIGHT 15
static char cake[CAKE_HEIGHT][CAKE_WIDTH]= {
" 0 0 \n",
" | | \n",
" ____|___|____ \n",
" 0 |~ ~ ~ ~ ~ ~| 0 \n",
" | | | | \n",
" ___|__|___________|___|__ \n",
" |/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/| \n",
" 0 | H a p p y | 0 \n",
" | |/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/| | \n",
"__|___|_______________________|___|__\n",
"|/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/|\n",
"| |\n",
"| B i r t h d a y! ! ! |\n",
"| ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |\n",
"|___________________________________|\n",
};
?
Yikes! Linux, the operating system that powers the world's servers!
_________________
Big thanks to everyone who donated for Quake2

#152570 - masscat - Mon Mar 17, 2008 9:31 pm

I am sure that is a lie.

#152571 - Dwedit - Mon Mar 17, 2008 9:36 pm

The DS has to do SOMETHING on the user's birthday.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#152574 - tondopie - Mon Mar 17, 2008 9:46 pm

simonjhall wrote:
Quote:
#define CAKE_WIDTH 39
#define CAKE_HEIGHT 15
static char cake[CAKE_HEIGHT][CAKE_WIDTH]= {
" 0 0 \n",
" | | \n",
" ____|___|____ \n",
" 0 |~ ~ ~ ~ ~ ~| 0 \n",
" | | | | \n",
" ___|__|___________|___|__ \n",
" |/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/| \n",
" 0 | H a p p y | 0 \n",
" | |/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/| | \n",
"__|___|_______________________|___|__\n",
"|/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/|\n",
"| |\n",
"| B i r t h d a y! ! ! |\n",
"| ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |\n",
"|___________________________________|\n",
};
?
Yikes! Linux, the operating system that powers the world's servers!


dude... kick @$$

#152609 - dantheman - Tue Mar 18, 2008 4:27 am

I actually saw that a few days ago on my birthday when I needed to check if a wireless connection was available. I knew DSLinux accessed the firmware for certain data, but didn't realize that it also detected your birthday and printed a message for it. It was a nice touch, and I meant to post about it on the forums but never got around to it.