org.razvan.jzx.v48
Class Spectrum

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

public class Spectrum
extends BaseSpectrum

The 48k 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
 
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
 java.lang.String getMode()
          String that describes the type of Spectrum ("48", "128").
 void init(BaseSpectrum spectrum, ILogger logger)
          Allocate the 48k model versions of the memory and I/O 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
 

Constructor Detail

Spectrum

public Spectrum()
Method Detail

init

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

Set the m_tvLines parameter to 312 and m_cyclesLine parameter to 224.

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