background image

 

Page 40 

GP2X User Guide –

 www.emuholic.com

 

The following must be performed each time you wish to use the USB Serial cable. Following the same 
procedure as above, switch on the GP2X with the USB connected to both the GP2X and PC and once booted run 
the 

bash.gpe

 f

i

l

e

.

 

T

h

e

 

G

P

2

X

 

w

i

l

l

 

d

i

s

p

l

a

y

 

a

 

b

l

a

c

k

 

s

c

r

e

e

n

 

a

s

 

b

e

f

o

r

e

;

 

t

h

i

s

 

i

s

 

n

o

r

m

a

l

 

a

n

d

 

w

o

n

t

 

d

i

s

p

l

a

y

 

a

n

y

t

h

i

n

g

 

e

l

s

e

 

until you execute a program using your PC. The PC will now be ready to receive data from your GP2X with a 
suitable program as explained in the following section. 

Using the Serial cable 

Windows users can use the HyperTerminal program which is located in the Accessories > Communications 
folder. Once loaded, create a new connection with the following settings: 

Bits per second: 115200 
Data bits: 8 
Parity: None 
Stop bits: 1 
Flow control: Xon / Xoff 

To find your COM port for the connection, check Device Manager > Ports (COM & LPT) and locate the Gadget 
Serial device and use the COM Port it shows. 

O

n

c

e

 

c

o

n

n

e

c

t

e

d

,

 

y

o

u

 

w

i

l

l

 

s

e

e

 

a

 

c

o

m

m

a

n

d

 

p

r

o

m

p

t

 

i

n

 

t

h

e

 

H

y

p

e

r

T

e

r

m

i

n

a

l

 

w

i

n

d

o

w

.

 

I

n

 

t

h

i

s

 

e

x

a

m

p

l

e

 

w

e

 

w

i

l

l

 

u

s

e

 

the SDL Test Program which is set up to output debug information. On the HyperTerminal screen type 

./sdltest.gpe

 and press Return.  

After a few seconds the GP2X will load the program and display the options screen as normal. Confirmation 
text will have also appeared on the HyperTerminal window to show that the Serial Cable is working correctly. 
Running the individual tests will output text to HyperTerminal to show the start and end of each test. Once you 
are finished choose the 

Quit

 option to return to the GP2X Main Menu and close the HyperTerminal Program. 

To use the debugging features simply use the 

printf

 function in your code, the below example will output text if 

the SDL_SetVideoMode function returns false: 

screen = SDL_SetVideoMode( 320, 240, 32, SDL_SWSURFACE); 
if(!screen) 

       printf("SDL_SetVideoMode screen not initialised.\n"); 

You can use printf for a variety of tasks such as displaying variables or checking other code. 

 

 

Содержание GP2X

Страница 1: ...GP2X User Guide For firmware v2 1 0 Author Guyfawkes www emuholic com 20th October 2006...

Страница 2: ...d loading a game Page 16 Viewing Images Page 18 Playing Music Page 20 Viewing Movies Page 22 Reading E Books Page 24 Using Explorer Page 26 Using the Settings menu Page 29 System Settings Page 32 Trou...

Страница 3: ...ideo Video file MPEG 4 Dvix 3 11 4x 5x and Higher XVID WMV 7 8 9 Later On Playback Audio file MP3 OGG WMA Later On Resolution MAX 720 480 30fps Frame Rate Max 30 fps Bit Rate Video Max 2500 Kbps Audio...

Страница 4: ...e SDIO Hardware Support Continuous playback time Video Approx 4 hours Audio Approx 6 hours GP2X Layout Front of GP2X 1 8 way Joypad 2 Volume Up Down 3 Left Speaker 4 LCD Screen 5 A B X Y Buttons 6 Sel...

Страница 5: ...Page 5 GP2X User Guide www emuholic com Top of GP2X 1 Right Shoulder Button 2 Left Shoulder Button 3 Headphone Socket 4 Secure Digital Slot Bottom of GP2X 1 Extension Port 2 GP2X Wrist Strap Hole...

Страница 6: ...lowing official accessories can be purchased separately for your GP2X Official Accessories Power Supply Unit Hand Strap Carry Case Screen Protector TV Out Cable Breakout Board You can purchase these a...

Страница 7: ...h can be removed if you wish to Fitting the batteries The GP2X uses two AA batteries to power the device To fit these gently push and slide the marked area on the battery cover found on the back of th...

Страница 8: ...will require a free USB port on your PC it is recommended you have a USB 2 port for faster transferring of files but a USB 1 port will work Locate an unused USB port on your PC and carefully insert th...

Страница 9: ...rocess will be complete and you will be presented with the Main Menu screen as shown in Figure 1 Figure 1 To navigate the menu system you can use the joystick to move between the options You can press...

Страница 10: ...s to select it The USB Connection screen will appear as in Figure 4 Figure 4 After a few seconds Windows should report that it has found a new USB device and will start to install the hardware If you...

Страница 11: ...e G and choose Format from the options A new window will appear and prompt you for some information The Capacity will vary between different sizes of Cards in this example a 256 MB Card is shown The F...

Страница 12: ...ing a deletion of files on your PC Connect your GP2X to your PC as shown here Now select which file you wish to delete from the GP2X by clicking on it once if you wish to select more files then hold t...

Страница 13: ...on your PC Open the file in your preferred zip extraction program and point it to extract the files to the GP2X drive in this case the G drive Now quit the USB connection screen and return to the main...

Страница 14: ...will be displayed Figure 2 This is the Utility Launcher menu Figure 2 shows only one file which we just installed but as you use your GP2X more files will be listed here Select the install_libs file...

Страница 15: ...layer screen as shown in Figure 1 Figure 1 As you will notice this screen is similar to the Utility Launcher screen Choose the SD Memory Card option and press to select it A program list screen simila...

