From 54a7094e5d5167a75913c05a4f511539b4708145 Mon Sep 17 00:00:00 2001 From: kato Date: Wed, 29 Mar 2000 15:10:28 +0000 Subject: Changes for PC-98. --- lib/libdisk/tst01.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/libdisk/tst01.c') diff --git a/lib/libdisk/tst01.c b/lib/libdisk/tst01.c index e8c34d9..c23169a 100644 --- a/lib/libdisk/tst01.c +++ b/lib/libdisk/tst01.c @@ -217,7 +217,11 @@ main(int argc, char **argv) free(cp); continue; } +#ifdef PC98 + if (!strcasecmp(*cmds,"create") && ncmd == 7) { +#else if (!strcasecmp(*cmds,"create") && ncmd == 6) { +#endif printf("Create=%d\n", Create_Chunk(d, @@ -225,7 +229,12 @@ main(int argc, char **argv) strtol(cmds[2],0,0), strtol(cmds[3],0,0), strtol(cmds[4],0,0), +#ifdef PC98 + strtol(cmds[5],0,0), + cmds[6])); +#else strtol(cmds[5],0,0))); +#endif continue; } if (!strcasecmp(*cmds,"read")) { @@ -276,7 +285,11 @@ main(int argc, char **argv) #if 0 printf("\tcollapse [pointer]\n"); #endif +#ifdef PC98 + printf("\tcreate offset size enum subtype flags name\n"); +#else printf("\tcreate offset size enum subtype flags\n"); +#endif printf("\t\tsubtype(part): swap=1, ffs=7\n"); printf("\tdelete pointer\n"); printf("\tlist\n"); -- cgit v1.1