(self, args)
POKE: Set the value at an emulated memory location.
POKE: Set the value at an emulated memory location.
POKE : Set the value at an emulated memory location .
def poke_(self, args):
        """POKE: Set the value at an emulated memory location."""
        addr = values.to_int(next(args), unsigned=True)
        if self._memory.program.protected and not self.interpreter.run_mode:
            raise error.BASICError(error.IFC)
        val, = args
        val = values.to_int(val)
        error.range_check(0, 255, val)
        if addr < 0:
            addr += 0x10000
        addr += self.segment * 0x10
        self._set_memory(addr, val)
def poke_ ( self , args ) : addr = values . to_int ( next ( args ) , unsigned = True ) if self . _memory . program . protected and not self . interpreter . run_mode : raise error . BASICError ( error . IFC ) val , = args val = values . to_int ( val ) error . range_check ( 0 , 255 , val ) if addr < 0 : addr += 0x10000 addr += self . segment * 0x10 self . _set_memory ( addr , val )