jfrace.device
Class CPMEmulatorConfigurator

java.lang.Object
  |
  +--jfrace.device.CPMEmulatorConfigurator
All Implemented Interfaces:
Configurator

public class CPMEmulatorConfigurator
extends java.lang.Object
implements Configurator

Configurator for the CPMEmulator. It uses a configuration file. Here is an example for such a configuration file.

Author:
Franz-Josef Elmer

Constructor Summary
CPMEmulatorConfigurator()
           
 
Method Summary
 boolean configurate(AddressSpace as, java.lang.String configSource, java.lang.String packagePrefix, java.lang.String[] args)
          Create an instance of CPMEmulator, configurate it and add it (as a device) to the address space.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPMEmulatorConfigurator

public CPMEmulatorConfigurator()
Method Detail

configurate

public boolean configurate(AddressSpace as,
                           java.lang.String configSource,
                           java.lang.String packagePrefix,
                           java.lang.String[] args)
Create an instance of CPMEmulator, configurate it and add it (as a device) to the address space.
Specified by:
configurate in interface Configurator
Parameters:
as - Address space. CPU and RAM are already added.
configSource - Configuration file either an URL or a local file.
packagePrefix - Prefix as set in the emulator config file.
args - The additional command line arguments.