There is already an existing project (albeit defunct) named j6502. Name changed to lm6502.
This commit is contained in:
1 parent
316d0feac6
commit
061eeba85c
8 files changed
+19
-22
No files matched your search
@@ -1,12 +1,12 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.loomcom.j6502</groupId>
|
<groupId>com.loomcom.lm6502</groupId>
|
||||||
<artifactId>j6502</artifactId>
|
<artifactId>lm6502</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>0.1.0</version>
|
<version>snapshot</version>
|
||||||
<name>j6502</name>
|
<name>lm6502</name>
|
||||||
<url>http://www.loomcom.com/j6502</url>
|
<url>http://www.loomcom.com/lm6502</url>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<archive>
|
<archive>
|
||||||
<manifest>
|
<manifest>
|
||||||
<mainClass>com.loomcom.j6502.Simulator</mainClass>
|
<mainClass>com.loomcom.lm6502.Simulator</mainClass>
|
||||||
<packageName>com.loomcom.j6502</packageName>
|
<packageName>com.loomcom.lm6502</packageName>
|
||||||
</manifest>
|
</manifest>
|
||||||
<manifestEntries>
|
<manifestEntries>
|
||||||
<mode>development</mode>
|
<mode>development</mode>
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.loomcom.j6502;
|
package com.loomcom.lm6502;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
+6
-6
@@ -1,13 +1,13 @@
|
|||||||
package com.loomcom.j6502;
|
package com.loomcom.lm6502;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
public class CommandParser {
|
public class CommandParser {
|
||||||
|
|
||||||
private BufferedReader m_in;
|
private BufferedReader m_in;
|
||||||
private BufferedWriter m_out;
|
private BufferedWriter m_out;
|
||||||
private Simulator m_simulator;
|
private Simulator m_simulator;
|
||||||
|
|
||||||
public CommandParser(InputStream in, OutputStream out, Simulator s) {
|
public CommandParser(InputStream in, OutputStream out, Simulator s) {
|
||||||
m_in = new BufferedReader(new InputStreamReader(in));
|
m_in = new BufferedReader(new InputStreamReader(in));
|
||||||
m_out = new BufferedWriter(new OutputStreamWriter(out));
|
m_out = new BufferedWriter(new OutputStreamWriter(out));
|
||||||
@@ -28,7 +28,7 @@ public class CommandParser {
|
|||||||
System.exit(1);
|
System.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dispatch the command.
|
* Dispatch the command.
|
||||||
*/
|
*/
|
||||||
@@ -60,12 +60,12 @@ public class CommandParser {
|
|||||||
m_out.newLine();
|
m_out.newLine();
|
||||||
m_out.flush();
|
m_out.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the line is a quit.
|
* Returns true if the line is a quit.
|
||||||
*/
|
*/
|
||||||
private boolean shouldQuit(String line) {
|
private boolean shouldQuit(String line) {
|
||||||
return (line == null || "q".equals(line.toLowerCase()));
|
return (line == null || "q".equals(line.toLowerCase()));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.loomcom.j6502;
|
package com.loomcom.lm6502;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main 6502 CPU Simulation.
|
* Main 6502 CPU Simulation.
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.loomcom.j6502;
|
package com.loomcom.lm6502;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A memory-mapped IO Device.
|
* A memory-mapped IO Device.
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.loomcom.j6502;
|
package com.loomcom.lm6502;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
+1
-4
@@ -1,7 +1,4 @@
|
|||||||
/**
|
package com.loomcom.lm6502;
|
||||||
*
|
|
||||||
*/
|
|
||||||
package com.loomcom.j6502;
|
|
||||||
|
|
||||||
import junit.framework.*;
|
import junit.framework.*;
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.loomcom.j6502;
|
package com.loomcom.lm6502;
|
||||||
|
|
||||||
import junit.framework.Test;
|
import junit.framework.Test;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
Reference in new issue
Block a user