summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--com32/hdt/floppy/hdt.cfg11
-rw-r--r--com32/hdt/hdt.c7
2 files changed, 13 insertions, 5 deletions
diff --git a/com32/hdt/floppy/hdt.cfg b/com32/hdt/floppy/hdt.cfg
index 1350521a..8eddb2c9 100644
--- a/com32/hdt/floppy/hdt.cfg
+++ b/com32/hdt/floppy/hdt.cfg
@@ -66,7 +66,16 @@ TEXT HELP
VESA mode is enabled
ENDTEXT
COM32 hdt.c32
-APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids vesa nomenu
+APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids vesa nomenu verbose
+
+LABEL verbose-text
+MENU LABEL CLI (Text mode & Verbose)
+TEXT HELP
+ Starts HDT using the Command Line Interface (CLI)
+ VESA mode is disabled
+ENDTEXT
+COM32 hdt.c32
+APPEND modules_pcimap=modules.pcimap modules_alias=modules.alias pciids=pci.ids verbose nomenu
MENU SEPARATOR
diff --git a/com32/hdt/hdt.c b/com32/hdt/hdt.c
index 56848b07..20104382 100644
--- a/com32/hdt/hdt.c
+++ b/com32/hdt/hdt.c
@@ -48,12 +48,14 @@ int max_console_lines = MAX_CLI_LINES;
int main(const int argc, const char *argv[])
{
char version_string[256];
- const char *arg;
struct s_hardware hardware;
snprintf(version_string, sizeof version_string, "%s %s (%s)",
PRODUCT_NAME, VERSION, CODENAME);
+ /* Opening the Syslinux console */
+ init_console(&hardware);
+
/* Cleaning structures */
init_hardware(&hardware);
@@ -63,9 +65,6 @@ int main(const int argc, const char *argv[])
/* Detecting parameters */
detect_parameters(argc, argv, &hardware);
- /* Opening the Syslinux console */
- init_console(&hardware);
-
/* Detect hardware */
detect_hardware(&hardware);