From a000308104aab27c2dde9a306f1bc654b2db4806 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Wed, 29 Nov 2017 12:30:41 +0100 Subject: first commit --- tools/bin/classes/CPUEmulatorMain.class | Bin 0 -> 1084 bytes tools/bin/classes/HackAssemblerMain.class | Bin 0 -> 1098 bytes tools/bin/classes/HardwareSimulatorMain.class | Bin 0 -> 1182 bytes tools/bin/classes/TextComparer.class | Bin 0 -> 1739 bytes tools/bin/classes/VMEmulatorMain.class | Bin 0 -> 1073 bytes tools/bin/help/asmAbout.html | 96 +++++++++++++++++++++ tools/bin/help/asmUsage.html | 115 ++++++++++++++++++++++++++ tools/bin/help/compiler.txt | 9 ++ tools/bin/help/cpuAbout.html | 96 +++++++++++++++++++++ tools/bin/help/cpuUsage.html | 115 ++++++++++++++++++++++++++ tools/bin/help/hwAbout.html | 96 +++++++++++++++++++++ tools/bin/help/hwUsage.html | 115 ++++++++++++++++++++++++++ tools/bin/help/vmAbout.html | 110 ++++++++++++++++++++++++ tools/bin/help/vmUsage.html | 115 ++++++++++++++++++++++++++ tools/bin/images/arrow2.gif | Bin 0 -> 1073 bytes tools/bin/images/calculator2.gif | Bin 0 -> 302 bytes tools/bin/images/cancel.gif | Bin 0 -> 1133 bytes tools/bin/images/chip.gif | Bin 0 -> 1078 bytes tools/bin/images/clock2.gif | Bin 0 -> 1138 bytes tools/bin/images/equal.gif | Bin 0 -> 1042 bytes tools/bin/images/find.gif | Bin 0 -> 1014 bytes tools/bin/images/hex.gif | Bin 0 -> 1422 bytes tools/bin/images/keyboard.gif | Bin 0 -> 1017 bytes tools/bin/images/ok.gif | Bin 0 -> 988 bytes tools/bin/images/ok2.gif | Bin 0 -> 920 bytes tools/bin/images/open.gif | Bin 0 -> 930 bytes tools/bin/images/open2.gif | Bin 0 -> 969 bytes tools/bin/images/opendoc.gif | Bin 0 -> 1094 bytes tools/bin/images/redflag.gif | Bin 0 -> 1100 bytes tools/bin/images/save.gif | Bin 0 -> 1257 bytes tools/bin/images/scroll.gif | Bin 0 -> 949 bytes tools/bin/images/smallcancel.gif | Bin 0 -> 946 bytes tools/bin/images/smallequal.gif | Bin 0 -> 898 bytes tools/bin/images/smallminus.gif | Bin 0 -> 863 bytes tools/bin/images/smallnew.gif | Bin 0 -> 1000 bytes tools/bin/images/smallok.gif | Bin 0 -> 925 bytes tools/bin/images/smallplus.gif | Bin 0 -> 873 bytes tools/bin/images/vcrfastforward.gif | Bin 0 -> 1122 bytes tools/bin/images/vcrforward.gif | Bin 0 -> 1021 bytes tools/bin/images/vcrrewind.gif | Bin 0 -> 1122 bytes tools/bin/images/vcrstop.gif | Bin 0 -> 972 bytes tools/bin/lib/AssemblerGUI.jar | Bin 0 -> 4470 bytes tools/bin/lib/Compilers.jar | Bin 0 -> 27094 bytes tools/bin/lib/Hack.jar | Bin 0 -> 59364 bytes tools/bin/lib/HackGUI.jar | Bin 0 -> 96666 bytes tools/bin/lib/Simulators.jar | Bin 0 -> 81810 bytes tools/bin/lib/SimulatorsGUI.jar | Bin 0 -> 68492 bytes tools/bin/lib/TranslatorsGUI.jar | Bin 0 -> 13643 bytes tools/bin/scripts/defaultCPU.txt | 3 + tools/bin/scripts/defaultHW.txt | 4 + tools/bin/scripts/defaultVM.txt | 3 + 51 files changed, 877 insertions(+) create mode 100644 tools/bin/classes/CPUEmulatorMain.class create mode 100644 tools/bin/classes/HackAssemblerMain.class create mode 100644 tools/bin/classes/HardwareSimulatorMain.class create mode 100644 tools/bin/classes/TextComparer.class create mode 100644 tools/bin/classes/VMEmulatorMain.class create mode 100644 tools/bin/help/asmAbout.html create mode 100644 tools/bin/help/asmUsage.html create mode 100644 tools/bin/help/compiler.txt create mode 100644 tools/bin/help/cpuAbout.html create mode 100644 tools/bin/help/cpuUsage.html create mode 100644 tools/bin/help/hwAbout.html create mode 100644 tools/bin/help/hwUsage.html create mode 100644 tools/bin/help/vmAbout.html create mode 100644 tools/bin/help/vmUsage.html create mode 100644 tools/bin/images/arrow2.gif create mode 100644 tools/bin/images/calculator2.gif create mode 100644 tools/bin/images/cancel.gif create mode 100644 tools/bin/images/chip.gif create mode 100644 tools/bin/images/clock2.gif create mode 100644 tools/bin/images/equal.gif create mode 100644 tools/bin/images/find.gif create mode 100644 tools/bin/images/hex.gif create mode 100644 tools/bin/images/keyboard.gif create mode 100644 tools/bin/images/ok.gif create mode 100644 tools/bin/images/ok2.gif create mode 100644 tools/bin/images/open.gif create mode 100644 tools/bin/images/open2.gif create mode 100644 tools/bin/images/opendoc.gif create mode 100644 tools/bin/images/redflag.gif create mode 100644 tools/bin/images/save.gif create mode 100644 tools/bin/images/scroll.gif create mode 100644 tools/bin/images/smallcancel.gif create mode 100644 tools/bin/images/smallequal.gif create mode 100644 tools/bin/images/smallminus.gif create mode 100644 tools/bin/images/smallnew.gif create mode 100644 tools/bin/images/smallok.gif create mode 100644 tools/bin/images/smallplus.gif create mode 100644 tools/bin/images/vcrfastforward.gif create mode 100644 tools/bin/images/vcrforward.gif create mode 100644 tools/bin/images/vcrrewind.gif create mode 100644 tools/bin/images/vcrstop.gif create mode 100644 tools/bin/lib/AssemblerGUI.jar create mode 100644 tools/bin/lib/Compilers.jar create mode 100644 tools/bin/lib/Hack.jar create mode 100644 tools/bin/lib/HackGUI.jar create mode 100644 tools/bin/lib/Simulators.jar create mode 100644 tools/bin/lib/SimulatorsGUI.jar create mode 100644 tools/bin/lib/TranslatorsGUI.jar create mode 100644 tools/bin/scripts/defaultCPU.txt create mode 100644 tools/bin/scripts/defaultHW.txt create mode 100644 tools/bin/scripts/defaultVM.txt (limited to 'tools/bin') diff --git a/tools/bin/classes/CPUEmulatorMain.class b/tools/bin/classes/CPUEmulatorMain.class new file mode 100644 index 0000000..2c5b68f Binary files /dev/null and b/tools/bin/classes/CPUEmulatorMain.class differ diff --git a/tools/bin/classes/HackAssemblerMain.class b/tools/bin/classes/HackAssemblerMain.class new file mode 100644 index 0000000..b912391 Binary files /dev/null and b/tools/bin/classes/HackAssemblerMain.class differ diff --git a/tools/bin/classes/HardwareSimulatorMain.class b/tools/bin/classes/HardwareSimulatorMain.class new file mode 100644 index 0000000..5786077 Binary files /dev/null and b/tools/bin/classes/HardwareSimulatorMain.class differ diff --git a/tools/bin/classes/TextComparer.class b/tools/bin/classes/TextComparer.class new file mode 100644 index 0000000..f2e076e Binary files /dev/null and b/tools/bin/classes/TextComparer.class differ diff --git a/tools/bin/classes/VMEmulatorMain.class b/tools/bin/classes/VMEmulatorMain.class new file mode 100644 index 0000000..aa6b7ff Binary files /dev/null and b/tools/bin/classes/VMEmulatorMain.class differ diff --git a/tools/bin/help/asmAbout.html b/tools/bin/help/asmAbout.html new file mode 100644 index 0000000..919e539 --- /dev/null +++ b/tools/bin/help/asmAbout.html @@ -0,0 +1,96 @@ + + + + + + + + +About Assembler + + + + + + + +
+ +

