#!/bin/sh
#
# annelint is a shell script that tries to find obvious errors in a PCW16
# program. So far, the only errors it checks for are calls to OS function
# numbers and BIOS function numbers
#


if 
	grep -n "call	os_" *.zsm;
then 
	exit 1
fi
if 
	grep -n "call    os_" *.zsm
then 
	exit 1	
fi


if 
	grep -n "call	bios_" *.zsm;
then 
	exit 1
fi
if 
	grep -n "call    bios_" *.zsm
then 
	exit 1	
fi


