introduction to systems programming (cs 0449) palmos tools: developer studio & cygwin

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

Upload: valerie-flynn

Post on 13-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

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

Introduction to Systems Programming(CS 0449)

PalmOS Tools:

Developer Studio & Cygwin

Page 2: 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

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

Software used in the course

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

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

Installation

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

Register Download zip file Run the installation program

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

Installation

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

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

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

Creation of a project using Developer Studio

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

Creation of a project using Developer Studio

Choose Standard Make 68K C/C++ Project

Click on Next

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

Creation of a project using Developer Studio

Write the name of the Project

Click on Next

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

Creation of a project using Developer Studio

Click on Next at this stage

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

Creation of a project using Developer Studio

Choose Makefile Import Project

Click on Finish

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

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

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

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

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

Creation of a project using Developer Studio

Browse to your file / folder and

choose Select All

Press Finish

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

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

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

How to View an application using the Emulator???

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

Viewing an application using the Emulator Start Palm OS

Emulator

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

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

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

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

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

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

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

Viewing an application using the Emulator Choose

applications Hello1 will appear

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

Viewing an application using the Emulator