public void reset() {
		System.out.println("Hardware reset");
		for (int r = 0; r < 0xFF; r++) {
			ioWrite(r, (short) 0x00);
		}
		ioWrite(0x40, (short) 0x91);
		ioWrite(0x0F, (short) 0x01);
		hdmaRunning = false;
	}