From: Alan Cox Date: Fri, 15 Feb 2019 21:40:59 +0000 (+0000) Subject: check8080: warn if we accidentally suck in stuff we don't save when switching X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=718f7f26add5baf164e6bd38396e3f854535837b;p=FUZIX.git check8080: warn if we accidentally suck in stuff we don't save when switching --- diff --git a/Kernel/tools/check8080 b/Kernel/tools/check8080 new file mode 100755 index 00000000..096919af --- /dev/null +++ b/Kernel/tools/check8080 @@ -0,0 +1,7 @@ +#!/bin/sh +if anm $1 |egrep ".fra|block1|block2|block3|.dvi4|.mli4" +then + echo "***WARNING: Kernel is using unsafe operations" + exit 1 +fi +exit 0