{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/groundwater/mykernel/pulls/1","id":27909233,"html_url":"https://github.com/groundwater/mykernel/pull/1","diff_url":"https://github.com/groundwater/mykernel/pull/1.diff","patch_url":"https://github.com/groundwater/mykernel/pull/1.patch","issue_url":"https://api.github.com/repos/groundwater/mykernel/issues/1","number":1,"state":"open","locked":false,"title":"Added serial port IO based on interrupts instead of polling","user":{"login":"JoeDoyle23","id":237796,"avatar_url":"https://avatars.githubusercontent.com/u/237796?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeDoyle23","html_url":"https://github.com/JoeDoyle23","followers_url":"https://api.github.com/users/JoeDoyle23/followers","following_url":"https://api.github.com/users/JoeDoyle23/following{/other_user}","gists_url":"https://api.github.com/users/JoeDoyle23/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeDoyle23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeDoyle23/subscriptions","organizations_url":"https://api.github.com/users/JoeDoyle23/orgs","repos_url":"https://api.github.com/users/JoeDoyle23/repos","events_url":"https://api.github.com/users/JoeDoyle23/events{/privacy}","received_events_url":"https://api.github.com/users/JoeDoyle23/received_events","type":"User","site_admin":false},"body":"So I got serial port IO working based on interrupts. On my machine I wasn't able to get data to send from the console into qemu, but I could go from qemu to the console. It did work by setting up qemu as a telnet server. Not sure if its my setup or just how qemu serial port redirection works.\r\n\r\nOutbound data is queued until `Enter` is pressed. Inbound data is displayed as its received. \r\n\r\nTo use telnet I had to modify the runtime-playground.js\r\n\r\nI used `-serial telnet:localhost:9999,server` instead of `-serial stdio`\r\n\r\nHere are some helpful links I used to figure out how this all needed to work.\r\n http://www.lammertbies.nl/comm/info/serial-uart.html#FCR\r\n http://flint.cs.yale.edu/cs422/doc/art-of-asm/pdf/CH22.PDF\r\n http://wiki.osdev.org/PIC","created_at":"2015-01-23T08:58:55Z","updated_at":"2015-01-23T08:58:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/groundwater/mykernel/pulls/1/commits","review_comments_url":"https://api.github.com/repos/groundwater/mykernel/pulls/1/comments","review_comment_url":"https://api.github.com/repos/groundwater/mykernel/pulls/comments/{number}","comments_url":"https://api.github.com/repos/groundwater/mykernel/issues/1/comments","statuses_url":"https://api.github.com/repos/groundwater/mykernel/statuses/90fbd181dcaa1998f150609a634855c1787a66eb","head":{"label":"JoeDoyle23:master","ref":"master","sha":"90fbd181dcaa1998f150609a634855c1787a66eb","user":{"login":"JoeDoyle23","id":237796,"avatar_url":"https://avatars.githubusercontent.com/u/237796?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeDoyle23","html_url":"https://github.com/JoeDoyle23","followers_url":"https://api.github.com/users/JoeDoyle23/followers","following_url":"https://api.github.com/users/JoeDoyle23/following{/other_user}","gists_url":"https://api.github.com/users/JoeDoyle23/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeDoyle23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeDoyle23/subscriptions","organizations_url":"https://api.github.com/users/JoeDoyle23/orgs","repos_url":"https://api.github.com/users/JoeDoyle23/repos","events_url":"https://api.github.com/users/JoeDoyle23/events{/privacy}","received_events_url":"https://api.github.com/users/JoeDoyle23/received_events","type":"User","site_admin":false},"repo":{"id":29724097,"name":"mykernel","full_name":"JoeDoyle23/mykernel","owner":{"login":"JoeDoyle23","id":237796,"avatar_url":"https://avatars.githubusercontent.com/u/237796?v=3","gravatar_id":"","url":"https://api.github.com/users/JoeDoyle23","html_url":"https://github.com/JoeDoyle23","followers_url":"https://api.github.com/users/JoeDoyle23/followers","following_url":"https://api.github.com/users/JoeDoyle23/following{/other_user}","gists_url":"https://api.github.com/users/JoeDoyle23/gists{/gist_id}","starred_url":"https://api.github.com/users/JoeDoyle23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoeDoyle23/subscriptions","organizations_url":"https://api.github.com/users/JoeDoyle23/orgs","repos_url":"https://api.github.com/users/JoeDoyle23/repos","events_url":"https://api.github.com/users/JoeDoyle23/events{/privacy}","received_events_url":"https://api.github.com/users/JoeDoyle23/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoeDoyle23/mykernel","description":"","fork":true,"url":"https://api.github.com/repos/JoeDoyle23/mykernel","forks_url":"https://api.github.com/repos/JoeDoyle23/mykernel/forks","keys_url":"https://api.github.com/repos/JoeDoyle23/mykernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoeDoyle23/mykernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoeDoyle23/mykernel/teams","hooks_url":"https://api.github.com/repos/JoeDoyle23/mykernel/hooks","issue_events_url":"https://api.github.com/repos/JoeDoyle23/mykernel/issues/events{/number}","events_url":"https://api.github.com/repos/JoeDoyle23/mykernel/events","assignees_url":"https://api.github.com/repos/JoeDoyle23/mykernel/assignees{/user}","branches_url":"https://api.github.com/repos/JoeDoyle23/mykernel/branches{/branch}","tags_url":"https://api.github.com/repos/JoeDoyle23/mykernel/tags","blobs_url":"https://api.github.com/repos/JoeDoyle23/mykernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoeDoyle23/mykernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoeDoyle23/mykernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoeDoyle23/mykernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoeDoyle23/mykernel/statuses/{sha}","languages_url":"https://api.github.com/repos/JoeDoyle23/mykernel/languages","stargazers_url":"https://api.github.com/repos/JoeDoyle23/mykernel/stargazers","contributors_url":"https://api.github.com/repos/JoeDoyle23/mykernel/contributors","subscribers_url":"https://api.github.com/repos/JoeDoyle23/mykernel/subscribers","subscription_url":"https://api.github.com/repos/JoeDoyle23/mykernel/subscription","commits_url":"https://api.github.com/repos/JoeDoyle23/mykernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoeDoyle23/mykernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoeDoyle23/mykernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoeDoyle23/mykernel/issues/comments/{number}","contents_url":"https://api.github.com/repos/JoeDoyle23/mykernel/contents/{+path}","compare_url":"https://api.github.com/repos/JoeDoyle23/mykernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoeDoyle23/mykernel/merges","archive_url":"https://api.github.com/repos/JoeDoyle23/mykernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoeDoyle23/mykernel/downloads","issues_url":"https://api.github.com/repos/JoeDoyle23/mykernel/issues{/number}","pulls_url":"https://api.github.com/repos/JoeDoyle23/mykernel/pulls{/number}","milestones_url":"https://api.github.com/repos/JoeDoyle23/mykernel/milestones{/number}","notifications_url":"https://api.github.com/repos/JoeDoyle23/mykernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoeDoyle23/mykernel/labels{/name}","releases_url":"https://api.github.com/repos/JoeDoyle23/mykernel/releases{/id}","created_at":"2015-01-23T08:40:57Z","updated_at":"2015-01-23T08:50:52Z","pushed_at":"2015-01-23T08:50:51Z","git_url":"git://github.com/JoeDoyle23/mykernel.git","ssh_url":"git@github.com:JoeDoyle23/mykernel.git","clone_url":"https://github.com/JoeDoyle23/mykernel.git","svn_url":"https://github.com/JoeDoyle23/mykernel","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"groundwater:master","ref":"master","sha":"320405e9d84c06a0e9392dca4eb052283410435a","user":{"login":"groundwater","id":538488,"avatar_url":"https://avatars.githubusercontent.com/u/538488?v=3","gravatar_id":"","url":"https://api.github.com/users/groundwater","html_url":"https://github.com/groundwater","followers_url":"https://api.github.com/users/groundwater/followers","following_url":"https://api.github.com/users/groundwater/following{/other_user}","gists_url":"https://api.github.com/users/groundwater/gists{/gist_id}","starred_url":"https://api.github.com/users/groundwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groundwater/subscriptions","organizations_url":"https://api.github.com/users/groundwater/orgs","repos_url":"https://api.github.com/users/groundwater/repos","events_url":"https://api.github.com/users/groundwater/events{/privacy}","received_events_url":"https://api.github.com/users/groundwater/received_events","type":"User","site_admin":false},"repo":{"id":29278021,"name":"mykernel","full_name":"groundwater/mykernel","owner":{"login":"groundwater","id":538488,"avatar_url":"https://avatars.githubusercontent.com/u/538488?v=3","gravatar_id":"","url":"https://api.github.com/users/groundwater","html_url":"https://github.com/groundwater","followers_url":"https://api.github.com/users/groundwater/followers","following_url":"https://api.github.com/users/groundwater/following{/other_user}","gists_url":"https://api.github.com/users/groundwater/gists{/gist_id}","starred_url":"https://api.github.com/users/groundwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groundwater/subscriptions","organizations_url":"https://api.github.com/users/groundwater/orgs","repos_url":"https://api.github.com/users/groundwater/repos","events_url":"https://api.github.com/users/groundwater/events{/privacy}","received_events_url":"https://api.github.com/users/groundwater/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/groundwater/mykernel","description":"","fork":false,"url":"https://api.github.com/repos/groundwater/mykernel","forks_url":"https://api.github.com/repos/groundwater/mykernel/forks","keys_url":"https://api.github.com/repos/groundwater/mykernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groundwater/mykernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groundwater/mykernel/teams","hooks_url":"https://api.github.com/repos/groundwater/mykernel/hooks","issue_events_url":"https://api.github.com/repos/groundwater/mykernel/issues/events{/number}","events_url":"https://api.github.com/repos/groundwater/mykernel/events","assignees_url":"https://api.github.com/repos/groundwater/mykernel/assignees{/user}","branches_url":"https://api.github.com/repos/groundwater/mykernel/branches{/branch}","tags_url":"https://api.github.com/repos/groundwater/mykernel/tags","blobs_url":"https://api.github.com/repos/groundwater/mykernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groundwater/mykernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groundwater/mykernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/groundwater/mykernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groundwater/mykernel/statuses/{sha}","languages_url":"https://api.github.com/repos/groundwater/mykernel/languages","stargazers_url":"https://api.github.com/repos/groundwater/mykernel/stargazers","contributors_url":"https://api.github.com/repos/groundwater/mykernel/contributors","subscribers_url":"https://api.github.com/repos/groundwater/mykernel/subscribers","subscription_url":"https://api.github.com/repos/groundwater/mykernel/subscription","commits_url":"https://api.github.com/repos/groundwater/mykernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/groundwater/mykernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/groundwater/mykernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/groundwater/mykernel/issues/comments/{number}","contents_url":"https://api.github.com/repos/groundwater/mykernel/contents/{+path}","compare_url":"https://api.github.com/repos/groundwater/mykernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groundwater/mykernel/merges","archive_url":"https://api.github.com/repos/groundwater/mykernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groundwater/mykernel/downloads","issues_url":"https://api.github.com/repos/groundwater/mykernel/issues{/number}","pulls_url":"https://api.github.com/repos/groundwater/mykernel/pulls{/number}","milestones_url":"https://api.github.com/repos/groundwater/mykernel/milestones{/number}","notifications_url":"https://api.github.com/repos/groundwater/mykernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groundwater/mykernel/labels{/name}","releases_url":"https://api.github.com/repos/groundwater/mykernel/releases{/id}","created_at":"2015-01-15T03:02:51Z","updated_at":"2015-01-15T03:05:26Z","pushed_at":"2015-01-15T03:05:26Z","git_url":"git://github.com/groundwater/mykernel.git","ssh_url":"git@github.com:groundwater/mykernel.git","clone_url":"https://github.com/groundwater/mykernel.git","svn_url":"https://github.com/groundwater/mykernel","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/groundwater/mykernel/pulls/1"},"html":{"href":"https://github.com/groundwater/mykernel/pull/1"},"issue":{"href":"https://api.github.com/repos/groundwater/mykernel/issues/1"},"comments":{"href":"https://api.github.com/repos/groundwater/mykernel/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/groundwater/mykernel/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/groundwater/mykernel/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/groundwater/mykernel/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/groundwater/mykernel/statuses/90fbd181dcaa1998f150609a634855c1787a66eb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":135,"deletions":50,"changed_files":3}}