Skip to content

bdm: added read16/write16 to support large disks#876

Merged
rickgaiser merged 1 commit into
ps2dev:masterfrom
Florin9doi:rw16
Jul 23, 2026
Merged

bdm: added read16/write16 to support large disks#876
rickgaiser merged 1 commit into
ps2dev:masterfrom
Florin9doi:rw16

Conversation

@Florin9doi

Copy link
Copy Markdown
Contributor
  • more tests are needed

@Florin9doi

Copy link
Copy Markdown
Contributor Author

I tested using both of my SATA adapters capable of powering a 3.5 inch drive: a JMicron JMS567 and a JMS578, and both work as expected, including accessing data above the previous 32 bit limit. I have more adapters, but none of them are compatible with 3.5 inch drives, and I don't have any 2.5 inch drive larger than 2TB. Rebased and ready for review

@Florin9doi
Florin9doi marked this pull request as ready for review July 22, 2026 17:34

@rickgaiser rickgaiser left a comment

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.

The SCSI files should be the same. Originally I wanted to have them in a separate library instead of this duplicated code but that's the way they are now. Please compare your changes to both SCSI files and try to keep them as much the same as possible.

Comment thread iop/iLink/IEEE1394_bd/src/include/sbp2_disk.h
Comment thread iop/fs/bdm/src/bdm.c
Comment thread iop/usb/usbmass_bd/src/scsi.c Outdated
@rickgaiser

Copy link
Copy Markdown
Member

Ready for merge?

@Florin9doi

Copy link
Copy Markdown
Contributor Author

Yes, from my point of view

@rickgaiser
rickgaiser merged commit 98306fb into ps2dev:master Jul 23, 2026
5 checks passed
@Florin9doi
Florin9doi deleted the rw16 branch July 23, 2026 17:58
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.

2 participants