OS4 DepotLogo by Nickman 
(anonymous IP: 54.237.213.31,258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (322)
   o Datatype (47)
   o Demo (176)
   o Development (487)
   o Document (19)
   o Driver (82)
   o Emulation (131)
   o Game (789)
   o Graphics (424)
   o Library (75)
   o Network (186)
   o Office (50)
   o Utility (730)
      o Archive (60)
      o Benchmark (12)
      o Communication (3)
      o Docky (18)
      o Filetool (119)
      o Hardware (19)
      o Misc (137)
      o Print (7)
      o Scientific (30)
      o Script (21)
      o Shell (88)
      o Text (86)
      o Workbench (130)
   o Video (55)

Total files: 3573

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Misc » samtools.lha

Samtools

Description: Tools to read/write SAMDOS disk images
Download: samtools.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 123kb
Date: 14 Jan 08
Author: Ian Collier, Fredrik Wikstrom (OS4 port)
Submitter: Fredrik Wikstrom
Email: fredrik/a500 org
Homepage: http://a500.org
Category: utility/misc
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 3331
 
Comments: 0
Snapshots: 0
Downloads: 83  (Current version)
83  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show content Show crashlogs Replace file 
Samtools is a public domain collection of programs to allow Sun or Linux
systems to read and write files on a SAMDOS or MasterDOS diskette.  Other
systems may read and write disk image files.

samdir      - display a Sam diskette directory
samdiskread - read a Sam diskette into a file
samdiskwrite- write a Sam diskette from a file
samerase    - erase a Sam disk file
samformat   - format a Sam diskette
samlabel    - label a MasterDOS diskette
samread     - read a file from a Sam diskette
samrename   - rename a file on a Sam diskette
samsnap     - convert .SNA snapshots to and from Sam format
samtype     - display a file from a Sam diskette
samwrite    - write a file on a Sam diskette

The C files may be compiled with the supplied Makefile.  You will first
have to decide whether to define SUN_DKIO: if you are using SunOS, do
it - if not then don't.  I don't know whether it works on Solaris.  The
effect of defining this symbol is to allow the program to configure the
disk drive for 10 sectors per track.  If you don't define it you can still
use samtools to manipulate disk images.  On Linux you can still access an
actual disk because you can create a device /dev/fd0D800 that is already
configured for the correct format (someone who knows says: "It's just an
extra line in MAKEDEV.  Copy the /dev/fd0D720 line (the DD MSDOS disk
device) and change the minor device from 16 to 120 and change the 720 in
the filename to 800").  If users of other systems would like to supply code
to configure the disk interface then that would be gratefully accepted.

The Makefile comes with SUN_DKIO defined: if you do not want it just
delete it from the list of C flags.

If you wish you may also alter the file sam.h to change the default device
name which is usually "/dev/rfd0" (for example to use the above Linux name).
You may also alter the names of the environment variables (but what's the
point?).  Do not change any of the numbers!

After this configuration just type "make" to make the programs.  There
is no install program - just stick the binaries in a bin directory and
the man files in a man directory (under man1/).

The man files are in a format suitable for input to the "man" command.
To view them without using "man", type

nroff -man <manfile> | more

(replacing "more" with the name of your favourite pager, if appropriate).


Copyright (c) 2004-2014 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment