Giter Club home page Giter Club logo

libfxcg's Introduction

libfxcg

Latest release

Syscall and helper library for the Casio FX-CG (Prizm) color graphing calculator.

Usage

You can download precompiled packages from the releases page. If you're using Windows you can get a precompiled SDK package that includes everything you need to get started. See the Windows HOWTO document for a walkthrough.

SDK packages

The SDK packages provide everything you need to build programs, including a compiler. You should use these unless you know you want to do something different.

Place your project(s) in the projects directory underneath the unpacked release. You may wish to copy or modify the included example project to get set up quickly. Running make from the project directory will suffice to build a ready-to-run g3a.

Library archives

For other platforms (non-Windows) where we don't currently provide SDK packages, the library archive releases provide the compiled libraries (.a) and corresponding include files to use with your compiler and build system.

Add-in build requirements

It is infeasible to document how to set up your compiler on many platforms, but the basic requirement is that you have a version of GCC built to target sh3eb-elf-none.

When building code, you'll need to use the -mb, -m4a-nofpu, -mhitachi and -nostdlib flags to GCC to build code in big-endian mode for SH4a using the Hitachi calling convention, and skipping any C library or startup code that may come with your compiler.

When linking, you'll need to explicitly link libgcc and libfxcg at least, and optionally also libc for utility functions. libgcc provides support functions that the compiler requires, and libfxcg includes all of the Prizm-specific items, including startup code necessary to start up a program correctly.

When linking a final binary, you will also need to specify an appropriate linker script (-Tscript.x). You may wish to use or adapt the one we provide.

Examples and more documentation.

A few example programs can be found in the examples directory.

More detailed documentation can be found on WikiPrizm.

libfxcg's People

Contributors

tari avatar gbl08ma avatar dr-carlos avatar computernerd avatar jonimoose avatar merthsoft avatar ahelper avatar forty-bot avatar heath123 avatar tswilliamson avatar seckujdivad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.