A new programming language, SORCA, enables real-time control of behavioral experiments on Z80 microcomputers. This system efficiently manages hardware inputs/outputs for precise experimental timing and data collection.
Area of Science:
Computer Science
Neuroscience
Psychology
Background:
Real-time control systems are crucial for precise behavioral experiment execution.
Existing programming languages may lack the specific functionalities required for intricate experimental designs.
Z80-based microcomputer systems with CP/M operating system are widely used in certain research settings.
Purpose of the Study:
To introduce SORCA, a novel programming language designed for real-time control of behavioral experiments.
To detail the capabilities of the SORCA compiler and its suitability for Z80 microcomputers.
To demonstrate SORCA's utility in managing hardware interactions, timing, and data acquisition for scientific research.
Main Methods:
Development of the SORCA programming language and its compiler for Z80/CP/M systems.
Implementation of cyclic sampling of 8 binary hardware input lines for stimulus detection.
Utilization of 8 cyclically updated binary hardware output lines for experimental control.
Integration of basic logic functions, counters, timers, and complex functions within the language.
Support for constant, step function, and random distribution parameters.
Capability for simultaneous task execution and automated result measurement/printing.
Main Results:
The SORCA language and compiler are successfully implemented on Z80 microcomputer systems.
SORCA facilitates real-time control of experiments with a typical reaction time of 500 microseconds to 1 ms.
The system supports simultaneous tasks and versatile parameter handling (constants, step functions, random distributions).
Hardware input/output lines are effectively utilized for stimulus presentation and response recording.
Experimental results, such as reaction counts and latencies, can be automatically measured and reported.
Conclusions:
SORCA provides an effective and easy-to-learn programming solution for real-time behavioral experiment control.
The language's features enable precise timing, complex function integration, and efficient data handling.
SORCA is adaptable for various control purposes beyond behavioral experiments, offering broad applicability.