fxconv: code review and color image conversion
This change enhances the style of fxconv by using more classes and generally more Pythonic constructions. It also introduces image conversion for fx-CG 50, requiring the use of --fx or --cg to specify the target machine with -i. The default is set to --fx to maintain compatibility with older Makefiles.
|2 weeks ago|
|fxconv||2 weeks ago|
|fxg1a||1 month ago|
|fxos||2 weeks ago|
|fxsdk||2 weeks ago|
|.gitignore||5 months ago|
|Makefile||1 month ago|
|README.md||2 weeks ago|
|configure||1 month ago|
The fxSDK is a development kit for Casio graphing calculators of the family of the fx-9860G and fx-CG 50. It’s a set of command-line compilation and project tools used to facilitate development with the gint kernel.
This kit is free software; you may use it for any purpose, share it, and modify it as long as you share your changes. No credit required, but please let me know!
The fxSDK is compatible with Linux and has been successfully built on Mac OS. If there are compatibility issues, I am willing to try and port stuff to your favorite operating system.
fxsdk lets you set up projects almost instantly with a default folder
structure and a working Makefile linking against gint for both fx-9860G and
fx-CG 50. You can then use it to build and transfer your add-ins to a
Most project parameters can be changed just by editing a text file annotated with the role and description of each option.
fxsdk only writes files at project creation time, so you keep control over
your build system and configuration - it just helps you get started faster.
fxg1a is a versatile g1a file editor that creates, edits and dumps the header
of fx-9860G add-ins files. It is used to build a g1a file out of a binary
It supports PNG icons, checking the validity and checksums of the header, repairing broken headers and dumping both the application data and icon.
fxconv is a tool that interacts specifically with gint. It converts data
files such as images and fonts into gint-specific format and embeds the result
into object files that expose a single variable.
fxos is a powerful disassembler and OS fiddling tool. It knows the structure
of OS files and can extract metadata, language information and syscalls through
a simple command-line interface.
Its key feature is the production of annotated assembler listings where syscalls invocations and peripheral registers are identified and named. This makes it a lot easier to climb back abstraction levels from the code.
The fxSDK is platform-agnostic; a single install will cover any target platforms. Here are the dependencies:
First configure; you can specify the install folder with
defaults to your local home folder. You can also enable or disable tools.
Broadly, you will need:
fxsdkif you want to benefit from the automated project setup
fxg1aif you want to compile add-ins for fx-9860G
fxconvif you want to compile gint or develop add-ins with it
fxosif you want to disassemble or study OS dumps
Each tool can be enabled or disabled with
--disable-<tool>. For a default build you need no arguments:
Then make and install as usual.
% make % make install
If you selected an install folder for which you don’t have write access (which
apparently includes the default folder on Mac OS), you will need
Most details are covered in the help of each individual tool, which you can get
--help or by invoking each tool without arguments.