mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Adds a bonus debugging assert. Let's see.
This commit is contained in:
parent
87069da3dd
commit
6000bd3a5e
@ -635,6 +635,7 @@ class ConcreteMachine:
|
||||
const uint8_t permitted_card_mask_ = card_mask_ & 0xf6;
|
||||
if(permitted_card_mask_ & (1 << card_number)) {
|
||||
// TODO: Access an actual card.
|
||||
assert(operation != CPU::WDC65816::BusOperation::ReadOpcode);
|
||||
if(is_read) {
|
||||
*value = 0xff;
|
||||
}
|
||||
@ -733,7 +734,7 @@ class ConcreteMachine:
|
||||
m65816_.get_value_of_register(CPU::WDC65816::Register::DataBank),
|
||||
m65816_.get_value_of_register(CPU::WDC65816::Register::ProgramBank),
|
||||
m65816_.get_value_of_register(CPU::WDC65816::Register::Direct),
|
||||
total
|
||||
static_cast<unsigned long long>(total)
|
||||
);
|
||||
} else printf("\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user