Tuesday, June 17, 2008

port SDL to arm s3c2440

SDL is a multi-platform graphic interface.I move SDL programs can running on arm through just a few commands.

./configure --enable-release --target=arm-linux-gcc --host=arm-linux --disable-esd --disable-video-opengl

make

make install

copy your lib(something like libSDL-1.2.so.0.11.2) to arm's lib.
timer is one of sample program in SDL src which is /SDL/test
/* Test program to check the resolution of the SDL timer on the current
platform
*/

#include
#include

#include "SDL.h"

#define DEFAULT_RESOLUTION 1

static int ticks = 0;

static Uint32 SDLCALL ticktock(Uint32 interval)
{
++ticks;
return(interval);
}

static Uint32 SDLCALL callback(Uint32 interval, void *param)
{
printf("Timer %d : param = %d\n", interval, (int)(uintptr_t)param);
return interval;
}
int main(int argc, char *argv[])
{
int desired;
SDL_TimerID t1, t2, t3;

if ( SDL_Init(SDL_INIT_TIMER) < desired =" 0;" desired =" atoi(argv[1]);" desired ="="" desired =" DEFAULT_RESOLUTION;" desired =" %d" actual =" %f" t1 =" SDL_AddTimer(100," t2 =" SDL_AddTimer(50," t3 =" SDL_AddTimer(233," desired =" 1" actual =" 10.493179" param =" 2" param =" 2" param =" 1">

Saturday, June 14, 2008

Welcome to the Doom3(D3 and ROE)

wow...this guy..pilgarlic...

be at peace,soldier~

the signed from hell?

no smoking....

If someone speaking truth that you may be throwing in jail like him...

cool bio-fighter

entering to hell.......

start a beautiful trip.......it's free of charge~

back door...

wanna swimming?

hey,boss~i need cash....

looks high tech center

smell fear.....

who's your daddy?

This monster remind me of Microsoft....ugly...

I was wondering how a talent team could make a creativity product like doom3.These guys's rocks~I cant imaging that what is the real hell that must be horrify.Every Christian should play this game and thinking why God let this game came out.
Hope you can enjoy with it!!!

Saturday, June 07, 2008

I got a new laptop

Dell Inspiron 1420 CORE II 2GHZ,2GB memory,160GB hdd,gf8400gs graphic card 256mb.I have install the fc9 that graphic card couldnt found by itself.Thank to Justin Conover's blog about how to install graphic and sound's drivers in fc9.

nice~Thank LOrd!

ps:I want to be the man who enjoy hacking like God hacking the creation when God has doing Genesis.Developer....cool.........