Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #! /bin/sh
  2. #
  3. # File copyright Wade Bowmer, but you're free to use it as you like.
  4. #
  5. # Be sure to have a look at http://yceran.org/eps/
  6. #
  7.  
  8. # Parameter checking CMD=read if [ "`basename $0`" == "epswrite" ] ; then CMD=write ; fi if [ "$1" == "read" ] ; then CMD=read ; fi if [
  9. "$1" == "write" ] ; then CMD=write ; fi
  10.  
  11. # Do the actual work CYL=0 while [ $CYL -lt 80 ] ; do
  12.  
  13. fdrawcmd $CMD 0 $CYL 0 0 2 10 0x1b 0xff length=5120 rate=2 track=$CYL
  14.  
  15. # Second side fdrawcmd $CMD 4 $CYL 1 0 2 10 0x1b 0xff length=5120
  16. rate=2 track=$CYL
  17.  
  18. CYL=$(( $CYL + 1 ))
  19.  
  20. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement