IntelligenceModding / Advanced-Peripherals-Features

A place for the feature request for Advanced Peripherals
0 stars 1 forks source link

[Suggestion] TIS-3D integration #42

Open Lgmrszd opened 2 years ago

Lgmrszd commented 2 years ago

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.