This archival repository contains some legacy BASIC programs for ship sailing and operation. I used them on a CASIO FX-870P packet computer during 1992-1993. After I left my deck officer career, I no longer maintained them.
If you're interesting in using CASIO FX-870P and BASIC, you may find the links of unofficial on-line FX-870P manual and BASIC reference at 'Listado de Calculadoras Casio programables en BASIC'.
This repository is archived and will not receive any updates or accept issues or pull requests.
The original programs were typed and stored in RAM. I didn't buy any accessory to export source code, so I re-typed and restored them to three files on a desktop computer.
MARITIME PROGRAMS
- MERCATOR SAILING
- DEAD RECKONING
- GREAT CIRCLE SAILING
- DEC/GHA OF SUN
- MERIDIAN PASS
- SUNRISE/SUNSET & TWILIGHT
- ALTITUDE CALCULATION
- STAR FINDING
- SIGHT REDUCTION
- RELATIVE MOTION
MARITIME PROGRAMS PART II
- NP159*TIDAL PREDICTION/HARMONIC
- TIDE CALCULATION
- ETA CALCULATION
- WIND DIRECTION/FORCE
- AMPLITUDE
CARGO LOADING/DISCHARGING
- DISPLACEMENT CALCULATION
- TRIMMING
- LOADING & STRESS CALCULATION
- STRESS CALCULATION
- FINAL TRIMMING WITH TWO HOLDS
- AIR DRAFT CALCULATION
The data in P3.bas is only for M.V. CEMTEX ORIENT built in 1990.
I received original source code of these programs from Captain Wang, the then Master of M.V. CEMTEX ORIENT. Later, I rewrote a large portion of them, except for P3.bas which was nearly untouched. I also wrote several new programs to support my daily tasks, and eventually expanded to status quo.
Although it's not a good practice, I sometimes concatenated several statements in one line to save storage due to constraint, limitation of such small storage capacity of RAM.
All the code in this repository is licensed under the BSD-3-Clause.
2018-2-26