mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Improves communication slightly.
This commit is contained in:
parent
c6f977ed4b
commit
a9ceef5c37
@ -48,10 +48,10 @@ template <class T, bool dtack_is_implicit> void Processor<T, dtack_is_implicit>:
|
|||||||
const uint16_t next_instruction = prefetch_queue_.halves.high.full;
|
const uint16_t next_instruction = prefetch_queue_.halves.high.full;
|
||||||
if(!instructions[next_instruction].micro_operations) {
|
if(!instructions[next_instruction].micro_operations) {
|
||||||
// TODO: once all instructions are implemnted, this should be an instruction error.
|
// TODO: once all instructions are implemnted, this should be an instruction error.
|
||||||
std::cerr << "68000 Abilities exhausted; can't manage instruction " << std::hex << next_instruction << std::endl;
|
std::cerr << "68000 Abilities exhausted; can't manage instruction " << std::hex << next_instruction << " from " << (program_counter_.full - 4) << std::endl;
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
std::cout << "Performing " << std::hex << next_instruction << std::endl;
|
std::cout << "Performing " << std::hex << next_instruction << " from " << (program_counter_.full - 4) << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
active_program_ = &instructions[next_instruction];
|
active_program_ = &instructions[next_instruction];
|
||||||
|
Loading…
Reference in New Issue
Block a user