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))); }
public byte ReadByte(long address) { return(mmu.Read((ushort)address)); }