diff --git a/verilator/sim.vcxproj b/verilator/sim.vcxproj
index 71029a2..8f813ef 100644
--- a/verilator/sim.vcxproj
+++ b/verilator/sim.vcxproj
@@ -73,9 +73,8 @@
-
-
-
+
+
diff --git a/verilator/sim.vcxproj.filters b/verilator/sim.vcxproj.filters
index 422d3a1..bd7aaa8 100644
--- a/verilator/sim.vcxproj.filters
+++ b/verilator/sim.vcxproj.filters
@@ -18,13 +18,10 @@
Source Files
-
+
Source Files
-
- Source Files
-
-
+
Source Files
@@ -63,7 +60,7 @@
Source Files
-
+
Source Files
diff --git a/verilator/verilate.sh b/verilator/verilate.sh
index 1280203..3f48b35 100755
--- a/verilator/verilate.sh
+++ b/verilator/verilate.sh
@@ -1,11 +1,6 @@
-if [[ $OSTYPE == 'darwin'* ]]; then
- exit;
-fi
-
-if [[ $OSTYPE == 'linux'* ]]; then
- exit;
-fi
+set -e
+if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null ; then
verilator -cc -exe --public --compiler msvc +define+SIMULATION=1 --converge-limit 2000 --top-module emu sim.v \
../rtl/dpram.v \
../rtl/spram.v \
@@ -18,3 +13,8 @@ verilator -cc -exe --public --compiler msvc +define+SIMULATION=1 --converge-limi
../rtl/tv80/tv80_reg.v \
../rtl/tv80/tv80n.v \
../rtl/tv80/tv80s.v
+ else
+ echo "not running on windows"
+fi
+
+