home .. forth .. nosc mail list archive ..

[colorforth] Obtaining binary block images from boot disk


The file handling for writing blocks to a FAT-formatted floppy is to
cumbersome.  For Linux users I wrote a script (bcp - block copy) that
copies from the bootable floppy the needed blocks to binary images.


-------------------------------------------------------------------------------------
#! /bin/bash
# bcp: copy blocks from bootable colorForth floppy to file
#
if [ $# != 3 ]; then
  echo "Usage: ${0##*/} block count filename"
  exit 1
fi

dd if=/dev/fd0 bs=1024 skip=$1 count=$2 of=$3
-------------------------------------------------------------------------------------

-- 
Bernd
------------------------

To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems   -   List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site   -   http://www.colorforth.com