Build reference script
authorAlyssa Rosenzweig <alyssa@backtick.town>
Wed, 22 Jun 2016 17:37:34 +0000 (10:37 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Wed, 22 Jun 2016 17:37:34 +0000 (10:37 -0700)
src/CPU/build-reference.sh [new file with mode: 0644]

diff --git a/src/CPU/build-reference.sh b/src/CPU/build-reference.sh
new file mode 100644 (file)
index 0000000..9280abf
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Original copy of tyhe instruction set
+ORIGIN=http://e-tradition.net/bytes/6502/6502_instruction_set.html
+
+# Fetch reference
+wget ORIGIN
+mv 6502_instuction_set.html bin/reference.html
+
+# trim out plain text -- first 200 lines 
+tail -n +201 bin/reference.html | head -n 54 > bin/reference.txt
This page took 0.024736 seconds and 4 git commands to generate.