AminetAminet
Search:
84715 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/trackfoo_v0_14.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Read or Write one track CLI tool
Author:modrobert at gmail.com
Uploader:modrobert gmail com
Type:util/cli
Version:0.14
Architecture:m68k-amigaos >= 1.2
Date:2022-08-27
Download:http://aminet.net/util/cli/trackfoo_v0_14.lha - View contents
Readme:http://aminet.net/util/cli/trackfoo_v0_14.readme
Downloads:253

This CLI program copies one track (0 - 159) to or from floppy. Source code
included.

------------------------------------------------------------------------------
trackfoo v0.14 by modrobert

Function: This program copies one track to or from floppy.
Syntax  : trackfoo <commmand> <device> <filename> <track>
Result  : 0 OK. Error; 1 arg, 2 device, 3 file, 4 port, 5 mem, 6 track.
Where <command> is either 'read' or 'write', <device> is DF0: - DF3:,
<filename> for data to read or write, and <track> number between 0 - 159.
Even track number is lower head (side 0), odd track is upper head (side 1).
------------------------------------------------------------------------------

Example script to write a few tracks from the lower head (side 0):

echo "Start writing tracks"
trackfoo write df0: file.001 0
trackfoo write df0: file.002 2
trackfoo write df0: file.003 4
trackfoo write df0: file.004 6
trackfoo write df0: file.005 8
echo "Done!"



Contents of util/cli/trackfoo_v0_14.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 9126   15252  59.8% -lh5- b31c Aug 12  2018 trackfoo
[unknown]                 3033   10815  28.0% -lh5- f5eb Aug 12  2018 trackfoo.c
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files   12159   26067  46.6%            Aug 28 02:58

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>