system/ppu/index.js
function( value ) {
		this.output.setGrayscale( value & 0x1 );
		this.output.setIntensity( value & 0x20, value & 0x40, value & 0x80 );

		this.sprites.toggle( value & 0x10 );
		this.sprites.toggleLeft( value & 0x4 );

		this.background.toggle( value & 0x8 );
		this.background.toggleLeft( value & 0x2 );

		this.enabled = ( this.sprites.enabled || this.background.enabled );
	}
function( value ) {
		this.output.setGrayscale( value & 0x1 );
		this.output.setIntensity( value & 0x20, value & 0x40, value & 0x80 );

		this.sprites.toggle( value & 0x10 );
		this.sprites.toggleLeft( value & 0x4 );

		this.background.toggle( value & 0x8 );
		this.background.toggleLeft( value & 0x2 );

		this.enabled = ( this.sprites.enabled || this.background.enabled );
	}
function ( value ) { this . output . setGrayscale ( value & 0x1 ) ; this . output . setIntensity ( value & 0x20 , value & 0x40 , value & 0x80 ) ; this . sprites . toggle ( value & 0x10 ) ; this . sprites . toggleLeft ( value & 0x4 ) ; this . background . toggle ( value & 0x8 ) ; this . background . toggleLeft ( value & 0x2 ) ; this . enabled = ( this . sprites . enabled || this . background . enabled ) ; }
Set various flags to control video output behavior.
Set various flags to control video output behavior .