shithub: riscv

ref: d68f4adeba6ef0db7590cf7c4e1518f4d4bdedff
dir: /acme/bin/win/

View raw version
#!/bin/rc
if(~ $#* 0){
	*=(rc -i)
}
/acme/bin/$cputype/winfs $1 >/dev/null >[2=1] || {
	# compat
	exec /acme/bin/$cputype/win $*
	exit
}
echo dump $* > /dev/acme/ctl
</dev/cons >/dev/cons >[2=1] $*
exit ''