org.razvan.jzx.v128
Class AY8912

java.lang.Object
  extended by org.razvan.jzx.BaseComponent
      extended by org.razvan.jzx.v128.AY8912

public class AY8912
extends BaseComponent

The AY-3-8912 sound chip emulator. http://www.howell1964.freeserve.co.uk/parts/ay3891x_datasheet.htm

Author:
Razvan Surdulescu (c) 2001 - 2006, Erik Dujis (c) 2001, Emerson Josť Silveira da Costa ("Ensjo") (c) 2005
You may use and distribute this software for free provided you include this copyright notice. You may not sell this software, use the author names for publicity reasons or modify the code without permission from the authors.

Field Summary
 
Fields inherited from class org.razvan.jzx.BaseComponent
m_logger, m_spectrum
 
Constructor Summary
AY8912()
           
 
Method Summary
 int getSound(int tStates)
           
 void load(BaseLoader loader)
          Load previously saved state into the component.
 void out8(int port16, int val8)
           
 void reset()
          Reset the state of the component.
 
Methods inherited from class org.razvan.jzx.BaseComponent
getSpectrum, init, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AY8912

public AY8912()
Method Detail

reset

public void reset()
Description copied from class: BaseComponent
Reset the state of the component.

This method can be called as many times as you wish in between a call to init() and a call to terminate().

Specified by:
reset in class BaseComponent

load

public void load(BaseLoader loader)
Description copied from class: BaseComponent
Load previously saved state into the component.

This method can be called as many times as you wish in between a call to init() and a call to terminate(). This method is undone by a call to reset().

Specified by:
load in class BaseComponent

out8

public void out8(int port16,
                 int val8)

getSound

public int getSound(int tStates)