This is the source for the No-CPU Challenge invitation demo, including framework, Protracker music converter and all graphics and music assets.
To build the demo:
- Check out this repository alongside the NoCpuChallenge repository.
- Install Dart.
- Get packages (in your IDE, or run
dart pub getin theno_cpudirectory). - Run
dart run --enable-asserts no_cpu/bin/main.dart.
The demo build code and will place its output chip.dat file into the runner directory of the NoCpuChallenge checkout.
The structure of the code is as follows:
no_cpu/lib: A general-purpose Dart package for no-CPU demo development. Mainly geared towards AGA, though it should be easy to adapt to OCS.no_cpu/bin: Code specific to the demo.no_cpu/bin/effects: The various effects in the demo in a somewhat reusable form.no_cpu/bin/parts: The various parts of the demo.no_cpu/bin/base.dart: Demo base classes containing music replay, frame dispatch and scripting systems generally useful to demos, though somewhat more opinionated than the general package.no_cpu/bin/main.dart: Main entry point for the demo.no_cpu/example: Some examples, mainly stand-alone instances of the effects.
The framework is generally designed to be run with asserts enabled. Many important safety checks will be skipped if asserts are disabled, though the code will still produce the correct result when used correctly.
The code is shared under the zlib license. Graphics and music assets are shared under the CC BY-NC license.