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

util/cli/trackfoo_v0_14.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Read or Write one track CLI tool
Author: modrobert at gmail.com
Type:util/cli
Version:0.14
Architecture:m68k-amigaos
Distribution:Aminet
Date:2022-08-28
Download:/util/cli/trackfoo_v0_14.lha - View contents
Readme:/util/cli/trackfoo_v0_14.readme
Downloads:260

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
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>