public class MachineLaunchConfigType extends LaunchConfigurationDelegate
{
- public static final String PROJECT_ATTR = MograsimActivator.PLUGIN_ID + "project";
- public static final String MPM_FILE_ATTR = MograsimActivator.PLUGIN_ID + "mpm";
+ public static final String PROJECT_ATTR = MograsimActivator.PLUGIN_ID + ".project";
+ public static final String MPM_FILE_ATTR = MograsimActivator.PLUGIN_ID + ".mpm";
+ public static final String INITIAL_RAM_FILE_ATTR = MograsimActivator.PLUGIN_ID + ".initialram";
private final IResourceChangeListener resChangedListener;
throw new CoreException(new Status(IStatus.ERROR, MograsimActivator.PLUGIN_ID, "Unexpected IO exception reading MPM file", e));
}
+ // TODO parse RAM
+
return super.preLaunchCheck(configuration, mode, monitor);
}
throw new CoreException(new Status(IStatus.ERROR, MograsimActivator.PLUGIN_ID, "Unexpected IO exception reading MPM file", e));
}
+ // TODO parse RAM
+
MachineDebugTarget debugTarget = new MachineDebugTarget(new MachineProcess(launch, machineDefinition));
debugTarget.setExecutionSpeed(1);
Machine machine = debugTarget.getMachine();
machine.getMicroInstructionMemory().bind(mpm);
+ // TODO bind RAM
machine.reset();
}