(self, args)
DEF SEG: Set segment.
DEF SEG: Set segment.
DEF SEG : Set segment .
def def_seg_(self, args):
        """DEF SEG: Set segment."""
        segment, = args
        # &hb800: text screen buffer; &h13d: data segment
        if segment is None:
            self.segment = self._memory.data_segment
        else:
            # def_seg() accepts signed values
            self.segment = values.to_int(segment, unsigned=True)
            if self.segment < 0:
                self.segment += 0x10000
def def_seg_ ( self , args ) : segment , = args # &hb800: text screen buffer; &h13d: data segment if segment is None : self . segment = self . _memory . data_segment else : # def_seg() accepts signed values self . segment = values . to_int ( segment , unsigned = True ) if self . segment < 0 : self . segment += 0x10000