White Paper T630/T628

native code interface that requires as little as 10 machine instructions (depending on the host sys- tem) overhead for calls to native functions.

Emulation profiles for the target mophunena- bled mobile terminal are included in the SDK. It also ships with a full set of binary utilities for manip- ulation and handling of code, data and resources.

Gaming API

The gaming API provides all the functionality a game requires. It provides platform independent video access, input, sound and communication. It also features a query interface that lets you adapt a game to the capabilities of the device. The API consists of 100% native code that ensures the best possible performance.

Because different platforms have varying capabili- ties, this gaming API has been created with differ- entiators such as a built in sprite engine, map engine, different color depth tiles and transparency support etc. With this gaming API it is possible to isolate code and data into modules that can be loaded according to the capabilities of various plat- forms. It is possible to have both grayscale and color graphics resources but only load the specific resources that are compatible with the surrounding system. Games that do not provide multiple resources are not a problem because the mop- hunsystem automatically handles the conver- sions. Indeed, future extensions even include a 3D API.

Certification and deployment

Each game must be certified by Synergenix Inter- active AB before it can be run on a mobile phone. This ensures there is no offensive content, that the game is of sufficient quality and that the gameplay and functionality conform to settled standards.

A game file can be downloaded via WAP or cable from an operator’s page or from any publisher’s WAP page. If the download is supposed to be in one session, the file size should be less that 60 000 bytes.

Game file sizes

Each game has its own directory in the file system. A game directory in the T630/T628 can contain up to 16 different files but together they may not exceed an aggregate of 480 000 bytes.The maxi- mum size of files for downloading depends on the size of the WAP gateway. When provisioning mop- hun games that are larger than the WAP gateway limitation, the games may be split up in portions and reassembled on the mobile terminal.

Secure gamelets

mophungamelets are executed in a secure sandbox environment that eliminates any possibil- ity of illegal actions. A secure layer exists between the mophunapplication and the “real” system interfaces. Security is further enhanced as result of the gamelets having to be digitally signed before execution on the mobile terminal is possible. Gamelets are signed in the publishing process after being screened for malicious content.

Software development kit

The mophunSDK is built with GNU tools using open standards. It is non-proprietary and is offered to developers completely free of charge. Games are written in C/C++ or assembler and the kit was built by game developers. A general PC can be used to both write and test the software without any need to access the real device. Source level debugging is available for both the Linux and Win- dows versions of the SDK.

Functions

Send/receive via TCP/IP link

Yes

 

 

Send/receive via SMS

Yes

 

 

Send/receive via Bluetooth

Yes

 

 

Send/receive via infrared

Yes

 

 

Vibrator on/off

Yes

 

 

Backlight on/off

Yes

 

 

Colour support

Yes

 

 

Certification control of games

Yes

 

 

True sandbox technology

Yes

 

 

True file support

Yes

 

 

Sprite detection collision

Yes

 

 

Built-in Unicode including Chinese

Yes

 

 

20

October 2003

Page 20
Image 20
Sony Ericsson T630 Gaming API, Certification and deployment, Game file sizes, Secure gamelets, Software development kit