diff --git a/.classpath b/.classpath
deleted file mode 100644
index 5d4c83a..0000000
--- a/.classpath
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pom.xml b/pom.xml
index 62dff5c..2b59341 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,10 +20,6 @@
jitpack.io
https://jitpack.io
-
- github
- https://maven.pkg.github.com/innot/*
-
@@ -114,9 +110,9 @@
provided
- de.innot.sim6502
+ com.github.innot
Sim6502Java
- 0.9.3
+ 0.9.2
diff --git a/src/main/java/de/neemann/digital/plugin/MOS6502.java b/src/main/java/de/neemann/digital/plugin/MOS6502.java
index 8ed75d9..bfb8b0b 100644
--- a/src/main/java/de/neemann/digital/plugin/MOS6502.java
+++ b/src/main/java/de/neemann/digital/plugin/MOS6502.java
@@ -168,8 +168,8 @@ public void writeOutputs() throws NodeException {
syncOut.setBool(sim_output.sync);
rwOut.setBool(sim_output.rw);
- // Set the data bus to output when R/W is low. Otherwise, set to high-Z.
- if (!sim_output.rw) {
+ // Set the data bus to output when R/W is low and PHI2 is high. Otherwise, set to high-Z.
+ if (!sim_output.rw && last_clock) {
dataOut.setValue(sim_output.data);
} else {
dataOut.setToHighZ();