Skip to content

Busses #3

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Busses #3

wants to merge 2 commits into from

Conversation

quartata
Copy link
Member

@quartata quartata commented Jul 2, 2018

Adds two ops:

  • SND <bus no.> <val> <dest>: sends val to the specified bus (0-indexed), and writes the status code to dest (currently just 0/1).
  • RCV <bus no.> <fail> <success>: attempts to read a word from the specified bus. If there's anything to be read, write it to success; otherwise, jump to fail.

Emulated busses can be added using the "Add Bus" button: currently there is a "Console" bus and a "WebSocket" bus.

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

Successfully merging this pull request may close these issues.

1 participant