mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-19 19:16:34 +00:00
Quieten logging.
This commit is contained in:
@@ -188,7 +188,7 @@ public:
|
||||
audio_queue_.flush();
|
||||
}
|
||||
|
||||
Cycles total;
|
||||
// Cycles total;
|
||||
Cycles perform_bus_operation(
|
||||
const CPU::MOS6502::BusOperation operation,
|
||||
const uint16_t address,
|
||||
@@ -212,7 +212,7 @@ public:
|
||||
}
|
||||
|
||||
time_since_audio_update_ += length;
|
||||
total += length;
|
||||
// total += length;
|
||||
|
||||
if(operation == CPU::MOS6502::BusOperation::Ready) {
|
||||
return length;
|
||||
@@ -245,8 +245,8 @@ public:
|
||||
|
||||
static uint8_t previous = 0;
|
||||
if((previous & 0x10) != (*value & 0x10)) {
|
||||
printf("%02x after %d [%02x]\n", *value & 0x10, total.as<int>(), (total.as<int>() / 20) >> 3);
|
||||
total = Cycles(0);
|
||||
// printf("%02x after %d [%02x]\n", *value & 0x10, total.as<int>(), (total.as<int>() / 20) >> 3);
|
||||
// total = Cycles(0);
|
||||
previous = *value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -343,9 +343,10 @@ public:
|
||||
next_character_.advance();
|
||||
next_pixels_.advance();
|
||||
|
||||
// TODO: if x_scroll_ is odd and a 2bpp output is ongoing, load
|
||||
// shifted one to the right. Hacked like this currently:
|
||||
const int adjustment = (x_scroll_ & 1) && (video_mode_ == VideoMode::MulticolourBitmap);
|
||||
const bool is_2bpp =
|
||||
(video_mode_ == VideoMode::MulticolourBitmap) ||
|
||||
(video_mode_ == VideoMode::MulticolourText && output_.attributes<0>() & 0x8);
|
||||
const int adjustment = (x_scroll_ & 1) && is_2bpp;
|
||||
output_.load_pixels(next_pixels_.read(), x_scroll_ + adjustment);
|
||||
}
|
||||
if(increment_video_counter_) {
|
||||
|
||||
Reference in New Issue
Block a user