chipplechipple

Blog - File2DSK CoCo utility

Technology File2DSK CoCo utility

(To regular readers, please excuse this one, it probably won't be useful to many of you!)

I made this command line utility that takes Color Computer .BIN, .BAS and other files located on your PC, and puts them together in a newly created .DSK virtual disk file that can be used in emulators such as M.E.S.S.

The reason I made this utility is that several .BIN and .BAS files can be found on the net, and I wanted a way to make .DSK files from them simpler than using imgtool provided with M.E.S.S.

Current version

File2DSK - Command line CoCo DSK creation utility
Version 1.0.7 (May 26, 2006)

Freeware, copyright © 2006 by Patrick Benny
Inspired by DiskTape v1.1 copyright © 1998 by Jean-Francois Morin
http://www.chipple.net/coco/file2dsk/

Windows: File2DSK107.zip (48K, includes Windows executable and C source code)
Linux: file2dsk-1.0.7-src.tar.gz (53K, ready-to-build, see instructions below)

Requirements

Windows executable: Windows 9x+ (Tested on Windows 2000/Me/9x)

To compile under Linux (tested on x86 and PPC), unarchive and:
./configure
make

and then as root or superuser:
make install

Syntax

  1. file2dsk <src_file1> [src_file2 .. [src_fileN]]
    e.g. file2dsk program1.bin program2.bas (creates PROGRAM1.DSK)
  2. file2dsk <dest_file.dsk> <src_file1> [src_file2 .. [src_fileN]]
    e.g. file2dsk mydisk.dsk program1.bin program2.bas

In Windows, files can also be simply drag-and-dropped onto this program.

Running the program without any arguments will allow creating a DSK
containing only one file by inputing its filename.

Features

Limitations/warnings

Version History

Special thanks to Jean-François Morin for his utility DiskTape v1.1 that inspired me to create File2DSK. I used a few lines from DiskTape's code to get started, and borrowed logic to determine a file's type and mode.
Thanks also to Mannequin for helping to make the source compilable on Linux, and to Jason Law for bug reporting.

Also see companion utility DSKExtract.

Posted on April 14, 2006 at 00:36 | Tweet |


Trackback


Comments RSS

great work!!! Thanks..

Posted by Anderson on May 11, 2007 at 11:07


Many thanks! This utility works great for quickly processing raw coco files for use on my CoCo II and also different emulators.

Derek

Posted by Derek on November 6, 2007 at 11:00


Great! I'm glad to hear some are finding it useful. :)

Posted by Patrick on November 6, 2007 at 11:07


Jeez, I just used File2DSK to get OS/9 files off the RTSI archive and into my CoCo3!

Great work, dude!

Posted by Mike 0 on September 20, 2008 at 21:39


Me again, still as fun as ever, works on DriveWire too ;)

Posted by Mike 0 on January 8, 2011 at 12:47


Awesome! :) I'm really happy if it's being helpful!

Posted by Patrick on January 8, 2011 at 20:26


Thank you for the great tool! Trying to get back into Coco (using MESS) as teaching tool and wish I still had my original hardware!

Posted by Mark on December 25, 2012 at 05:40



« Deers | Back to main page | New TV! »