public MemoryForm(PagedMemory pagedMemory, Z80CPU z80) { this.pagedMemory = pagedMemory; this.z80 = z80; display = new SpectrumDisplay(pagedMemory.AllPages[1]); InitializeComponent(); FollowCombo.SelectedIndex = 2; BankCombo.SelectedIndex = 0; RefreshDisplay(); }
public void Reset() { PagedMemory = new PagedMemory(4, 16384, 4); PagedMemory.AllPages[0].ReadOnly = true; }