public Dmgcpu(Cartridge c) {
		cartridge = c;
		gameLink = null;
		
		if (gameLink != null){
			gameLink.setDmgcpu(this);
		}
		
		graphicsChip = new TileBasedGraphicsChip(this);
		checkEnableGbc();

		soundChip = new SoundChip();

		ioHandler = new IoHandler(this);
		
		reset();
	}