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
-1
@@ -1,4 +1,4 @@
|
||||
package com.loomcom.j6502;
|
||||
package com.loomcom.lm6502;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
+6
-6
@@ -1,13 +1,13 @@
|
||||
package com.loomcom.j6502;
|
||||
package com.loomcom.lm6502;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
public class CommandParser {
|
||||
|
||||
|
||||
private BufferedReader m_in;
|
||||
private BufferedWriter m_out;
|
||||
private Simulator m_simulator;
|
||||
|
||||
|
||||
public CommandParser(InputStream in, OutputStream out, Simulator s) {
|
||||
m_in = new BufferedReader(new InputStreamReader(in));
|
||||
m_out = new BufferedWriter(new OutputStreamWriter(out));
|
||||
@@ -28,7 +28,7 @@ public class CommandParser {
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Dispatch the command.
|
||||
*/
|
||||
@@ -60,12 +60,12 @@ public class CommandParser {
|
||||
m_out.newLine();
|
||||
m_out.flush();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns true if the line is a quit.
|
||||
*/
|
||||
private boolean shouldQuit(String line) {
|
||||
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.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.loomcom.j6502;
|
||||
package com.loomcom.lm6502;
|
||||
|
||||
/**
|
||||
* A memory-mapped IO Device.
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.loomcom.j6502;
|
||||
package com.loomcom.lm6502;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
Reference in new issue
Block a user