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

antus/p08 #346

Closed
wants to merge 33 commits into from
Closed

antus/p08 #346

wants to merge 33 commits into from

Conversation

LegacyNsfw
Copy link
Owner

Just creating this PR to look at the diffs for now.

antus added 24 commits July 24, 2023 00:43
…en testing kernel functions in development
…can send key of 0000 to recover a corrupted param block.
…cific hardware, use detected flash size instead of hard coded size to validate write operations
@antuspcm antuspcm marked this pull request as ready for review July 16, 2024 09:28
@antuspcm
Copy link
Collaborator

antuspcm commented Jul 16, 2024

@LegacyNsfw I think this is ready to move to develop, and create a RC build and ask for public testing. What do you think?
New PCM targets: P04_256k, P04, P08, BlackBox (98-02). All working for me, all intel / amd flash chip variations. Lots of little usability improvements. Not resolved if pcminfo should be called pcminfo or osidinfo, but the theory is that I would like to split them later, so where its called OSIDInfo the purpose is to retrieve information by OSID, when its called PCMInfo, its looking for pass information along based on PCM type.

return PcmType.P05;
}

this.logger.AddDebugMessage("Trying P12 1Mb");
this.logger.AddDebugMessage("Trying P12 1024MiB");
Copy link
Contributor

@patrickmcquay patrickmcquay Sep 19, 2024

Choose a reason for hiding this comment

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

just having a look through here and noticed that a few of these changed by a factor of 1024. Ex: from 1MiB to 1024_M_iB.

Copy link
Collaborator

@antuspcm antuspcm Sep 19, 2024

Choose a reason for hiding this comment

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

Yep. The suffix meaning MiB wasn't consistent through the app. So I researched what is the most technically correct answer. And I found this: https://cseducators.stackexchange.com/questions/4425/should-i-teach-that-1-kb-1024-bytes-or-1000-bytes

I had to agree with this answer and decided to standardize on the official - even if they are not the most common - si terminology.

"You should teach them it's messed up beyond repair, and it's their generation's job to teach the next generation to use the silly-sounding standard prefixes, so that when they finally retire (and the current old-timers are more permanently removed from the argument), there can finally be a consensus."

Note that this pull request has been superseded by PcmHammer#2

Copy link
Contributor

Choose a reason for hiding this comment

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

I dont think I was clear, 1mb is 1024KiB, not 1024MiB. Unless this pcm has a gigabyte of storage?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hahaha gotcha. I'll update the WIP branch on the other repo.

@antuspcm antuspcm closed this Oct 8, 2024
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.

3 participants