Runge Kutta 4(5) order simulation suite for Apple II in Aztec C
- This work is based on 1999-2000 Thesis work of Greco Riccardo coded in ANSI C for x86 and DSP processor. It implement an Runge Kutta 4(5)^ order integration numerical method of differential equations set by use of double precision floating point operation in Aztec C65 language. It allow to simulate different mathematical models such as:
- Resistance Capacitor electrical circuit,
- Direct Current electric motor,
- Alternating Current three phase induction motor.
Prerequisites:
- Windows with DOSBox support (or Windows XP/7)
- Apple II emulator (AppleWin recommended)
- ProDOS disk utility (CiderPress recommended)
Quick Build:
- Copy
AppleX/
folder toC:\AppleX\
- Double-click
Aztec Apple C6502 DOSBox Prompt.lnk
(for modern Windows) - Navigate to project directory:
cd [project-path]
- Build:
make
(creates RCRK.SYS and *.OVR files) - Use CiderPress or similar tool to copy files to ProDOS disk image
- Test: Load
RKSIM.po
in Apple II emulator
For complete setup details, read:
AppleX/ReadMe.txt
- Installation and environment setupAppleX/ReadFirst.txt
- AppleX features and documentationAppleX/XBox.txt
- DOSBox configuration
Simply load RKSIM.po
in an Apple II emulator - no build required.
Thanks to Bill Buckels for his invaluable support:
- Aztec C compilers http://www.aztecmuseum.ca/compilers.htm