Skip to content

Commit

Permalink
Version 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Jan 30, 2023
1 parent e4c7e45 commit a18df69
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 14 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ MANDIR= /usr/local/man

# All the flags in $(CC) are optional and only used to generate warnings

# Linux (tested with i386 gcc 2.5.8)
LINUX_CC= gcc -pipe -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion
# Linux (tested with i386 gcc 2.5.8 and gcc 2.7.2)
LINUX_CC= gcc -pipe -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
LINUX_CFLAGS= -O -DUNIX

# SunOS (other than i386)
Expand All @@ -36,17 +36,17 @@ LITTLE_CFLAGS= -O -DUNIX
#

all:
@echo
@echo ""
@echo "Please run make with one of the following arguments"
@echo "dos -- for MS-DOS"
@echo "linux -- for PC linux"
@echo "linux -- for PC Linux"
@echo "sun4 -- for SUN 4 OS"
@echo "sco -- for SCO machines with Microsoft cc"
@echo "sgi -- for SGI machines"
@echo "big -- for other big-endian machines with gcc (untested)"
@echo "little -- for other little-endian (or unknown) machines with gcc (untested)"
@echo "unknown -- for other unknown-endian machines with gcc (untested)"
@echo
@echo ""

dos:
make -fmakefile.dos
Expand Down
3 changes: 3 additions & 0 deletions cbmarcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
* To do:
* Separate the individual archive handlers into their own files to clean
* up the code (e.g. to files a_arc.c, a_lha.c, a_lynx.c, etc.)
* Add callback function to return disk volume name
* Add compile-time check for packed structures (check sizeof())
*/

#include <string.h>
Expand Down Expand Up @@ -1806,3 +1808,4 @@ int DirArchive(FILE *InFile, enum ArchiveTypes ArchiveType,

return DirFunctions[ArchiveType](InFile, ArchiveType, Totals, DisplayFunction);
}

2 changes: 2 additions & 0 deletions descript.ion
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ read.me archive information
descript.ion file descriptions for 4DOS
desc.sdi one-line description of fvcbm
file_id.diz short description of fvcbm
COPYING fvcbm copyright notice
fvcbm.man documentation for fvcbm
9 changes: 4 additions & 5 deletions fvcbm.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" -*- nroff -*-
.TH FVCBM 1 "24 November 1995" "fvcbm Version 3.0"
.TH FVCBM 1 "14 September 1996" "fvcbm Version 3.0"
.SH NAME
fvcbm \- List directories of Commodore 64/128 compatible archive files
fvcbm \- list directories of Commodore 64/128 compatible archive files
.SH SYNOPSIS
.B fvcbm
[
Expand Down Expand Up @@ -70,8 +70,7 @@ by Commodore disk drives. Only the file name, size in blocks and
type are displayed for each entry in the archive. The summary line totals
the number of blocks used by the entries.
.LP
.B
fvcbm
.B fvcbm
supports the following archive types: ARC230 (not to be confused with SEA
ARC), self-extracting ARC230 (SDA), Lynx, CS-DOS (LZH), self-extracting
CS-DOS (SFX), LBR (not to be confused with LBR for CP/M), 64Net files
Expand Down Expand Up @@ -148,7 +147,7 @@ display the incorrect file length if this is the case. This limitation can
also affect PC64 files.
.SH COPYRIGHT
.B fvcbm
is copyright \(co 1995 by Daniel Fandrich.
is copyright \(co 1995-1996 by Daniel Fandrich.
It is provided \(lqas is\(rq, without any express or implied warranties.
See the file COPYING, which should have been included with the program,
for details.
Expand Down
13 changes: 9 additions & 4 deletions fvcbm.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@
* - fix display of LHA archives with long path names
* - add display of Lynx oc'ult mode
* - add REL record length display (though I've never seen REL in an archive)
* - look for info on ARK, LIB and Zipcode archives & possibly add them
* - add Wraptor archive format (.wra)
* - look for info on SDL archive format (Self Dissolving Lynx)
* - look for info on WAD archive format (similar to ZipCode)
* - look for info on MAD archive format (self-extracting)
* - look for info on ARK and LIB archives
* - add Zipcode archive format (1!*)
* - think about adding PKZIP archive support since it's popular among
* emulator users for compressing disk images
*
Expand Down Expand Up @@ -59,7 +64,7 @@
* Added searching through a list of file extensions to find a file
* Many changes to cbmarcs.c
*
* fvcbm is copyright (C) 1995 by Daniel Fandrich
* fvcbm is copyright (C) 1995-1996 by Daniel Fandrich
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation.
Expand Down Expand Up @@ -99,7 +104,7 @@
* Constants
******************************************************************************/
#define VERSION "3.0"
#define VERDATE "95-11-24"
#define VERDATE "96-09-14"

#if defined(__TURBOC__)
unsigned _stklen = 8192; /* printf() does strange things sometimes with the
Expand Down Expand Up @@ -256,7 +261,7 @@ int main(int argc, char *argv[])
printf("Usage:\n %s [-d] filename1 [filenameN ...]\n"
"View directory of Commodore 64/128 archive and self-dissolving archive files.\n"
"Supports ARC230, Lynx, LZH (SFX), T64, D64, X64, N64, PC64 & LBR archive types.\n"
"fvcbm is copyright (C) 1995 by Daniel Fandrich.\n"
"fvcbm is copyright (C) 1995-1996 by Daniel Fandrich.\n"
"This program comes with NO WARRANTY. See the file COPYING for details.\n",
ProgName);
return 1;
Expand Down

0 comments on commit a18df69

Please sign in to comment.