xwords/franklin
2005-07-09 15:26:12 +00:00
..
bmps first checkin 2003-11-01 18:10:48 +00:00
.cvsignore add 2003-11-01 20:49:45 +00:00
frankask.cpp first checkin 2003-11-01 17:53:41 +00:00
frankask.h first checkin 2003-11-01 17:53:41 +00:00
frankdict.cpp call dict_super_init 2004-10-16 04:45:30 +00:00
frankdict.h nuke constant 2004-07-25 00:37:25 +00:00
frankdlist.cpp add parens so test for dict flags works. 2004-07-29 06:55:21 +00:00
frankdlist.h first checkin 2003-11-01 17:53:41 +00:00
frankdraw.cpp catch up with API changes 2005-07-09 15:26:12 +00:00
frankdraw.h first checkin 2003-11-01 17:53:41 +00:00
frankgamesdb.cpp first checkin 2003-11-01 17:53:41 +00:00
frankgamesdb.h first checkin 2003-11-01 17:53:41 +00:00
frankids.h first checkin 2003-11-01 17:53:41 +00:00
frankletter.cpp catch franklin up with recent API changes 2005-06-16 05:12:28 +00:00
frankletter.h catch franklin up with recent API changes 2005-06-16 05:12:28 +00:00
frankmain.cpp catch up with API changes 2005-07-09 15:26:12 +00:00
frankmain.h add palm-style patterns for bonus squares (via compile-time option) 2004-07-29 06:56:48 +00:00
frankpasswd.cpp first checkin 2003-11-01 17:53:41 +00:00
frankpasswd.h first checkin 2003-11-01 17:53:41 +00:00
frankplayer.cpp first checkin 2003-11-01 17:53:41 +00:00
frankplayer.h first checkin 2003-11-01 17:53:41 +00:00
franksavedgames.cpp first checkin 2003-11-01 17:53:41 +00:00
franksavedgames.h first checkin 2003-11-01 17:53:41 +00:00
frankshowtext.cpp fix formatting 2004-07-25 00:43:04 +00:00
frankshowtext.h first checkin 2003-11-01 17:53:41 +00:00
initial.mom first checkin 2003-11-01 18:10:48 +00:00
LocalizedStrIncludes.h catch franklin up with recent API changes 2005-06-16 05:12:28 +00:00
Makefile wrap line 2005-07-09 15:25:51 +00:00
pbitm2frank.pl first checkin 2003-11-01 18:36:13 +00:00
README.txt a few more tips on env setup. 2003-11-01 20:49:32 +00:00
xptypes.h add XP_STRCAT 2004-07-25 00:43:23 +00:00
xwords4.atts first checkin 2003-11-01 18:03:30 +00:00
xwords4_icon.bmp first checkin 2003-11-01 18:36:13 +00:00

This file describes how to build Crosswords for Franklin's eBookman.

It should be possible to do eBookman development on either Windows
(with cygwin) or Linux, but I've only done it on Linux, so that's what
I'll describe.  I expect it's not much different on Windows once
cygwin's installed.

You can get the SDK, and instructions for installing it, here:
http://download.franklin.com/franklin/ebookman/developer/

There are two environment variables you'll need to build for eBookman.
Add these to your shell startup script.  Here's mine (for bash):

export ARCH=i686
export EBOOKMAN_SDK=/home/ehouse/franklin/SDK

You can build either for the simulator/debugger, or to run on a
device.  For the simulator, type at a commandline in this directory:

# make memdebug

or

# make

Provided you have a copy of BasEnglish2to8.xwd in this directory, you
can then run Crosswords in the simulator by typing:

# ./sGDB

(To run with additional dictionaries, edit initial.mom.)

The command ./GDB is also available.  The difference is that the
former is much faster and launches you directly into Crosswords, while
the latter launches the device's App Picker screen, allowing you to
launch Crosswords the way an end-user would.  sGDB is what I use 95%
of the time.

(The simulator is a bit rough.  Not all of the buttons work, etc.  To
at least get started, wait for the two windows to come up.  Go to the
one titled "Source Window", and choose "Continue" on the "Control"
menu.  That'll get Crosswords running.)

To build a .seb file you can install on a device, type

# make xwords4.seb

Install this on an eBookman together with at least one dictionary
(e.g. BasEnglish2to8.seb) and you're good to go.

******************

On debugging: I've never had much luck with the source-level debugger
in the eBookman SDK.  I use XP_DEBUGF statements a lot, and do common
code development on the Linux port where debugging's better.  If you're
using cygwin on Windows you may have better luck.