OSDN Git Service

[VM][I8259] Add debug message to change ICW2.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 22 May 2019 13:52:06 +0000 (22:52 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Wed, 22 May 2019 13:52:06 +0000 (22:52 +0900)
source/src/vm/i8259.cpp

index 6ce880a..6d477eb 100644 (file)
@@ -43,6 +43,7 @@ void I8259::write_io8(uint32_t addr, uint32_t data)
                        // icw2
                        pic[c].icw2 = data;
                        pic[c].icw2_r = 0;
+                       out_debug_log("Set ICW2 to %02X\n", data);
                } else if(pic[c].icw3_r) {
                        // icw3
                        pic[c].icw3 = data;