Assembler, Version 2.5

+ +

 

+ +

This program is +part of www.nand2tetris.org

+ +

and +the book "The Elements of Computing Systems"

+ +

by +Nisan and Schocken, MIT Press.

+ +

 

+ +

Software Architects: Yaron Ukrainitz and Yannai A. Gonczarowski

+ +

 

+ +
+ + + + diff --git a/tools/bin/help/asmUsage.html b/tools/bin/help/asmUsage.html new file mode 100644 index 0000000..1e18db2 --- /dev/null +++ b/tools/bin/help/asmUsage.html @@ -0,0 +1,115 @@ + + + + + + + + +Usage instruction and tips can be found in: + + + + + + + +
+ +

Usage instruction and tips can be found in:

+ +

 

+ +

The Assembler Tutorial

+ +

 

+ +

Available in www.nand2tetris.org

+ +

 

+ +

And in relevant book chapters from

+ +

The Elements of Computing Systems,

+ +

by Noam Nisan and Shimon Schocken

+ +

MIT Press

+ +

 

+ +
+ + + + diff --git a/tools/bin/help/compiler.txt b/tools/bin/help/compiler.txt new file mode 100644 index 0000000..07bbba9 --- /dev/null +++ b/tools/bin/help/compiler.txt @@ -0,0 +1,9 @@ +Jack Compiler, Version 2.5 + +This program is part of www.nand2tetris.org +and the book "The Elements of Computing Systems" +by Nisan and Schocken, MIT Press. + +Software Architects: Yaron Ukrainitz and Yannai A. Gonczarowski + +Usage instruction and tips can be found in the relevant book chapters. diff --git a/tools/bin/help/cpuAbout.html b/tools/bin/help/cpuAbout.html new file mode 100644 index 0000000..f806d5e --- /dev/null +++ b/tools/bin/help/cpuAbout.html @@ -0,0 +1,96 @@ + + + + + + + + +About CPU Emulator + + + + + + + +
+ +

