summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-05-28 12:09:03 +0100
committerfishsoupisgood <github@madingley.org>2019-05-28 12:09:03 +0100
commitee33718ab57c5a041b55c70c0ae7e046b3d1592b (patch)
tree118fa6880cb9f8d592516c5b40325f9b7448d0af /tools
parent8110dec1577d9a9002119c15467d71d8a1f51bc8 (diff)
downloadwristapps-ee33718ab57c5a041b55c70c0ae7e046b3d1592b.tar.gz
wristapps-ee33718ab57c5a041b55c70c0ae7e046b3d1592b.tar.bz2
wristapps-ee33718ab57c5a041b55c70c0ae7e046b3d1592b.zip
general tidy up add all the timex apps and the toebes apps and numpad
Diffstat (limited to 'tools')
-rwxr-xr-xtools/zap2app14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/zap2app b/tools/zap2app
new file mode 100755
index 0000000..d57dc8b
--- /dev/null
+++ b/tools/zap2app
@@ -0,0 +1,14 @@
+#!/usr/bin/env perl
+
+open ZAP, "<", $ARGV[0];
+open APP, ">", $ARGV[1];
+
+while (<ZAP>) {
+ chop; chop; chop;
+ last if /^Timex Data Link 150 Watch$/;
+}
+while (<ZAP>) {
+ chop; chop; chop;
+ print APP pack 'H*', $_;
+ last;
+}