Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The STATE command does not take into account the status of DEVICE.FLIP #286

Closed
bingmachine opened this issue May 16, 2022 · 0 comments
Closed

Comments

@bingmachine
Copy link

Please describe the bug.

The STATE command does not take into account the status of DEVICE.FLIP.
For TR-commands the references are reversed. For STATE-command they are not.

Please include the hash displayed at startup and the release of the software (e.g. "Teletype v2.0.1 5f838c9")

Teletype 4.0.0 CBAEE74

What steps are required to reproduce the bug?

  1. Run DEVICE.FLIP to reverse all input and output references.
  2. Input 1 (originally 8) will now trigger script 1, as expected.
  3. Patch output 1 (originally 4) to input 1 (originally 8).
  4. Run TR.TOG 1 to activate output 1.
  5. STATE 1 will now return 0, but STATE 8(!) will return 1.
scanner-darkly added a commit to scanner-darkly/teletype that referenced this issue Apr 10, 2023
@scanner-darkly scanner-darkly mentioned this issue Apr 10, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant