WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@2400060033
Copy link
Contributor

Fixes multiple bugs in the browser emulator wiring:

  • implement to_int correctly (little-endian)
  • fix callback byte-stream async iterator
  • correct ATStream carry handling
  • improve virtio frame assembly and minor robustness

No behavior changes; improves stability of virtio/wisp packet handling.

Fixes multiple bugs in the browser emulator wiring:
- implement to_int correctly (little-endian)
- fix callback byte-stream async iterator
- correct ATStream carry handling
- improve virtio frame assembly and minor robustness

No behavior changes; improves stability of virtio/wisp packet handling.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ProgrammerIn-wonderland
Copy link
Collaborator

@r58Playz does this look correct?

Copy link
Contributor

@r58Playz r58Playz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual v86 emulator doesn't use this code. You should probably modify src/emulator/src/main.js and src/puter-wisp/src/exports.js.

const handlers = {
[WispPacket.INFO.id]: ({ packet }) => {
// console.log('guess we doing info packets now', packet);
// reflect INFO packet back
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically incorrect according to spec but it doesn't really matter for the extensions puter is using since they have no payload on either side

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.

4 participants