Skip to content

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

Merged
uweseimet merged 3 commits intodevelopfrom
issue_1334
Nov 14, 2023
Merged

NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes (#1334)#1335
uweseimet merged 3 commits intodevelopfrom
issue_1334

Conversation

@uweseimet
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@sonarqubecloud
Copy link
Copy Markdown

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
@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

Development

Successfully merging this pull request may close these issues.

Additional configuration options for DaynaPort emulation daynaport: Increase the minimum packet size from 64 to 128 bytes

2 participants