Beispiel #1
0
 public handler_entry_write_delegate(address_space space, object /*WRITE*/ delegate_) : base(space, 0)
 {
     if (delegate_ is write8_delegate)
     {
         m_delegate8 = (write8_delegate)delegate_;
     }
     else if (delegate_ is write8sm_delegate)
     {
         m_delegate8sm = (write8sm_delegate)delegate_;
     }
     else if (delegate_ is write8smo_delegate)
     {
         m_delegate8smo = (write8smo_delegate)delegate_;
     }
     else if (delegate_ is write16_delegate)
     {
         m_delegate16 = (write16_delegate)delegate_;
     }
     else if (delegate_ is write16s_delegate)
     {
         m_delegate16s = (write16s_delegate)delegate_;
     }
     else if (delegate_ is write16smo_delegate)
     {
         m_delegate16smo = (write16smo_delegate)delegate_;
     }
     else
     {
         throw new emu_unimplemented();
     }
 }
Beispiel #2
0
 void write_impl(write16smo_delegate delegate_, offs_t offset, uX data, uX mem_mask)
 {
     m_delegate16smo(data.u16);  //m_delegate(data);
 }