mkg3a

Mkg3a is my contribution to the community effort to build a free and open-source toolchain targeting the Casio FX-CG line of calculators.  Here's the blog post introducing the project, and the feedback/announcements thread on Cemetech.

Code

I don't usually make a point of packaging releases, since this is such a small project.  The code is always available in the repository at Bitbucket:

https://bitbucket.org/tari/mkg3a/

Releases are tagged in the repository, and automatic snapshot packages are available from Bitbucket's downloads page

Building

mkg3a is configured with cmake.  For a basic build, the following should work:

$ hg clone https://bitbucket.org/tari/mkg3a
$ mkdir mkg3a/build
$ cd mkg3a/build
$ cmake ..
$ make
# make install

To clone a specific revision or tag (perhaps version 0.1e), use mercurial's -r option:

$ hg clone -r 0.1e https://bitbucket.org/tari/mkg3a

Specifying the install path at build-time is done via cmake (like --prefix= with autotools):

$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr

For other tasks, have a look at the CMake documentation, and consider using a CMake GUI such as ccmake or cmake-gui.

You'll need libpng and zlib for default build. You can avoid that dependency (and disable the PNG icon loader as a consequence) by setting CMake's USE_PNG variable to OFF. It's useful to diable the PNG support when building on Windows, since it's a bit of effort to get those libraries configured (I've written up some notes on building the libraries and telling CMake where to look for them).

 Usage

To do much of anything useful with mkg3a, you'll want to have some compiled code for the Prizm.  GCC (built to target SH3) and libfxcg are the primary tools  you'll need to do that.  [more notes on building programs to come, hopefully].

The mkg3a README file includes some usage examples.  Refer to those until I get some written here.

One thought on “mkg3a

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>