 of [cpu1])
	{
		c.tabIndex = 0;
		c.dataset.active = "false";
		c.dataset.isPanning = "false";
		viewport_reset_cpu1();
		console.log(`initialized cpu cpu1 ${cpu1}`);
	}

	function viewport_reset_cpu1() {
		const c = cpu1;
		c.dataset.offsetX = 0;
		c.dataset.offsetY = 0;
		c.dataset.scale = 1;
		c.dataset.brightness = 1;
		c.dataset.contrast = 100;
	}

	function viewport_offset_cpu1(dx, dy) {
		const c = cpu1;
		//console.log(`dxy ${dx} ${dy}`);
		c.dataset.offsetX = Number(c.dataset.offsetX) + Number(dx)