Skip to content
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

NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes (#1334) #1335

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

uweseimet
Copy link
Contributor

No description provided.

@uweseimet uweseimet linked an issue Nov 10, 2023 that may be closed by this pull request
@uweseimet uweseimet marked this pull request as ready for review November 11, 2023 15:45
// 64 bytes it was decided to accept the broken checksum. If a driver should pop up that
// breaks because of this, the work-around has to be re-evaluated.
size = 64;
// that care for the checksum, the Daynaport driver for the Atari expects frames of 64 bytes
Copy link
Member

Choose a reason for hiding this comment

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

Sorry if I missed the whole discussion elsewhere, but you're saying that the Atari driver expects 64 bit frames but can handle 128 bit frames too because it's a multiple of 64?

(The resulting code comment reads contradictory to me)

Also, I assume @benjamink is helping you test this change with the Mac drivers?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tested this change successfully with the Atari driver, i.e. it can cope with 128 bytes. I guess anything > 64 bytes is fine, but 128 bytes definitely work.
Yes, @benjamink is doing the Mac tests.
The comment is indeed inconsistent. I just updated it, hope it is clearer now.

Copy link

sonarcloud bot commented Nov 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@uweseimet uweseimet merged commit 98f9292 into develop Nov 14, 2023
16 checks passed
@uweseimet uweseimet deleted the issue_1334 branch November 14, 2023 15:13
uweseimet added a commit that referenced this pull request Nov 14, 2023
…ytes (#1334) (#1335)

* NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes
uweseimet added a commit that referenced this pull request Nov 14, 2023
…ytes (#1334) (#1335)

* NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes
uweseimet added a commit that referenced this pull request Nov 14, 2023
…ytes (#1334) (#1335)

* NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes
uweseimet added a commit that referenced this pull request Nov 14, 2023
…ytes (#1334) (#1335)

* NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes
uweseimet added a commit that referenced this pull request Nov 15, 2023
…ytes (#1334) (#1335)

* NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes
uweseimet added a commit that referenced this pull request Nov 15, 2023
…ytes (#1334) (#1335)

* NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes
@uweseimet uweseimet linked an issue Nov 15, 2023 that may be closed by this pull request
rdmark pushed a commit that referenced this pull request May 1, 2024
…ytes (#1334) (#1335)

* NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants