diff --git a/src/gui/midi.cpp b/src/gui/midi.cpp index a3a29823..241f688e 100644 --- a/src/gui/midi.cpp +++ b/src/gui/midi.cpp @@ -118,6 +118,7 @@ bool MIDI_Available(void) { void MIDI_Init(Section * sect) { + MSG_Add("MIDI_CONFIGFILE_HELP","Nothing to setup yet!\n"); midi.available=MIDI_StartUp(); } diff --git a/src/gui/render.cpp b/src/gui/render.cpp index 61003fef..9cd8bad1 100644 --- a/src/gui/render.cpp +++ b/src/gui/render.cpp @@ -366,6 +366,7 @@ static void DecreaseFrameSkip(void) { } void RENDER_Init(Section * sec) { + MSG_Add("RENDER_CONFIGFILE_HELP","Available renderers:scale2x, none\n"); Section_prop * section=static_cast(sec); render.pal.first=256; diff --git a/src/hardware/disney.cpp b/src/hardware/disney.cpp index 4ad4581a..b03fe524 100644 --- a/src/hardware/disney.cpp +++ b/src/hardware/disney.cpp @@ -99,7 +99,7 @@ static void DISNEY_CallBack(Bit8u * stream,Bit32u len) { void DISNEY_Init(Section* sec) { - + MSG_Add("DISNEY_CONFIGFILE_HELP","Nothing to setup yet!\n"); Section_prop * section=static_cast(sec); if(!section->Get_bool("enabled")) return; diff --git a/src/hardware/gus.cpp b/src/hardware/gus.cpp index 160feac5..bb716391 100644 --- a/src/hardware/gus.cpp +++ b/src/hardware/gus.cpp @@ -14,7 +14,7 @@ void GUS_Init(Section* sec) { - + MSG_Add("GUS_CONFIGFILE_HELP","Nothing to setup yet!\n"); diff --git a/src/shell/shell.cpp b/src/shell/shell.cpp index 49696168..570c122f 100644 --- a/src/shell/shell.cpp +++ b/src/shell/shell.cpp @@ -212,6 +212,7 @@ void SHELL_Init() { MSG_Add("SHELL_STARTUP","DOSBox Shell v" VERSION "\n" "DOSBox does not run protected mode games!\n" "For supported shell commands type: HELP\n" + "For a short introduction type: INTRO\n\n" "For more information read the README file in DOSBox directory.\n" "\nHAVE FUN!\nThe DOSBox Team\n\n" ); @@ -233,7 +234,32 @@ void SHELL_Init() { MSG_Add("SHELL_CMD_RENAME_HELP","Renames files.\n"); MSG_Add("SHELL_CMD_DELETE_HELP","Removes files.\n"); MSG_Add("SHELL_CMD_COPY_HELP","Copy files.\n"); - + MSG_Add("SHELL_CMD_INTRO_HELP","Gives an introduction into dosbox\n"); + MSG_Add("SHELL_CMD_INTRO", +"Welcome to DOSBox, a x86 emulator with sound and graphics\n" +"DOSBox creates a shell for you which looks like old plain DOS\n" +"\n" +"Here are some commands to get you started:\n" +"Before you can use the files located on your own filesystem,\n" +"You have to mount the directory containing the files.\n" +"For MS Windows users:\n" +"mount c c:\\dosprog will create a C drive in dosbox with c:\\dosprog as contents.\n" +"\n" +"For linux users:\n" +"mount c /home/user/dosprog will do the same.\n" +"\n" +"Mac OS and others:\n" +"\n" +"I have no idea\n" +"\n" +"When the mount has succesfully completed you can type c: to go to your freshly\n" +"mounted C-drive. Typing dir there will show its contents. cd will allow you to\n" +"enter a directory (recognised by the [] in a directory listing).\n" +"You can run programs/files which end at .exe .bat and .com .\n" +"\n" +"DOSBox will stop/exit without a warning if an error occured!\n" + ); + /* Regular startup */ call_shellstop=CALLBACK_Allocate(); /* Setup the startup CS:IP to kill the last running machine when exitted */ diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index 818689ae..248f4c38 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -43,6 +43,7 @@ static SHELL_Cmd cmd_list[]={ "RENAME", 0, &DOS_Shell::CMD_RENAME, "SHELL_CMD_RENAME_HELP", "REN", 1, &DOS_Shell::CMD_RENAME, "SHELL_CMD_RENAME_HELP", "PAUSE", 0, &DOS_Shell::CMD_PAUSE, "SHELL_CMD_PAUSE_HELP", + "INTRO", 0, &DOS_Shell::CMD_INTRO, "SHELL_CMD_INTRO_HELP", /* "CHDIR", 0, &DOS_Shell::CMD_CHDIR, "Change Directory", "MKDIR", 0, &DOS_Shell::CMD_MKDIR, "Make Directory", @@ -518,4 +519,11 @@ void DOS_Shell::CMD_PAUSE(char * args){ WriteOut(MSG_Get("SHELL_CMD_PAUSE")); Bit8u c;Bit16u n=1; DOS_ReadFile (STDIN,&c,&n); -} \ No newline at end of file +} + +void DOS_Shell::CMD_INTRO(char* args) +{ + WriteOut(MSG_Get("SHELL_CMD_INTRO")); +// Bit8u c;Bit16u n=1; +// DOS_ReadFile (STDIN,&c,&n); +} diff --git a/src/shell/shell_inc.h b/src/shell/shell_inc.h index 59ee1b9d..703d5b04 100644 --- a/src/shell/shell_inc.h +++ b/src/shell/shell_inc.h @@ -66,7 +66,7 @@ public: void CMD_CLS(char * args); void CMD_COPY(char * args); void CMD_DIR(char * args); - void CMD_DELETE(char * args); + void CMD_DELETE(char * args); void CMD_ECHO(char * args); void CMD_EXIT(char * args); void CMD_MKDIR(char * args); @@ -77,9 +77,10 @@ public: void CMD_GOTO(char * args); void CMD_TYPE(char * args); void CMD_REM(char * args); - void CMD_RENAME(char * args); + void CMD_RENAME(char * args); void SyntaxError(void); - void CMD_PAUSE(char * args); + void CMD_PAUSE(char * args); + void CMD_INTRO(char * args); /* The shell's variables */ Bit16u input_handle; BatchFile * bf;