Changed defaults.
Now unknown or unimplemented instructions won't throw by default.
This commit is contained in:
@@ -210,9 +210,9 @@ MemoryPokes: list of address-value pairs
|
||||
parcel address (like 0x42346:p2). For word addresses, the value is a 64-bit
|
||||
integer, for parcel-address the value is a 16-bit integer
|
||||
ThrowOnUnknown: optional boolean
|
||||
If set, unknown instructions won't throw an assert. If cleared they are treated as no-ops. Defaults to set.
|
||||
If set, unknown instructions throw an assert. If cleared they are treated as no-ops. Defaults to cleared.
|
||||
ThrowOnUnimplemented: optional boolean
|
||||
If set, unimplemented instructions won't throw an assert. If cleared they are treated as no-ops. Defaults to set.
|
||||
If set, unimplemented instructions throw an assert. If cleared they are treated as no-ops. Defaults to cleared.
|
||||
|
||||
================================================================================
|
||||
BreakPoints
|
||||
|
||||
@@ -91,8 +91,8 @@ SoftCpu_c::SoftCpu_c(const Configuration_c &aConfig, const Configuration_c &aDef
|
||||
}
|
||||
}
|
||||
mTimerIncrement = aConfig.get("TimerIncrement", aDefaultConfig.get("TimerIncrement", 1000));
|
||||
mThrowOnUnknown = aConfig.get("ThrowOnUnknown", aDefaultConfig.get("ThrowOnUnknown", true));
|
||||
mThrowOnUnimplemented = aConfig.get("ThrowOnUnimplemented", aDefaultConfig.get("ThrowOnUnimplemented", true));
|
||||
mThrowOnUnknown = aConfig.get("ThrowOnUnknown", aDefaultConfig.get("ThrowOnUnknown", false));
|
||||
mThrowOnUnimplemented = aConfig.get("ThrowOnUnimplemented", aDefaultConfig.get("ThrowOnUnimplemented", false));
|
||||
|
||||
if (mTimerIncrement == 0) mTimerIncrement = 1;
|
||||
InitNotIntFlags();
|
||||
|
||||
Reference in New Issue
Block a user