Skip to content

Commit

Permalink
Merge pull request #379 from peclark1/main
Browse files Browse the repository at this point in the history
@peclark1 added Xebec Support
Thanks again!
  • Loading branch information
morio authored Feb 13, 2024
2 parents 8671a0b + c4b252e commit bb2a0f6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.pio
.vscode
.DS_Store
15 changes: 15 additions & 0 deletions lib/SCSI2SD/src/firmware/vendor.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,21 @@ int scsiVendorCommand()
scsiDev.phase = DATA_OUT;
scsiDev.postDataOutHook = doWriteBuffer;
}
else if (command == 0xE0 &&
scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_XEBEC)
{
// RAM Diagnostic
// XEBEC S1410 controller
// http://bitsavers.informatik.uni-stuttgart.de/pdf/xebec/104524C_S1410Man_Aug83.pdf
// Stub, return success
}
else if (command == 0xE4 &&
scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_XEBEC)
{
// Drive Diagnostic
// XEBEC S1410 controller
// Stub, return success
}
else
{
commandHandled = 0;
Expand Down
2 changes: 2 additions & 0 deletions src/ZuluSCSI_log_trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ static const char *getCommandName(uint8_t cmd)
case 0xA8: return "Read12";
case 0xC0: return "OMTI-5204 DefineFlexibleDiskFormat";
case 0xC2: return "OMTI-5204 AssignDiskParameters";
case 0xE0: return "Xebec RAM Diagnostic";
case 0xE4: return "Xebec Drive Diagnostic";
default: return "Unknown";
}
}
Expand Down

0 comments on commit bb2a0f6

Please sign in to comment.