Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/sh
- #
- # File copyright Wade Bowmer, but you're free to use it as you like.
- #
- # Be sure to have a look at http://yceran.org/eps/
- #
- # Parameter checking CMD=read if [ "`basename $0`" == "epswrite" ] ; then CMD=write ; fi if [ "$1" == "read" ] ; then CMD=read ; fi if [
- "$1" == "write" ] ; then CMD=write ; fi
- # Do the actual work CYL=0 while [ $CYL -lt 80 ] ; do
- fdrawcmd $CMD 0 $CYL 0 0 2 10 0x1b 0xff length=5120 rate=2 track=$CYL
- # Second side fdrawcmd $CMD 4 $CYL 1 0 2 10 0x1b 0xff length=5120
- rate=2 track=$CYL
- CYL=$(( $CYL + 1 ))
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement