Example #1
0
 def cc_r16(self, addr):
   log_hw.warn("Custom Chip read word @%06x",addr)
   if self.mode == self.MODE_ABORT:
     self.raw_mem.set_all_to_end()
   return 0
Example #2
0
 def cc_w16(self, addr, val):
   log_hw.warn("Custom Chip write word @%06x: %04x",addr,val)
   if self.mode == self.MODE_ABORT:
     self.raw_mem.set_all_to_end()
Example #3
0
 def cia_w8(self, addr, val):
   log_hw.warn("CIA write byte @%06x: %02x",addr,val)
   if self.mode == self.MODE_ABORT:
     self.raw_mem.set_all_to_end()
Example #4
0
 def cia_r8(self, addr):
   log_hw.warn("CIA read byte @%06x",addr)
   if self.mode == self.MODE_ABORT:
     self.raw_mem.set_all_to_end()
   return 0
Example #5
0
 def cc_r16(self, addr):
     log_hw.warn("Custom Chip read word @%06x", addr)
     if self.mode == self.MODE_ABORT:
         self.raw_mem.set_all_to_end()
     return 0
Example #6
0
 def cia_w8(self, addr, val):
     log_hw.warn("CIA write byte @%06x: %02x", addr, val)
     if self.mode == self.MODE_ABORT:
         self.raw_mem.set_all_to_end()
Example #7
0
 def cia_r8(self, addr):
     log_hw.warn("CIA read byte @%06x", addr)
     if self.mode == self.MODE_ABORT:
         self.raw_mem.set_all_to_end()
     return 0