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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user