Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

New implementation of an Arpanet IMP

NotificationsYou must be signed in to change notification settings

larsbrinkhoff/imp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This is part of the effort to add simulated IMP interfaces in SIMH.

SeeBBN Report 1822for the protocol used to communicate with the IMP.

API

First reset the IMP:

  • t_stat imp_reset (IMP *imp)

Then set imp.receive_bit to a callback which is used to receive datafrom the network. The callback will receive a boolean bit, andanother boolean to say whether the bit was the last in a message. Thecallback has this type:

  • t_stat (*) (int bit, int last)

The IMP accepts data from a host using one of these two APIs:

  • t_stat imp_send_bits (IMP *imp, uint64 data, int n, int last)
  • t_stat imp_send_packet (IMP *imp, void *octets, int n)

The first function accepts input in the lower n bits of data. Messagebits accumulate until last is true.

The second function can be used to send a complete packet with n bits.

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp