Experimental devices

An experimental device is a device that nobody has specified yet, tried out on Terse32 without a change to the specification and without changing any machine that does not use it. Its driver declares its calls, their charges and the size of its state; the core checks and charges the calls and keeps the state without knowing what the device means. The rules are spec/experimental.md in the Tersenet sources (with DEVICES.md section 15 for the driver's side); in short:

The example, example.dice, is native/driver-experimental: the driver in C, a program that uses it and a test of every rule. The implementation guide's page "Invent a device" walks through it.