(self, queues, adapter, monitor, colorswitch)
Initialise colour map.
Initialise colour map.
Initialise colour map .
def __init__(self, queues, adapter, monitor, colorswitch):
        """Initialise colour map."""
        self._has_colorburst = adapter in ('cga', 'cga_old', 'pcjr', 'tandy')
        # pcjr/tandy does not have mode 5
        self._tandy = adapter in ('pcjr', 'tandy')
        self._has_mode_5 = adapter in ('cga', 'cga_old')
        self._low_intensity = False
        # start with the cyan-magenta-white palette
        self._palette_number = 1
        self._mode_5 = False
        _CGAColourMapper.__init__(self, queues, adapter, monitor, colorswitch)
def __init__ ( self , queues , adapter , monitor , colorswitch ) : self . _has_colorburst = adapter in ( 'cga' , 'cga_old' , 'pcjr' , 'tandy' ) # pcjr/tandy does not have mode 5 self . _tandy = adapter in ( 'pcjr' , 'tandy' ) self . _has_mode_5 = adapter in ( 'cga' , 'cga_old' ) self . _low_intensity = False # start with the cyan-magenta-white palette self . _palette_number = 1 self . _mode_5 = False _CGAColourMapper . __init__ ( self , queues , adapter , monitor , colorswitch )