(
            self, values, data_memory, files, display, keyboard,
            font_8, interpreter, peek_values, syntax
        )
Initialise memory.
Initialise memory.
Initialise memory .
def __init__(
            self, values, data_memory, files, display, keyboard,
            font_8, interpreter, peek_values, syntax
        ):
        """Initialise memory."""
        self._values = values
        # data segment initialised elsewhere
        self._memory = data_memory
        # device access needed for COM and LPT ports
        # files access for BLOAD and BSAVE
        self._files = files
        # screen access needed for video memory
        self._display = display
        # keyboard buffer access
        self.keyboard = keyboard
        # interpreter, for runmode check
        self.interpreter = interpreter
        # 8-pixel font
        self.font_8 = font_8
        # initial DEF SEG
        self.segment = self._memory.data_segment
        # pre-defined PEEK outputs
        self._peek_values = peek_values
        # tandy syntax
        self._syntax = syntax
def __init__ ( self , values , data_memory , files , display , keyboard , font_8 , interpreter , peek_values , syntax ) : self . _values = values # data segment initialised elsewhere self . _memory = data_memory # device access needed for COM and LPT ports # files access for BLOAD and BSAVE self . _files = files # screen access needed for video memory self . _display = display # keyboard buffer access self . keyboard = keyboard # interpreter, for runmode check self . interpreter = interpreter # 8-pixel font self . font_8 = font_8 # initial DEF SEG self . segment = self . _memory . data_segment # pre-defined PEEK outputs self . _peek_values = peek_values # tandy syntax self . _syntax = syntax