org.razvan.jzx.v128
Class Spectrum

java.lang.Object
  extended by org.razvan.jzx.BaseComponent
      extended by org.razvan.jzx.BaseSpectrum
          extended by org.razvan.jzx.v128.Spectrum

public class Spectrum
extends BaseSpectrum

The 128k model specialization of the BaseSpectrum class.

Author:
Razvan Surdulescu (c) 2001 - 2006
You may use and distribute this software for free provided you include this copyright notice. You may not sell this software, use my name for publicity reasons or modify the code without permission from me.

Field Summary
protected  AY8912 m_ay8912
           
 
Fields inherited from class org.razvan.jzx.BaseSpectrum
FREQUENCY_MS, ISSUE_2, ISSUE_3, m_clock, m_container, m_cpu, m_cyclesLine, m_frequency, m_io, m_issue, m_keyboard, m_memory, m_scale, m_screen, m_status, m_tvLines, m_vline
 
Fields inherited from class org.razvan.jzx.BaseComponent
m_logger, m_spectrum
 
Constructor Summary
Spectrum()
           
 
Method Summary
 AY8912 getAY8912()
           
 java.lang.String getMode()
          String that describes the type of Spectrum ("48", "128").
 void init(BaseSpectrum spectrum, ILogger logger)
          Allocate the 128k model versions of the memory, I/O and sound objects.
 
Methods inherited from class org.razvan.jzx.BaseSpectrum
emulate, getContainer, getCPU, getFrequency, getIO, getIssue, getKeyboard, getMemory, getScale, getScreen, getVline, load, pause, reset, setFrequency, setScale, stop, terminate, unpause, update
 
Methods inherited from class org.razvan.jzx.BaseComponent
getSpectrum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ay8912

protected AY8912 m_ay8912
Constructor Detail

Spectrum

public Spectrum()
Method Detail

getAY8912

public AY8912 getAY8912()

init

public void init(BaseSpectrum spectrum,
                 ILogger logger)
Allocate the 128k model versions of the memory, I/O and sound objects.

Set the m_tvLines parameter to 311 and m_cyclesLine parameter to 228.

Overrides:
init in class BaseSpectrum
See Also:
BaseSpectrum.m_tvLines, BaseSpectrum.m_cyclesLine

getMode

public java.lang.String getMode()
Description copied from class: BaseSpectrum
String that describes the type of Spectrum ("48", "128").

Specified by:
getMode in class BaseSpectrum