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

SCSI id 7 is unusable/hardcoded #226

Open
iflyhigh opened this issue Mar 31, 2023 · 1 comment
Open

SCSI id 7 is unusable/hardcoded #226

iflyhigh opened this issue Mar 31, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@iflyhigh
Copy link

According to https://github.com/erichelgeson/BlueSCSI/wiki/Usage , one can use up to 7 images on one SD, thus reserving one ID for SCSI controller. But current implementation assumes that ID 7 is used as controller ID:

if(id < NUM_SCSIID && lun < NUM_SCSILUN) { dev = &scsi_device_list[id][lun]; ...
Since NUM_SCSIID == MAX_SCSIID == 7, only IDs below 7 (i.e., 0-6) are processed as images' IDs. Some Akai samplers by default use ID 6 as internal one which limits total number of possible images to 6 on these platforms. Although these samplers support changing their ID even on the fly, default ROM image which is always booted first during system startup (actual OS with another configured ID can be booted later from FDD or HDD), has hardcoded value of 6. Having both sampler ID set to 6 and a BlueSCSI device with ID 6 during boot time causes some weird issues on a sampler unless internal ID is manually changed even in case the OS booted later has another ID set as internal.

@erichelgeson
Copy link
Owner

Once we merge in the ini config file support we can likely make the reserved ID configurable.

@erichelgeson erichelgeson added the help wanted Extra attention is needed label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants