{"id":16665427,"url":"https://github.com/larsbrinkhoff/imp","last_synced_at":"2025-04-09T19:12:18.449Z","repository":{"id":147602096,"uuid":"125204389","full_name":"larsbrinkhoff/imp","owner":"larsbrinkhoff","description":"New implementation of an Arpanet IMP","archived":false,"fork":false,"pushed_at":"2018-03-15T07:13:38.000Z","size":10,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-09T19:12:14.001Z","etag":null,"topics":["arpanet","computer-history","emulator","imp","ncp","retrocomputing"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larsbrinkhoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-14T11:47:16.000Z","updated_at":"2023-11-17T00:14:46.000Z","dependencies_parsed_at":"2023-05-31T18:15:41.900Z","dependency_job_id":null,"html_url":"https://github.com/larsbrinkhoff/imp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2Fimp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2Fimp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2Fimp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsbrinkhoff%2Fimp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsbrinkhoff","download_url":"https://codeload.github.com/larsbrinkhoff/imp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094989,"owners_count":21046770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arpanet","computer-history","emulator","imp","ncp","retrocomputing"],"created_at":"2024-10-12T11:07:03.212Z","updated_at":"2025-04-09T19:12:18.432Z","avatar_url":"https://github.com/larsbrinkhoff.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Arpanet IMP implemented in C\n\nThis is part of the effort to add simulated IMP interfaces in SIMH.\n\nSee [BBN Report 1822](http://bitsavers.org/pdf/bbn/imp/BBN1822_Jan1976.pdf)\nfor the protocol used to communicate with the IMP.\n\n### API\n\nFirst reset the IMP:\n\n- t_stat imp_reset (IMP *imp)\n\nThen set imp.receive_bit to a callback which is used to receive data\nfrom the network.  The callback will receive a boolean bit, and\nanother boolean to say whether the bit was the last in a message.  The\ncallback has this type:\n\n- t_stat (*) (int bit, int last)\n\nThe IMP accepts data from a host using one of these two APIs:\n\n- t_stat imp_send_bits (IMP *imp, uint64 data, int n, int last)\n- t_stat imp_send_packet (IMP *imp, void *octets, int n)\n\nThe first function accepts input in the lower n bits of data.  Message\nbits accumulate until last is true.\n\nThe second function can be used to send a complete packet with n bits.\n\n![](https://user-images.githubusercontent.com/775050/37401960-1caf3e6e-278a-11e8-8a9f-357b8cea3720.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsbrinkhoff%2Fimp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsbrinkhoff%2Fimp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsbrinkhoff%2Fimp/lists"}