diff --git a/CreateMarsJar.bat b/CreateMarsJar.bat index 8c1e512..4c3c04a 100644 --- a/CreateMarsJar.bat +++ b/CreateMarsJar.bat @@ -1 +1 @@ -jar cmf mainclass.txt Mars.jar PseudoOps.txt Config.properties Syscall.properties Settings.properties MARSlicense.txt mainclass.txt MipsXRayOpcode.xml registerDatapath.xml controlDatapath.xml ALUcontrolDatapath.xml CreateMarsJar.bat Mars.java Mars.class docs help images mars \ No newline at end of file +jar cmf mainclass.txt Mars.jar PseudoOps.txt Config.properties Syscall.properties Settings.properties MARSlicense.txt mainclass.txt MipsXRayOpcode.xml registerDatapath.xml controlDatapath.xml ALUcontrolDatapath.xml CreateMarsJar.bat CreateMarsJar.sh Mars.java Mars.class docs help images mars \ No newline at end of file diff --git a/CreateMarsJar.sh b/CreateMarsJar.sh index 8c1e512..0a35332 100755 --- a/CreateMarsJar.sh +++ b/CreateMarsJar.sh @@ -1 +1,2 @@ -jar cmf mainclass.txt Mars.jar PseudoOps.txt Config.properties Syscall.properties Settings.properties MARSlicense.txt mainclass.txt MipsXRayOpcode.xml registerDatapath.xml controlDatapath.xml ALUcontrolDatapath.xml CreateMarsJar.bat Mars.java Mars.class docs help images mars \ No newline at end of file +# If you can't generate due of permissions, do a "chmod +x CreateMarsJar.sh". +jar cmf mainclass.txt Mars.jar PseudoOps.txt Config.properties Syscall.properties Settings.properties MARSlicense.txt mainclass.txt MipsXRayOpcode.xml registerDatapath.xml controlDatapath.xml ALUcontrolDatapath.xml CreateMarsJar.bat CreateMarsJar.sh Mars.java Mars.class docs help images mars \ No newline at end of file diff --git a/META-INF/MANIFEST.MF b/META-INF/MANIFEST.MF deleted file mode 100644 index 339c410..0000000 --- a/META-INF/MANIFEST.MF +++ /dev/null @@ -1,5 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: . -Created-By: 1.6.0_33 (Sun Microsystems Inc.) -Main-Class: Mars - diff --git a/README.md b/README.md index ee748da..2927cef 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,8 @@ I'm not going to accept any pull request. This source code is not maintained by - **Option C**: DOS shell using Java classes. Save the jar file in some folder. Open a DOS shell in that folder. Rename the jar file to "Mars.jar" for convenience. Extract MARS files with the DOS command jar -xf Mars.jar Run MARS with the DOS command java Mars ## How to compile - - **Windows**: execute "CreateMarsJar.bat" file to generate an executable. You have to have - -## To-Do - - ".sh" file to create an executable. + - **Windows**: execute "CreateMarsJar.bat" file to generate an executable. + - **GNU/Linux** and **Mac**: execute the "CreateMarsJar.sh" to generate an executable. If you can't due of permissions, do a "**chmod +x CreateMarsJar.sh**". ## License [MIT][2]. Chech the [LICENSE][3] file. All the credits go to the original developers.