summaryrefslogtreecommitdiff
path: root/phnxdeco/phnxhelp.h
diff options
context:
space:
mode:
Diffstat (limited to 'phnxdeco/phnxhelp.h')
-rw-r--r--phnxdeco/phnxhelp.h69
1 files changed, 0 insertions, 69 deletions
diff --git a/phnxdeco/phnxhelp.h b/phnxdeco/phnxhelp.h
deleted file mode 100644
index fbeefb8..0000000
--- a/phnxdeco/phnxhelp.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/**********************************************
-**
-**
-** Defines for PhnxHelp
-**
-**
-***********************************************/
-
-#include <stdio.h>
-
-
-byte HelpSystem(byte argc, byte * argv[])
-{
- byte x = 0, retcode = 0;
-
- for (x = 1; x < argc; x++) {
- if (StrCmp(argv[x], "-h") == 0) {
- printf("\n" SftName " HelpSystem Starting Now!\n");
- printf("\nThis Program Version Number %s", SftVersion);
-
-#ifndef __LINUX_NOW__
- printf("\n" SftName " - Decompressor for PhoenixBIOSes only.\n" "\tSupported formats: Phoenix BIOS 4.0, Phoenix FirstBIOS\n\n" "" SftName
- " performs on 386 or better CPU systems\n" "under control of DOS, Win3.xx, Win9x/NT/2K or DosEmu\n\n"
- "Compression schemes include: NONE, LZSS, LZINT\n\n" "Modules marked with " IDSign " sign are compressed modules\n\n"
- "\tBug reports mailto: " SftEMail "\n" "\t\tCompiled: %s, %s\n", __DATE__, __TIME__);
-#else
- printf("\n" SftName " - Decompressor for PhoenixBIOSes only.\n" "\tSupported formats: Phoenix BIOS 4.0, Phoenix FirstBIOS\n\n" "" SftName
- " performs on 386 or better CPU systems\n" "under control of LinuxOS\n\n" "Compression schemes include: NONE, LZSS, LZINT\n\n"
- "Modules marked with " IDSign " sign are compressed modules\n\n" "\tBug reports mailto: " SftEMail "\n" "\t\tCompiled: %s, %s with \n\t\t%s",
- __DATE__, __TIME__, __VERSION__);
-#endif
- printf("\n");
- retcode = 0x80;
-
- }
-
- if (StrCmp(argv[x], "-xs") == 0)
- retcode = 0x20;
- if (StrCmp(argv[x], "-ls") == 0)
- retcode = 0x21;
- if (StrCmp(argv[x], "-x") == 0)
- retcode = 0x10;
- if (StrCmp(argv[x], "-l") == 0)
- retcode = 0x11;
- if (StrCmp(argv[x], "-c") == 0)
- retcode += 0x40;
- }
- return (retcode);
-
-}
-
-void PrintHeader(byte * EOL)
-{
-
- printf("\n%c%s%c%s", 0x4, SoftName, 0x4, EOL);
-
-}
-
-void PrintUsage()
-{
-
- PrintHeader("");
- printf("%s", CopyRights);
- printf("\n\nUsage: PhnxDeco <PhoenixBIOS.ROM> [Options]");
- printf("\n" "\t\tOptions:" "\n\t\t\t\"-ls\" List (System) Bios Structure" "\n\t\t\t\"-xs\" eXtract (System) Bios Modules"
- "\n\t\t\t\"-l\" List Bios Structure" "\n\t\t\t\"-x\" eXtract Bios Modules" "\n\t\t\t\"-c\" show Bios Copyrights" "\n\t\t\t\"-h\" Help statistics");
- printf("\n\n\t*%s*\n", Url);
-
-}