-/* $NetBSD: chg_pid.c,v 1.2 1996/01/07 22:06:04 leo Exp $ */
+/* $NetBSD: chg_pid.c,v 1.3 1996/01/09 09:55:06 leo Exp $ */
/*
* Copyright (c) 1995 L. Weppelman
int write_block PROTO((void *, int, int));
void set_csum PROTO((char *));
-const char version[] = "$Revision: 1.1 $";
+const char version[] = "$Revision: 1.2 $";
char *Progname = NULL; /* What are we called */
int t_flag = 0; /* Test -- don't actually do it */
\r
Description of options:\r
\r
-\t-h What your getting right now.\r
+\t-h What you're getting right now.\r
\t-o Write output to both <output file> and stdout.\r
\t-V Print program version.\r
\t-w Wait for a keypress before exiting.\r
-/* $NetBSD: loadbsd.c,v 1.10 1996/01/07 22:06:15 leo Exp $ */
+/* $NetBSD: loadbsd.c,v 1.11 1996/01/09 09:55:15 leo Exp $ */
/*
* Copyright (c) 1995 L. Weppelman
int t_flag = 0; /* Just test, do not execute */
int v_flag = 0; /* show version */
-const char version[] = "$Revision: 1.1 $";
+const char version[] = "$Revision: 1.2 $";
/*
* Default name of kernel to boot, large enough to patch
\t-b Ask for root device to use.\r
\t-d Enter kernel debugger.\r
\t-D printout debug information while loading\r
-\t-h What your getting right now.\r
+\t-h What you're getting right now.\r
\t-o Write output to both <output file> and stdout.\r
\t-s Use only ST-compatible RAM\r
\t-S Set amount of ST-compatible RAM\r
-/* $NetBSD: rawwrite.c,v 1.2 1996/01/07 22:06:24 leo Exp $ */
+/* $NetBSD: rawwrite.c,v 1.3 1996/01/09 09:55:17 leo Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
#include "libtos.h"
#define SECT_SIZE 512 /* Sector size */
-#define NSECT_DD 18 /* Sectors per track 720Kb */
-#define NSECT_HD 36 /* Sectors per track 1.44Mb */
+#define NSECT_DD 18 /* Sectors per cylinder 720Kb */
+#define NSECT_HD 36 /* Sectors per cylinder 1.44Mb */
#define NTRK 80 /* Number of tracks */
static void help PROTO((void));
int V_flag = 0; /* Show version */
char *progname;
-const char version[] = "$Revision: 1.1 $";
+const char version[] = "$Revision: 1.2 $";
int
main(argc, argv)
static u_int sideno = 0;
for (sideno = 0; sideno < 2; sideno++) {
- if (Flopfmt(trbuf, 0, 0, NSECT_DD/2, trk, sideno, 1, 0x87654321,
- 0xe5e5))
+ if (Flopfmt(trbuf, 0, 0, NSECT_DD/2, trk, sideno, 1,
+ 0x87654321, 0xe5e5))
fatal(-1, "Format error");
if (Flopwr(buf, 0, 0, 1, trk, sideno, NSECT_DD/2))
fatal(-1, "Write error");
\r
Description of options:\r
\r
-\t-h What your getting right now.\r
+\t-h What you're getting right now.\r
\t-o Write output to both <output file> and stdout.\r
\t-v Show a '.' for each track written.\r
\t-V Print program version.\r