1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Improves communication slightly.

This commit is contained in:
Thomas Harte 2019-03-31 22:27:33 -04:00
parent c6f977ed4b
commit a9ceef5c37

View File

@ -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;
if(!instructions[next_instruction].micro_operations) {
// 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;
} 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];