CPU Emulator, Version 2.5

+ +

 

+ +

This program is +part of www.nand2tetris.org

+ +

and +the book "The Elements of Computing Systems"

+ +

by +Nisan and Schocken, MIT Press.

+ +

 

+ +

Software Architects: Yaron Ukrainitz and Yannai A. Gonczarowski

+ +

 

+ +
+ + + + diff --git a/tools/bin/help/cpuUsage.html b/tools/bin/help/cpuUsage.html new file mode 100644 index 0000000..7e69482 --- /dev/null +++ b/tools/bin/help/cpuUsage.html @@ -0,0 +1,115 @@ + + + + + + + + +Usage instruction and tips can be found in: + + + + + + + +
+ +

Usage instruction and tips can be found in:

+ +

 

+ +

The CPU Emulator Tutorial

+ +

 

+ +

Available in www.nand2tetris.org

+ +

 

+ +

And in relevant book chapters from

+ +

The Elements of Computing Systems,

+ +

by Noam Nisan and Shimon Schocken

+ +

MIT Press

+ +

 

+ +
+ + + + diff --git a/tools/bin/help/hwAbout.html b/tools/bin/help/hwAbout.html new file mode 100644 index 0000000..67ad89b --- /dev/null +++ b/tools/bin/help/hwAbout.html @@ -0,0 +1,96 @@ + + + + + + + + +About Hardware Simulator + + + + + + + +
+ +

Hardware Simulator, Version 2.5

+ +

 

+ +

This program is +part of www.nand2tetris.org

+ +

and +the book "The Elements of Computing Systems"

+ +

by +Nisan and Schocken, MIT Press.

+ +

 

+ +

Software Architects: Yaron Ukrainitz and Yannai A. Gonczarowski

+ +

 

+ +
+ + + + diff --git a/tools/bin/help/hwUsage.html b/tools/bin/help/hwUsage.html new file mode 100644 index 0000000..4663f53 --- /dev/null +++ b/tools/bin/help/hwUsage.html @@ -0,0 +1,115 @@ + + + + + + + + +Usage instruction and tips can be found in: + + + + + + + +
+ +

Usage instruction and tips can be found in:

+ +

 

+ +

The Hardware Simulator Tutorial

+ +

 

+ +

Available in www.nand2tetris.org

+ +

 

+ +

And in relevant book chapters from

+ +

The Elements of Computing Systems,

+ +

by Noam Nisan and Shimon Schocken

+ +

MIT Press

+ +

 

+ +
+ + + + diff --git a/tools/bin/help/vmAbout.html b/tools/bin/help/vmAbout.html new file mode 100644 index 0000000..c5b296a --- /dev/null +++ b/tools/bin/help/vmAbout.html @@ -0,0 +1,110 @@ + + + + + + + + +About Virtual Machine Emulator + + + + + + + +
+ +

Virtual Machine Emulator, Version 2.5

+ +

 

+ +

This program is +part of www.nand2tetris.org

+ +

and +the book "The Elements of Computing Systems"

+ +

by +Nisan and Schocken, MIT Press.

+ +

 

+ +

Software Architects: Yaron Ukrainitz and Yannai A. +Gonczarowski

+ +

 

+ +
+ + + + diff --git a/tools/bin/help/vmUsage.html b/tools/bin/help/vmUsage.html new file mode 100644 index 0000000..611662b --- /dev/null +++ b/tools/bin/help/vmUsage.html @@ -0,0 +1,115 @@ + + + + + + + + +Usage instruction and tips can be found in: + + + + + + + +
+ +

Usage instruction and tips can be found in:

+ +

 

+ +

The VM Emulator Tutorial

+ +

 

+ +

Available in www.nand2tetris.org

+ +

 

+ +

And in relevant book chapters from

+ +

The Elements of Computing Systems,

+ +

by Noam Nisan and Shimon Schocken

+ +

MIT Press

+ +

 

+ +
+ + + + diff --git a/tools/bin/images/arrow2.gif b/tools/bin/images/arrow2.gif new file mode 100644 index 0000000..c744eab Binary files /dev/null and b/tools/bin/images/arrow2.gif differ diff --git a/tools/bin/images/calculator2.gif b/tools/bin/images/calculator2.gif new file mode 100644 index 0000000..834cb05 Binary files /dev/null and b/tools/bin/images/calculator2.gif differ diff --git a/tools/bin/images/cancel.gif b/tools/bin/images/cancel.gif new file mode 100644 index 0000000..a8509fa Binary files /dev/null and b/tools/bin/images/cancel.gif differ diff --git a/tools/bin/images/chip.gif b/tools/bin/images/chip.gif new file mode 100644 index 0000000..fbfbb02 Binary files /dev/null and b/tools/bin/images/chip.gif differ diff --git a/tools/bin/images/clock2.gif b/tools/bin/images/clock2.gif new file mode 100644 index 0000000..addcf78 Binary files /dev/null and b/tools/bin/images/clock2.gif differ diff --git a/tools/bin/images/equal.gif b/tools/bin/images/equal.gif new file mode 100644 index 0000000..3402556 Binary files /dev/null and b/tools/bin/images/equal.gif differ diff --git a/tools/bin/images/find.gif b/tools/bin/images/find.gif new file mode 100644 index 0000000..e3f4c9d Binary files /dev/null and b/tools/bin/images/find.gif differ diff --git a/tools/bin/images/hex.gif b/tools/bin/images/hex.gif new file mode 100644 index 0000000..68a851b Binary files /dev/null and b/tools/bin/images/hex.gif differ diff --git a/tools/bin/images/keyboard.gif b/tools/bin/images/keyboard.gif new file mode 100644 index 0000000..823aaf8 Binary files /dev/null and b/tools/bin/images/keyboard.gif differ diff --git a/tools/bin/images/ok.gif b/tools/bin/images/ok.gif new file mode 100644 index 0000000..fe6ed8d Binary files /dev/null and b/tools/bin/images/ok.gif differ diff --git a/tools/bin/images/ok2.gif b/tools/bin/images/ok2.gif new file mode 100644 index 0000000..083909b Binary files /dev/null and b/tools/bin/images/ok2.gif differ diff --git a/tools/bin/images/open.gif b/tools/bin/images/open.gif new file mode 100644 index 0000000..f69a024 Binary files /dev/null and b/tools/bin/images/open.gif differ diff --git a/tools/bin/images/open2.gif b/tools/bin/images/open2.gif new file mode 100644 index 0000000..2b94682 Binary files /dev/null and b/tools/bin/images/open2.gif differ diff --git a/tools/bin/images/opendoc.gif b/tools/bin/images/opendoc.gif new file mode 100644 index 0000000..e84f0d6 Binary files /dev/null and b/tools/bin/images/opendoc.gif differ diff --git a/tools/bin/images/redflag.gif b/tools/bin/images/redflag.gif new file mode 100644 index 0000000..1b1a6b1 Binary files /dev/null and b/tools/bin/images/redflag.gif differ diff --git a/tools/bin/images/save.gif b/tools/bin/images/save.gif new file mode 100644 index 0000000..7b5d5b9 Binary files /dev/null and b/tools/bin/images/save.gif differ diff --git a/tools/bin/images/scroll.gif b/tools/bin/images/scroll.gif new file mode 100644 index 0000000..e00a9a1 Binary files /dev/null and b/tools/bin/images/scroll.gif differ diff --git a/tools/bin/images/smallcancel.gif b/tools/bin/images/smallcancel.gif new file mode 100644 index 0000000..1f8cddc Binary files /dev/null and b/tools/bin/images/smallcancel.gif differ diff --git a/tools/bin/images/smallequal.gif b/tools/bin/images/smallequal.gif new file mode 100644 index 0000000..a1db606 Binary files /dev/null and b/tools/bin/images/smallequal.gif differ diff --git a/tools/bin/images/smallminus.gif b/tools/bin/images/smallminus.gif new file mode 100644 index 0000000..06492f5 Binary files /dev/null and b/tools/bin/images/smallminus.gif differ diff --git a/tools/bin/images/smallnew.gif b/tools/bin/images/smallnew.gif new file mode 100644 index 0000000..c3137e5 Binary files /dev/null and b/tools/bin/images/smallnew.gif differ diff --git a/tools/bin/images/smallok.gif b/tools/bin/images/smallok.gif new file mode 100644 index 0000000..9bef2b2 Binary files /dev/null and b/tools/bin/images/smallok.gif differ diff --git a/tools/bin/images/smallplus.gif b/tools/bin/images/smallplus.gif new file mode 100644 index 0000000..9030b0b Binary files /dev/null and b/tools/bin/images/smallplus.gif differ diff --git a/tools/bin/images/vcrfastforward.gif b/tools/bin/images/vcrfastforward.gif new file mode 100644 index 0000000..11c7235 Binary files /dev/null and b/tools/bin/images/vcrfastforward.gif differ diff --git a/tools/bin/images/vcrforward.gif b/tools/bin/images/vcrforward.gif new file mode 100644 index 0000000..b58d649 Binary files /dev/null and b/tools/bin/images/vcrforward.gif differ diff --git a/tools/bin/images/vcrrewind.gif b/tools/bin/images/vcrrewind.gif new file mode 100644 index 0000000..e55b4d6 Binary files /dev/null and b/tools/bin/images/vcrrewind.gif differ diff --git a/tools/bin/images/vcrstop.gif b/tools/bin/images/vcrstop.gif new file mode 100644 index 0000000..abe2082 Binary files /dev/null and b/tools/bin/images/vcrstop.gif differ diff --git a/tools/bin/lib/AssemblerGUI.jar b/tools/bin/lib/AssemblerGUI.jar new file mode 100644 index 0000000..c40d455 Binary files /dev/null and b/tools/bin/lib/AssemblerGUI.jar differ diff --git a/tools/bin/lib/Compilers.jar b/tools/bin/lib/Compilers.jar new file mode 100644 index 0000000..9a78b05 Binary files /dev/null and b/tools/bin/lib/Compilers.jar differ diff --git a/tools/bin/lib/Hack.jar b/tools/bin/lib/Hack.jar new file mode 100644 index 0000000..9d57398 Binary files /dev/null and b/tools/bin/lib/Hack.jar differ diff --git a/tools/bin/lib/HackGUI.jar b/tools/bin/lib/HackGUI.jar new file mode 100644 index 0000000..22d4ff3 Binary files /dev/null and b/tools/bin/lib/HackGUI.jar differ diff --git a/tools/bin/lib/Simulators.jar b/tools/bin/lib/Simulators.jar new file mode 100644 index 0000000..72b5db7 Binary files /dev/null and b/tools/bin/lib/Simulators.jar differ diff --git a/tools/bin/lib/SimulatorsGUI.jar b/tools/bin/lib/SimulatorsGUI.jar new file mode 100644 index 0000000..4d36e64 Binary files /dev/null and b/tools/bin/lib/SimulatorsGUI.jar differ diff --git a/tools/bin/lib/TranslatorsGUI.jar b/tools/bin/lib/TranslatorsGUI.jar new file mode 100644 index 0000000..f29f926 Binary files /dev/null and b/tools/bin/lib/TranslatorsGUI.jar differ diff --git a/tools/bin/scripts/defaultCPU.txt b/tools/bin/scripts/defaultCPU.txt new file mode 100644 index 0000000..43b2720 --- /dev/null +++ b/tools/bin/scripts/defaultCPU.txt @@ -0,0 +1,3 @@ +repeat { + ticktock; +} \ No newline at end of file diff --git a/tools/bin/scripts/defaultHW.txt b/tools/bin/scripts/defaultHW.txt new file mode 100644 index 0000000..bdb2261 --- /dev/null +++ b/tools/bin/scripts/defaultHW.txt @@ -0,0 +1,4 @@ +repeat { + tick, + tock; +} \ No newline at end of file diff --git a/tools/bin/scripts/defaultVM.txt b/tools/bin/scripts/defaultVM.txt new file mode 100644 index 0000000..dbc64c4 --- /dev/null +++ b/tools/bin/scripts/defaultVM.txt @@ -0,0 +1,3 @@ +repeat { + vmstep; +} \ No newline at end of file -- cgit v1.2.3