/planet-motion

Graphical planetary motion calculator

Primary LanguageCMIT LicenseMIT

Planet Motion

A rough calculation of planetary motion - to test ReGIS graphics and floating point solutions

Geocentric Planetary Motion

Purpose

To test various floating point packages available for the RC2014 and other z88dk supported targets.

Usage

This planetary motion visualisation requires the ReGIS library to be installed in z88dk.
For instructions on how to do this, and to enable xterm to support ReGIS please read here.

Once ReGIS library is available then one of the below compilation lines can be used to prepare the motion binary.

    zcc +rc2014 -subtype=cpm -clib=new -v -m --list -O2 -lm -llib/rc2014/regis @planet_motion.lst -o motionnew_cpm -create-app

    zcc +rc2014 -subtype=cpm -v -m --list  -lm -llib/rc2014/regis --max-allocs-per-node100000 @planet_motion.lst -o motion48_cpm -create-app
    zcc +rc2014 -subtype=cpm -v -m --list --math32 -llib/rc2014/regis --max-allocs-per-node100000 @planet_motion.lst -o motion32_cpm -create-app

    zcc +rc2014 -subtype=cpm -v -m --list --am9511 -llib/rc2014/regis --max-allocs-per-node100000 @planet_motion.lst -o motionapu_cpm -create-app
    zcc +yaz180 -subtype=cpm -v -m --list --math32 -llib/rc2014/regis --max-allocs-per-node100000 @planet_motion.lst -o motion32_cpm -create-app

Credits

Based on the work of Paul Schlyter.

And the implementations of Cosine Kitty (Don Cross)

Licence

MIT License