public MemoryCore() { _variablePointerDictionary = new Dictionary <string, IntPtr16>(); _currentVariablePointer = new IntPtr16(VARIABLE_BASE_SEGMENT, 0); _currentRealModePointer = new IntPtr16(REALMODE_BASE_SEGMENT, 0); _bigMemoryBlocks = new PointerDictionary <Dictionary <ushort, IntPtr16> >(); //Add Segment 0 by default, stack segment AddSegment(0); }
public MemoryCore() { _memorySegments = new Dictionary <ushort, byte[]>(); _segments = new Dictionary <ushort, Segment>(); _decompiledSegments = new Dictionary <ushort, Dictionary <ushort, Instruction> >(); _variablePointerDictionary = new Dictionary <string, IntPtr16>(); _currentVariablePointer = new IntPtr16(VARIABLE_BASE, 0); _bigMemoryBlocks = new PointerDictionary <Dictionary <ushort, IntPtr16> >(); //Add Segment 0 by default, stack segment AddSegment(0); }