Search PalmPower's 487 Palm-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
PROGRAMMING POWER
Palm programming with Quartus Forth
By Mark Lawson

When most people start looking at programming their Palm devices, they think of programming in the C or C++ programming languages. However, there are alternatives for the adventurous or curious, or those like me, who never really got along with C. I've spent the last few weeks looking at doing a project using Quartus Forth, an ANSI compliant, on-board, Forth compiler for Palm devices. It's a strange language by normal standards, but has proven itself well worth the look. In this article I can only really scratch the surface, but I hope to give you a taste for what it can do.

By the way, when we say "onboard", this means you can actually program in Quartus Forth right on your Palm device.

Bits of history
Charles Moore invented Forth. He named it FORTH because, in his mind, it represented the fourth generation of programming languages. So why, you might ask, wasn't it named FOURTH? Was it just that Moore couldn't spell? Actually, the reason gives an interesting insight into computer history. FORTH was so named (without the U) because the operating system Moore was using at the time only supported five characters in file names. Adding the U would have pushed it to a sixth character. And so it because FORTH instead of FOURTH.

Unlike most computer languages of the time, the name FORTH wasn't an acronym. It was its own word. As such, rather than spelling it out in all upper case, FORTH was eventually treated like other proper names and presented as "Forth".

Getting started
Quartus Forth is shareware; the evaluation and registered versions differ in the fact that the registered version allows you to generate stand-alone executable .PRC files that don't require a separate runtime library.

To get started, you'll need to download Quartus Forth either from Quartus or one of the normal Palm download sites (see Product Availability and Resources at the end of this article). The download includes a copy of RsrcEdit for onboard resource creation, which you need to install as well.

Between them the two programs will use under 200kB of memory on your Palm device. You'll also find the library memos in MemoPad archive format, and you'll need to install them, too. More about these memos later in this article.

Here's a nice programming safety hint: As with all Palm programming, if you're not sure what you're doing, install to the POSE (Portable Operating System Environment) emulator on your PC rather developing on your Palm device.

Once installed, you should see a screen such as that in Figure A.

FIGURE A

Here's the Quartus Forth workspace.


1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Phones and PDAs > Palm and Treo > Programming (24 articles)
   How PDA software is born
   Program with Simplicity
   Kinectivity 2.0 brings enterprise application developers new tools
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Other PalmPower Articles
Palm gets up to date with new Tungsten family of handhelds
Create handwritten email with riteMail
Presenter-to-Go puts PowerPoint presentations on your Palm OS handheld
Looking for the cutting edge
Gain remote access to databases and PLCs
PalmSource Open House showcases what's new in the Palm community
Analysis: handheld market share
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
DominoPower: Lotusphere 2010: mobility and collaboration
OutlookPower: Running auto-respond rules when Outlook is closed
-- Advertisement --

BLOGGING AND PODCASTING WITH ONE EASY-TO-USE TOOL
Now you can publish your thoughts, opinions, and comments in your own blog or podcast.<p />

  • Supports multiple authors and multiple blogs or podcasts.
  • Generate and publish RSS feeds for iTunes and other directories.
  • Post photos, images or animations.
  • Get feedback and have conversations with visitors to your site. <p />

Personalize your blog or podcast with your own unique domain name -- or integrate it with your existing site by setting it up as a subdomain.

Tap here and get blogging or podcasting within minutes.

-- Advertisement --

SECURE YOUR SITE WITH AN IRONCLAD SSL CERTIFICATE
An IronClad SSL Certificate helps you build an impenetrable fortress around your customer's credit card information. IronClad SSL Certificates are:

  • Fully validated
  • Up to 256-bit encryption
  • Up to 10 years validity
  • Stringent authentication
  • Around-the-clock customer support

Build trust. Protect your customers. Grow your online business.

Tap here now and be IronClad with SSL tonight.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login