1
0
mirror of https://github.com/livingcomputermuseum/UniBone.git synced 2026-02-19 05:47:58 +00:00

Fixed Unit and Controller ID fields (word order was scrambled) and removed hacked-in constant values for same.

Made RCT table size dynamic based on the drive type.

The above allow RSTS/E to boot!  Huzzah!
This commit is contained in:
Josh Dersch
2019-05-17 00:47:11 +02:00
parent fc312df0bc
commit 398c54ee3f
5 changed files with 117 additions and 71 deletions

View File

@@ -715,12 +715,18 @@ uda_c::PostResponse(
return res;
}
uint64_t
uint32_t
uda_c::GetControllerIdentifier()
{
// TODO: make this not hardcoded
// ID 0x1234568, device class 1 (mass storage), model 2 (UDA50)
return 0x1234567801020000;
// ID 0x12345678
return 0x12345678;
}
uint16_t
uda_c::GetControllerClassModel()
{
return 0x0102; // Class 1 (mass storage), model 2 (UDA50)
}
void