diff --git a/scriptfiles/modules/consoletest.ps b/scriptfiles/modules/consoletest.ps index 7a398b8..e753434 100644 Binary files a/scriptfiles/modules/consoletest.ps and b/scriptfiles/modules/consoletest.ps differ diff --git a/src/components/console.inc b/src/components/console.inc index 9e0d68e..62733be 100644 --- a/src/components/console.inc +++ b/src/components/console.inc @@ -107,7 +107,10 @@ public dpp_processconsole(funcgroup[][],args[][],args_const[][]) } } - dpp_inputtype = DPP_INPUT_TYPE_LINE; + //dpp_inputtype = DPP_INPUT_TYPE_LINE; + #emit const.alt 1 + #emit stor.alt dpp_inputtype + //printf("dpp_inputtype is %sDPP_INPUT_TYPE_LINE", dpp_inputtype==DPP_INPUT_TYPE_LINE?"":"not "); dpp_internal(1); } @@ -132,7 +135,10 @@ public dpp_processconsole(funcgroup[][],args[][],args_const[][]) } } - dpp_inputtype = DPP_INPUT_TYPE_CHAR; + //dpp_inputtype = DPP_INPUT_TYPE_CHAR; + #emit const.alt 2 + #emit stor.alt dpp_inputtype + //printf("dpp_inputtype is %sDPP_INPUT_TYPE_LINE", dpp_inputtype==DPP_INPUT_TYPE_CHAR?"":"not "); dpp_internal(1); } diff --git a/src/components/files.inc b/src/components/files.inc index f524eea..dd3393f 100644 --- a/src/components/files.inc +++ b/src/components/files.inc @@ -47,7 +47,13 @@ public dpp_processfiles(funcgroup[][],args[][],args_const[][]) dpp_internal(0); } - fcreatedir(args[0]); + //fcreatedir(args[0]); + @emit__ tempaddr ,.str=args[0] + #emit push.c dpp_tempaddr__ + #emit push.c 4 + #emit sysreq.c fcreatedir + #emit stack 8 + //#emit retn dpp_internal(1); } if(!strcmp(funcgroup[1], "delete")) @@ -69,7 +75,13 @@ public dpp_processfiles(funcgroup[][],args[][],args_const[][]) dpp_internal(0); } - fremove(args[0]); + //fremove(args[0]); + @emit__ tempaddr ,.str=args[0] + #emit push.c dpp_tempaddr__ + #emit push.c 4 + #emit sysreq.c fremove + #emit stack 8 + //#emit retn dpp_internal(1); } if(!strcmp(funcgroup[1], "open_for_append"))