mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-09 06:29:33 +00:00
Reduce logging in trustworthy areas.
This commit is contained in:
parent
952451c9b8
commit
7118a515e0
@ -10,7 +10,10 @@
|
|||||||
|
|
||||||
#include "Minterms.hpp"
|
#include "Minterms.hpp"
|
||||||
|
|
||||||
//#define NDEBUG
|
#ifndef NDEBUG
|
||||||
|
#define NDEBUG
|
||||||
|
#endif
|
||||||
|
|
||||||
#define LOG_PREFIX "[Blitter] "
|
#define LOG_PREFIX "[Blitter] "
|
||||||
#include "../../Outputs/Log.hpp"
|
#include "../../Outputs/Log.hpp"
|
||||||
|
|
||||||
|
@ -673,12 +673,10 @@ void Chipset::perform(const CPU::MC68000::Microcycle &cycle) {
|
|||||||
|
|
||||||
// DMA management.
|
// DMA management.
|
||||||
case Read(0x002):
|
case Read(0x002):
|
||||||
LOG("DMA control and status read");
|
|
||||||
cycle.set_value16(dma_control_ | blitter_.get_status());
|
cycle.set_value16(dma_control_ | blitter_.get_status());
|
||||||
break;
|
break;
|
||||||
case Write(0x096):
|
case Write(0x096):
|
||||||
ApplySetClear(dma_control_);
|
ApplySetClear(dma_control_);
|
||||||
LOG("DMA control modified by " << PADHEX(4) << cycle.value16() << "; is now " << std::bitset<16>{dma_control_});
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Interrupts.
|
// Interrupts.
|
||||||
@ -1126,7 +1124,6 @@ void Chipset::CIAAHandler::set_port_output(MOS::MOS6526::Port port, uint8_t valu
|
|||||||
// b1: /LED [output]
|
// b1: /LED [output]
|
||||||
// b0: OVL [output]
|
// b0: OVL [output]
|
||||||
|
|
||||||
LOG("LED & memory map: " << PADHEX(2) << +value);
|
|
||||||
if(observer_) {
|
if(observer_) {
|
||||||
observer_->set_led_status(led_name, !(value & 2));
|
observer_->set_led_status(led_name, !(value & 2));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user