Skip to content

Host services (SCHS) with realtime clock and shutdown, improved device inheritance#647

Merged
akuker merged 80 commits intodevelopfrom
feature_scsi_shutdown
Feb 10, 2022
Merged

Host services (SCHS) with realtime clock and shutdown, improved device inheritance#647
akuker merged 80 commits intodevelopfrom
feature_scsi_shutdown

Conversation

@uweseimet
Copy link
Copy Markdown
Contributor

@uweseimet uweseimet commented Feb 6, 2022

This PR covers the RaSCSI host services device with both realtime clock and RaSCSI/Pi shutdown. Successfully tested with an Atari.

This PR also improves inheritance and moves code from the Disk class to a new base class, which makes implementing new non-disk device types much easier and less prone to side effects. Just subclassing PrimaryDevice without implementing anything already results in a valid SCSI device with working implementations of TEST UNIT READY, INQUIRY, REQUEST SENSE and REPORT LUNS. Any device-specific code can simply be added to the subclass.

@uweseimet uweseimet changed the title RaSCSI host services (SCHS) with realtime clock and SCSI shutdown Host services (SCHS) with realtime clock and shutdown, improved device inheritance Feb 10, 2022
@akuker akuker merged commit 5622694 into develop Feb 10, 2022
@akuker akuker deleted the feature_scsi_shutdown branch February 10, 2022 18:54
@akuker
Copy link
Copy Markdown
Member

akuker commented Feb 10, 2022

@akuker Any chance for more feedback (based on my changes)? This open PR is currently preventing me from trying to address other tickets, in particular #660, #189, #222, #185 and #179. I don't know how far I may be able to get with those, but this PR would have to be merged first.

Done! Sorry for the delay.

@uweseimet
Copy link
Copy Markdown
Contributor Author

uweseimet commented Feb 10, 2022

@akuker Thank you for merging. You may have seen that I continued working on this, and I'm quite satisfied with the progress. I guess it will take one more PR to finalize the structural improvements, but this PR will have less code changes.

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