AdvancedPeripherals icon indicating copy to clipboard operation
AdvancedPeripherals copied to clipboard

[Suggestion] TIS-3D integration

Open Lgmrszd opened this issue 4 years ago • 0 comments

Describe your idea

TIS-3D adds primitive controller-like machines that can be programmed with small set of instructions and with modules. I think it would be cool to have compatibility with this mod. In the mod, there is a Serial Port Module, which acts as a bridge with other blocks and peripherals and designed to have functionality added with external mods.

Suggested most basic integration would add peripheral for said Serial Port with just two functions:

read() -> int -- Block until value is received, after that return it. write(int) -- Block until value is written.

Some advanced functionality may be possible, such as ability to read or write on specific port (side) or escaping deadlock by resetting module from code, perhaps requiring it's own module.

Lgmrszd avatar Oct 31 '21 20:10 Lgmrszd