Page 1 of 1

[Done for V0.38] Logic

Posted: Fri Nov 02, 2001 7:54 pm
by beowuuf
What sort of 'logic' do the more complex pads (like the ones for the double lever to open the door on level 2) use?
In DM, the complex pads were four input ANDs, where you needed to have all four faces active to get out the result you wanted.


Just thinking about electronics, and any type of logic (AND, NOT, OR) can be created from NAND gates. That is, they give out the opposite of the AND of the inputs.

NAND gates can also be used to create sequential logic and also storage devices

So, if you have a pad type that does this (two or four inputs, targetting to different faces or soemthing) then some nice complex things could be done.

Just a half thought I had today...

Posted: Tue May 09, 2006 9:42 pm
by George Gilbert
This is done for V0.38.

RTC conditional relays can use

- Equals
- Not equals
- Greater than
- Greater than or equal to
- Less than
- Less than or equal to
- AND
- OR
- XOR
- NAND
- NOR

I think that's all of them; if you can think of any others that would be useful though, let me know and I'll add them in.