]> localhost Git - WindEmu.git/commitdiff
Disable a bunch of logging for now
authorGeorge Wright <gw@gwright.org.uk>
Sat, 7 Dec 2024 21:15:46 +0000 (13:15 -0800)
committerGeorge Wright <gw@gwright.org.uk>
Sat, 7 Dec 2024 21:15:46 +0000 (13:15 -0800)
WindCore/sa1100.cpp
WindCore/sa1100/interrupt_controller.cpp
WindCore/sa1100/lcd_controller.cpp
WindCore/sa1100/lcd_controller.h

index 3efd6ee8bffed34ee0d142799ac8ad242bdda2e1..1f7d235c4616a52f58045d0d6fe9952688bd33fe 100644 (file)
@@ -71,7 +71,7 @@ uint32_t Emulator::readPCM32(uint32_t physAddr) {
        switch (region) {
        case 0x8005:
                // Serial 3
-               printf("Getting serial 3 at 0x%08x\n", physAddr);
+               //printf("Getting serial 3 at 0x%08x\n", physAddr);
                return serial3->get_data(physAddr);
        default:
                printf("Read PCM32 at 0x%08x\n", physAddr);
@@ -85,7 +85,7 @@ bool Emulator::writePCM32(uint32_t value, uint32_t physAddr) {
        switch (region) {
        case 0x8005:
                // Serial 3
-               printf("Serial 3 write 0x%08x at 0x%08x\n", value, physAddr);
+               //printf("Serial 3 write 0x%08x at 0x%08x\n", value, physAddr);
                serial3->put_data(physAddr, value);
                return true;
        default:
@@ -187,7 +187,7 @@ uint8_t Emulator::readPhysical8(uint32_t physAddr) {
 
        switch (region) {
        case 0x00:
-               printf("Read8 ROM %02x from %08x\n", ROM[physAddr & 0xFFFFFF], physAddr);
+               //printf("Read8 ROM %02x from %08x\n", ROM[physAddr & 0xFFFFFF], physAddr);
                return ROM[physAddr & 0xFFFFFF];
        case 0x10:
                // Should not reach here
@@ -364,7 +364,7 @@ uint32_t Emulator::readPhysical32(uint32_t physAddr) {
        switch (region) {
        case 0x00:
                LOAD_32LE(result, physAddr & 0xFFFFFF, ROM);
-               printf("Reading %08x from %08x\n", result, physAddr);
+               //printf("Reading %08x from %08x\n", result, physAddr);
                break;
        case 0x10:
                // Should not reach here
index 7f0b6d0014218e42f462fcd7538f9d7ba48ed5ff..c375be422c4deb964fa71061f54ae5060f079bb2 100644 (file)
@@ -316,6 +316,7 @@ namespace SA1100 {
       
       if (0 == lcd_status)
       {
+        //printf("LCD: clearing LCD service bit\n");
         m_ICPR &= ~LCD_SERVICE_BIT_MASK;
       }
       else
@@ -405,6 +406,7 @@ namespace SA1100 {
       
       m_ICIP = temp & (~m_ICLR);
       m_ICFP = temp & m_ICLR;
+      //printf("Have interrupt ICIP:%08x ICFP:%08x ICMR:%08x\n", m_ICIP, m_ICFP, m_ICMR);
       
     //   if (true == mp_core->is_in_idle_mode())
     //   {
index 3981889dac106406b5f790735d8c9ecb2420543f..7ff2849b0ed83c8e0ddf38cf5fc87421cb2636a7 100644 (file)
@@ -35,7 +35,7 @@ void LCDController::reset() {
 }
 
 uint32_t LCDController::get_data32(uint32_t const address) const {
-    std::cout << "LCD: get value at " << std::hex << address << std::endl;
+    //std::cout << "LCD: get value at " << std::hex << address << std::endl;
 
     switch (address) {
     case LCCR0: return m_LCCR0;
index e8f0c0f46071c24f0edb19146e57574bcea2e393..0ae04c75c40d8f99de7f7f0cb5c76d988d24f230 100644 (file)
@@ -173,6 +173,7 @@ public:
       // that is set after the contents of the DMA base address register 1
       // are transferred to the DMA current Address register 1
       m_LCSR |= LCSR_BAU;
+      //printf("LCD: finish one frame\n");
     }
     
     inline uint32_t get_interrupt_status() const {