OS4 DepotLogo by Alkaron 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Misc » samtools.lha


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 2008
Author: Ian Collier, Fredrik Wikström (OS4 port)
Submitter: Fredrik Wikström
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
Videos: 0
Downloads: 266  (Current version)
266  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos 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 © 2004-2024 by Björn Hagström All Rights Reserved