Skip to content

Amiga A3000 and SCSI reads with result not a multiple of four #340

@dlundqvist

Description

@dlundqvist

I have a problem with SCSI driver for Amiga A3000 in at least AmigaOS 3.2.3. If a read (any reads but most likely only a problem with Toolbox API in practice) return result whose size is not a multiple of four the application buffer is not properly written to. More specifically it doesn't write the rest bytes to the buffer. For most of the Toolbox API:s this is not an issue because the result is divisible by four. Some API:s could perhaps be fixed in a backwards compatible way. But at least BLUESCSI_TOOLBOX_GET_FILE seems difficult to fix without adding some kind of quirk.

I'm not sure what the best way is to fix this but I've prepared a new system preset with a new quirk that can be enabled to make sure reads always return a result that will work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions