Improved build scripts

master
Jamie Munro 2 years ago
parent c7358d4097
commit bb1867a7de
  1. 32
      assemble_all.sh
  2. BIN
      bin/big/Fill.hack
  3. BIN
      bin/small/Seven.hack
  4. 0
      build_all.sh
  5. 5
      compile_all.sh
  6. 54925
      src/Pong/Pong.asm.no
  7. 54065
      src/Pong/Pong.pre
  8. 52740
      src/Pong/Pong.pre.o3
  9. 4858
      str/Average.hack
  10. 38
      str/Fill.hack
  11. 20
      str/Mult.hack
  12. 34
      str/No_KBD_Fill.hack
  13. 45326
      str/Pong.hack
  14. 31233
      str/Seven.hack
  15. 38458
      str/Square.hack
  16. 5
      translate_all.sh

@ -0,0 +1,32 @@
#!/bin/bash
#str builds
../tools/assembler src/Fill.asm
../tools/assembler src/Mult.asm
../tools/assembler src/No_KBD_Fill.asm
../tools/assembler src/Seven/Seven.asm
../tools/assembler -s32 src/Average/Average.asm
../tools/assembler -s32 src/Pong/Pong.asm
../tools/assembler -s32 src/Square/Square.asm
cp src/Fill.hack str/
cp src/Mult.hack str/
cp src/No_KBD_Fill.hack str/
cp src/Seven/Seven.hack str/
cp src/Average/Average.hack str/
cp src/Pong/Pong.hack str/
cp src/Square/Square.hack str/
#binary builds
../tools/assembler -b16 src/Fill.asm
../tools/assembler -b16 src/Mult.asm
../tools/assembler -b16 src/No_KBD_Fill.asm
../tools/assembler -b16 src/Seven/Seven.asm
../tools/assembler -b32 src/Average/Average.asm
../tools/assembler -b32 src/Pong/Pong.asm
../tools/assembler -b32 src/Square/Square.asm
cp src/Fill.hack bin/small/
cp src/Mult.hack bin/small/
cp src/No_KBD_Fill.hack bin/small/
cp src/Seven/Seven.hack bin/small/
cp src/Average/Average.hack bin/big/
cp src/Pong/Pong.hack bin/big/
cp src/Square/Square.hack bin/big/

Binary file not shown.

Binary file not shown.

@ -0,0 +1,5 @@
#!/bin/bash
../tools/compiler src/Average/
../tools/compiler src/Pong/
../tools/compiler src/Seven/
../tools/compiler src/Square/

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,38 @@
0100000000000000
1110110000010000
0000000000000000
1110001100001000
0110000000000000
1111110000010000
0000000000010111
1110001100000010
0111111111111111
1110110000010000
0000000000000000
1111110000100000
1110001100001000
0000000000000000
1111110111001000
0110000000000000
1110110000010000
0000000000000000
1111010011010000
0000000000000100
1110001100000101
0000000000000000
1110101010000111
0100000000000000
1110110000010000
0000000000000000
1111010011010000
0000000000000100
1110001100000010
0000000000000000
1111110010001000
0000000000000000
1110110000010000
0000000000000000
1111110000100000
1110001100001000
0000000000000100
1110101010000111

@ -0,0 +1,20 @@
0000000000010000
1110101010001000
0000000000000010
1110101010001000
0000000000010000
1111110000010000
0000000000000001
1111010011010000
0000000000010011
1110001100000011
0000000000010000
1111110111001000
0000000000000000
1111110000010000
0000000000000010
1111000010001000
0000000000000100
1110101010000111
0000000000010011
1110101010000111

@ -0,0 +1,34 @@
0100000000000000
1110110000010000
0000000000000000
1110001100001000
0111111111111111
1110110000010000
0000000000000000
1111110000100000
1110001100001000
0000000000000000
1111110111001000
0110000000000000
1110110000010000
0000000000000000
1111010011010000
0000000000000100
1110001100000101
0000000000000000
1110101010000111
0100000000000000
1110110000010000
0000000000000000
1111010011010000
0000000000000100
1110001100000010
0000000000000000
1111110010001000
0000000000000000
1110110000010000
0000000000000000
1111110000100000
1110001100001000
0000000000000100
1110101010000111

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,5 @@
#!/bin/bash
../tools/translator -o1 -o2 -o3 -o4 -o5 src/Average/
../tools/translator -o1 -o2 -o3 -o4 -o5 src/Pong/
../tools/translator -o1 -o2 -o3 -o4 -o5 src/Seven/
../tools/translator -o1 -o2 -o3 -o4 -o5 src/Square/
Loading…
Cancel
Save