Introduction to Systems Programming (CS 0449) PalmOS Tools: Developer Studio & Cygwin.

Post on 13-Jan-2016

220 views 0 download

Tags:

Transcript of Introduction to Systems Programming (CS 0449) PalmOS Tools: Developer Studio & Cygwin.

Introduction to Systems Programming(CS 0449)

PalmOS Tools:

Developer Studio & Cygwin

Topics for the Day

Software used in this course Installation Creation of a project using

Developer Studio Compilation of an example using

Cygwin View an application using the

Emulator

Software used in the course

PALM OS Developer Studio PALM OS 5 SDK Cygwin PRC Tools PilRC Tool PALM OS Emulator PALM OS Simulator

Installation

Go to http://www.palmos.com/dev/dl/dl_tools/dl_pods/

Register Download zip file Run the installation program

Installation

Test the Developer Studio with a sample project ( ex: hello1 )

Test Cygwin with a sample project ( sometimes it has errors )

Creation of a project using Developer Studio

Creation of a project using Developer Studio

Choose Standard Make 68K C/C++ Project

Click on Next

Creation of a project using Developer Studio

Write the name of the Project

Click on Next

Creation of a project using Developer Studio

Click on Next at this stage

Creation of a project using Developer Studio

Choose Makefile Import Project

Click on Finish

Creation of a project using Developer Studio

To import the files from your directory or zip file right click on the

project and choose Import..

OR from the file menu choose import

Creation of a project using Developer Studio

If your files are in a folder choose File system

If your files are in a zip file choose zip file

Creation of a project using Developer Studio

Browse to your file / folder and

choose Select All

Press Finish

Compiling your project using Cygwin Start Cygwin Use pwd command to find out the

folder you are accessing Browse to the folder that contains

your project using : cd command

Type make

How to View an application using the Emulator???

Viewing an application using the Emulator Start Palm OS

Emulator

Viewing an application using the Emulator Right click Select New..

Viewing an application using the Emulator

For the ROM file, choose other

Choose a ROM file

ROM files are usually found inside the ROMS folder

Viewing an application using the Emulator Right Click and

choose Install Application/ Database then Other

Browse to the prc file that was created during the compilation

Viewing an application using the Emulator Choose

applications Hello1 will appear

Viewing an application using the Emulator