mirror of
https://github.com/livingcomputermuseum/UniBone.git
synced 2026-01-28 04:47:46 +00:00
Fix for VMS bootstrap (sanity check was violated, we now log the case rather than aborting).
Fixed interrupt behavior (docs around the IE flag at init are vague -- looks like IE controls interrupts only during the initialization; afterwards interrupts are always enabled regardless.) V8 Research Unix now boots (tested on VAX-11/750).
This commit is contained in:
@@ -178,8 +178,8 @@ void mscp_drive_c::SetOnline()
|
||||
// Once online, the drive's type and image cannot be changed until
|
||||
// the drive is offline.
|
||||
//
|
||||
type_name.readonly = true;
|
||||
image_filepath.readonly = true;
|
||||
// type_name.readonly = true;
|
||||
// image_filepath.readonly = true;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -682,8 +682,9 @@ uda_c::PostResponse(
|
||||
//
|
||||
// If this happens it's likely fatal since we're not fragmenting responses (see the big comment
|
||||
// block above). So eat flaming death.
|
||||
// Note: the VMS bootstrap does this, so we'll just log the issue.
|
||||
//
|
||||
FATAL("Response buffer 0x%x > host buffer length 0x%x", response->MessageLength, messageLength);
|
||||
DEBUG("Response buffer 0x%x > host buffer length 0x%x", response->MessageLength, messageLength);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -798,7 +799,7 @@ uda_c::GetControllerClassModel()
|
||||
void
|
||||
uda_c::Interrupt(void)
|
||||
{
|
||||
if (_interruptEnable && _interruptVector != 0)
|
||||
if ((_interruptEnable || _initStep == InitializationStep::Complete) && _interruptVector != 0)
|
||||
{
|
||||
interrupt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user