mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Makes a slightly futile attempt to resolve Heisen-failures.
This commit is contained in:
parent
df2ce8ca6f
commit
5089fcd2f6
@ -29,6 +29,11 @@ class RAM68000: public CPU::MC68000::BusHandler {
|
|||||||
ram_[1] = 0x206; // Supervisor stack pointer.
|
ram_[1] = 0x206; // Supervisor stack pointer.
|
||||||
ram_[2] = 0;
|
ram_[2] = 0;
|
||||||
ram_[3] = 0x1000; // Initial PC.
|
ram_[3] = 0x1000; // Initial PC.
|
||||||
|
|
||||||
|
// Ensure the condition codes start unset.
|
||||||
|
auto state = get_processor_state();
|
||||||
|
state.status &= ~Flag::ConditionCodes;
|
||||||
|
set_processor_state(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_program(const std::vector<uint16_t> &program) {
|
void set_program(const std::vector<uint16_t> &program) {
|
||||||
|
Loading…
Reference in New Issue
Block a user