Страница 16: ...d JPEG jpg extension Bitmap bmp extension Graphics Interchange gif extension Portable Network Graphics png extension From the Main Menu choose the Photo option and press to select You will be presente...

Страница 17: ...oto to the original size Z OUT Zooms out on the chosen photo R LEFT Rotates the chosen photo 90 degrees to the left R RIGHT Rotates the chosen photo 90 degrees to the right C LEFT Comic book function...

Страница 18: ...e extension OGG ogg filename extension From the Main Menu choose the Music option and press to select You will be presented with the Music Player screen as shown in Figure 1 Figure 1 Choose the SD Mem...

Страница 19: ...ions and press to select The Equalizer has eleven presets to suit the style of music These are Normal Rock Pop Jazz Classic Dance Heavy Metal Disco Soft Live 3D and Hall To change between these highli...

Страница 20: ...eed for the movie player there are three settings Full 200 Mhz Normal 166 Mhz and Save 100 Mhz This is useful if you wish to conserve battery life but some movies may play slower or skip frames The cu...

Страница 21: ...rds Stop Skip Forwards Open a new file Use the joystick to change between the options and press to select The Volume buttons found on the GP2X can be pressed to increase or decrease the volume in 10 s...

Страница 22: ...ters per line instead of the usual 80 characters per line From the Main Menu highlight the E Book option and press to select The E Book Viewer screen will be displayed as in Figure 1 Figure 1 Choose t...

Страница 23: ...he right Here you can change the colour of the text and its background and also select a True Type Font TTF Press the joystick Left and Right to change the colours and Up and Down to change between th...

Страница 24: ...s to select The Explorer screen will be displayed as in Figure 1 Figure 1 Choose the SD Memory Card option and press to select it An Explorer file list screen similar to the image in Figure 2 will be...

Страница 25: ...example in Figure 3 below The rockstar folder and rockstar gpe file have been selected Figure 3 If you wish to Delete the selected files or folders press to select the Delete function and then press...

Страница 26: ...ame time Screen 1 Shows the manufacturer date firmware revision and your GP2X serial number Screen 2 Shows a joystick and button test You can press any of the joystick directions and buttons to check...

Страница 27: ...information The serial number shows the date of manufacturer 2005 11 09 firmware version GP2XV001 number and your unique GP2X serial number partially censored in the screenshot LCD Here you can chang...

Страница 28: ...User Guide www emuholic com SYSTEM The System menu has many settings to configure and has its own section on the following page with more detailed information CREDITS Shows the credits for the current...

Страница 29: ...e the Skin for the GP2X menu More information on this will be added shortly Character Sets There are 21 character sets to choose from UTF 8 EUC JP Shift JIS GB2312 BIG5 EUC KR UHC ISO 8859 1 ISO 8859...

Страница 30: ...e Enable or disable the Human Interface feature which allows external peripherals such as joysticks and mice to be connected to the GP2X Moving further down the screen will present you with further op...

Страница 31: ...e r n a m e and leave the password empty The FTP address should be the IP Address set above Files uploaded to the FTP can be found in the root folder on your GP2X Samba Server Samba is feature that al...

Страница 32: ...Secure Digital card is correctly inserted into the GP2X as described here Ensure that you have the correct files on your Secure Digital card for example if trying to watch a Video that there is at lea...

Страница 33: ...and GP32 news GP2X de http www gp2x de German GP2X news GP2Xfr http www gp2xfr info French GP2X news GPain http www gpain com Korean GP2X news GP2Mania http gp2mania com Korean GP2X news GP2X Resource...

Страница 34: ...extraction tool open the file gp2x f100_200_060428 zip and extract all the files to your Secure Digital card There should be nine files on your Secure Digital card gp2xboot img gp2xfs tar gz gp2xkern...

Страница 35: ...d extract all the files to your Secure Digital card There should be six files on your Secure Digital card gp2xkernel img gp2xpatch 2 1 0 tar gz gp2xupdate gpu GPL txt LGPL txt License txt If these fil...

Страница 36: ...s check beforehand If you are unable to upgrade your firmware due to the SD Card bug which prevents the firmware being updated You can download an Alternative Firmware Updater currently v1 4 0 from ht...

Страница 37: ...to Settings then System and then highlight the Skin Theme setting Pressing left and right on your joystick will change the skin name in this case to Candy gps Press B to confirm the change and your n...

Страница 38: ...nd then highlight the Skin Theme setting Press left or right to change the skin names press B to confirm the change when you have selected the skin you wish to convert in this example aurora2 0 The ne...

Страница 39: ...w seconds will finish You should now have a new file named sdltest gpe copy this file and the sdltest folder to the root folder of your GP2X and from the Game menu select sdltest After a few seconds a...

Страница 40: ...e the Gadget Serial device and use the COM Port it shows O n c e c o n n e c t e d y o u w i l l s e e a c o m m a n d p r o m p t i n t h e H y p e r T e r m i n a l w i n d o w I n t h i s e x a m p...

Страница 41: ...ayout 1 EXT port 2 RS232 port 3 DC 3V Adaptor Jack 4 L Sound Jack RCA Jack Left Audio out port to TV or Monitor 5 R Sound Jack RCA Jack Right Audio out port to TV or Monitor 6 S Video Connector Video...

Страница 42: ...d if you have a MK1 GP2X 3 Switch on the GP2X and once at the menu go to the System screen 4 Please refer to page 30 for information on enabling USB devices 5 Exit the System screen and after a few se...

Страница 43: ...ed in any way and it is not sold for a profit Stores selling the GP2X may include this PDF on their own demo CD DVD or include a printed version If you are going to mirror this guide on your own websi...

Отзывы: