(self, colour_on)
Set the NTSC colorburst bit.
Set the NTSC colorburst bit.
Set the NTSC colorburst bit .
def set_colorburst(self, colour_on):
        """Set the NTSC colorburst bit."""
        # On a composite monitor with CGA adapter (not EGA, VGA):
        # - on SCREEN 2 this enables artifacting
        # - on SCREEN 1 and 0 this switches between colour and greyscale
        # On an RGB monitor:
        # - on SCREEN 1 this switches between mode 4/5 palettes (RGB)
        # - ignored on other screens
        if self._has_colorburst:
            self._mono = self._force_mono or (not colour_on and not self._force_colour)
        # reset the palette to reflect the new mono situation, submit to interface
        self.reset()
def set_colorburst ( self , colour_on ) : # On a composite monitor with CGA adapter (not EGA, VGA): # - on SCREEN 2 this enables artifacting # - on SCREEN 1 and 0 this switches between colour and greyscale # On an RGB monitor: # - on SCREEN 1 this switches between mode 4/5 palettes (RGB) # - ignored on other screens if self . _has_colorburst : self . _mono = self . _force_mono or ( not colour_on and not self . _force_colour ) # reset the palette to reflect the new mono situation, submit to interface self . reset ( )