示例#1
0
        private void Stack_RetrieveVirtualItem(object sender, RetrieveVirtualItemEventArgs e)
        {
            ushort i = (ushort)((32767 - e.ItemIndex) * 2);

            e.Item = new ListViewItem(String.Format("{0:X4}: {1:X2}{2:X2}", i, Memory.Read((ushort)(i + 1)), Memory.Read(i)));
        }
示例#2
0
 public byte ReadByte(long address)
 {
     return(mmu.Read((ushort)address));
 }