/* IVdpV9938.java (c) 2011-2013 Edward Swartz All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html */ package v9t9.common.hardware; /** * The V9938 provides a "blink" register (VR13) which controls an alternating * pattern that affects the video this way: * * * in text 2 mode, this register tells which characters whose patterns are * marked in the color table will take on the color in VR12 instead of * VR7. * * * in graphics 4-7 modes, this register flips graphics pages. * @author ejs * */ public interface IVdpV9938 extends IVdpTMS9918A { /** Get time when blinking/flipping is ON in ms */ int getBlinkOnPeriod(); /** Get time when blinking/flipping is OFF in ms */ int getBlinkOffPeriod(); /** Get total time for blink on/off period in ms */ int getBlinkPeriod(); interface IAccelListener { void accelCommandStarted(); void accelCommandWork(); void accelCommandEnded(); } void addAccelListener(IAccelListener listener); void removeAccelListener(IAccelListener listener); boolean isAccelActive(); }