Re: [Freedos-devel] troubles with redirection with singlestepping?

2006-08-23 Thread Markus Laire
On 8/23/06, Arkady V.Belousov [EMAIL PROTECTED] wrote:
 Hi!

 type test.bat
 echo echotest

 command /y /c test
 test [Yes=ENTER, No=ESC] ? y
 echo echotest
 echo echotest [Yes=ENTER, No=ESC] ? y

 type test
 echo

 All looks fine. How to reproduce bug in FreeCOM with redirection at
 singlestepping?

I'm able to reproduce this in qemu:

type test.bat
if not errorlevel 4 echo abc  temp

command /y /c test.bat
test.bat [Yes=ENTER, No=ESC] ?
if not errorlevel 4 echo abc  temp
if not errorlevel 4 echo abc  temp [Yes=ENTER, No=ESC] ?
# I need to press Enter twice at the line above

type temp
C:\echo abc  [Yes=ENTER, No=ESC] ?
abc

-- 
Markus Laire

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] troubles with redirection with singlestepping?

2006-08-23 Thread Arkady V.Belousov
Hi!

23-Авг-2006 10:16 [EMAIL PROTECTED] (Markus Laire) wrote to
freedos-devel@lists.sourceforge.net:

 All looks fine. How to reproduce bug in FreeCOM with redirection at
 singlestepping?
ML I'm able to reproduce this in qemu:
type test.bat
ML if not errorlevel 4 echo abc  temp
command /y /c test.bat
test.bat [Yes=ENTER, No=ESC] ?
if not errorlevel 4 echo abc  temp
if not errorlevel 4 echo abc  temp [Yes=ENTER, No=ESC] ?
ML # I need to press Enter twice at the line above

 This is right. I mean, MS-command.com also ask twice: one time for
complete command line, second time for echo. Bug in FreeCOM is that it not
shows prompt for second command, redirecting it to file.

 type temp
C:\echo abc  [Yes=ENTER, No=ESC] ?
ML abc

 Yes, now I see. But wait, MS-command.com also have similar trouble: if
you run this batch file under MS-command.com, then before abc you get line
with Y (answer from user - notwithstanding if pressed Enter or y)! :)

 Anyway, I just try to fix this (not need for FreeCOM be same unusable
as MS-command.com, or, worser, more buggy). :)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] troubles with redirection with singlestepping?

2006-08-23 Thread Arkady V.Belousov
Hi!

23--2006 10:16 [EMAIL PROTECTED] (Markus Laire) wrote to
freedos-devel@lists.sourceforge.net:

 All looks fine. How to reproduce bug in FreeCOM with redirection at
 singlestepping?
ML I'm able to reproduce this in qemu:

 Fixed - see patch in attachment. Blair?
diff -rup -x config.mak OLD/# NEW/#
--- OLD/#   2006-08-23 00:55:36.0 +
+++ NEW/#   2006-08-23 17:50:04.0 +
@@ -158,3 +158,8 @@ Error exec.c 72: Unknown preprocessor di
 
 11. Fixed bug in LFNFUNCS.C library, which prevents redirection (because
 this bug prevents to create non-existed files).
+
+12. Fixed bug with redirection and single-stepping (option /Y) - with nested
+redirected commands (if errorlevel 1 echo donetempouttempin) FreeCOM
+was outputs its prompts (for all, except first command) to tempout and
+tries to read answers from tempin.
diff -rup -x config.mak OLD/shell/command.c NEW/shell/command.c
--- OLD/shell/command.c 2006-08-07 12:17:26.0 +
+++ NEW/shell/command.c 2006-08-23 17:44:42.0 +
@@ -382,13 +382,25 @@ void parsecommandline(char *s, int redir
   { /* Question after the variables expansion
and make sure _all_ executed commands will
honor the trace mode */
+/* Commands may be nested (if errorlevel 1 echo donetest). To
+   prevent redirecting FreeCOM prompts to user file, temporarily
+   revert redirection.
+*/
+int redir_fdin = -1, redir_fdout = -1, answer;
+if (oldinfd  != -1) { redir_fdin  = dup (0); dup2 (oldinfd,  0); }
+if (oldoutfd != -1) { redir_fdout = dup (1); dup2 (oldoutfd, 1); }
+
 printprompt();
 fputs(s, stdout);
 /* If the user hits ^Break, it has the same effect as
usually: If he is in a batch file, he is asked if
to abort all the batchfiles or just the current one */
-   if(userprompt(PROMPT_YES_NO) != 1)
-  /* Pressed either No or ^Break */
+answer = userprompt(PROMPT_YES_NO);
+
+if (redir_fdin  != -1) { dup2 (redir_fdin,  0); close (redir_fdin);  }
+if (redir_fdout != -1) { dup2 (redir_fdout, 1); close (redir_fdout); }
+
+if (answer != 1)   /* No or ^Break   */
   return;
   }
 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] troubles with redirection with singlestepping?

2006-08-23 Thread Arkady V.Belousov
Hi!

ML I'm able to reproduce this in qemu:

 BTW, revised previous patch (for LFNFUNCS.C), because TC doesn't
support MS-like names for attributes.
diff -rup -x config.mak OLD/# NEW/#
--- OLD/#   2006-08-22 20:04:52.0 +
+++ NEW/#   2006-08-23 00:55:36.0 +
@@ -155,3 +155,6 @@ Error exec.c 72: Unknown preprocessor di
 - name with drive letter (d:) or absolute path (\cmd, \dir\cmd)
   now NOT searched through path; name with relative path (dir\cmd) DO
   searched through PATH.
+
+11. Fixed bug in LFNFUNCS.C library, which prevents redirection (because
+this bug prevents to create non-existed files).
diff -rup -x config.mak OLD/lib/lfnfuncs.c NEW/lib/lfnfuncs.c
--- OLD/lib/lfnfuncs.c  2006-08-07 12:04:22.0 +
+++ NEW/lib/lfnfuncs.c  2006-08-23 16:12:58.0 +
@@ -6,11 +6,13 @@
 
 #include dir.h   /* findfirst, findnext */
 #include fcntl.h /* O_WRONLY, O_CREAT */
+#include sys/stat.h  /* S_IWRITE */
 #include errno.h /* errno */
 #include string.h/* strchr, memcpy */
 #include stdarg.h
 #include io.h
 
+#include dfn.h   /* _A_NORMAL, _A_RDONLY */
 #include suppl.h
 #define __LFNFUNCS_C
 #include ../include/lfnfuncs.h
@@ -145,8 +147,9 @@ int lfnopen( const char *filename, int a
 
 if( access  O_CREAT ) {
 access = ~O_CREAT; /* Remove the O_CREAT bit */
-
-__creat_or_truncate( filename, va_arg( vargs, unsigned ) );
+__creat_or_truncate (filename,
+(va_arg (vargs, unsigned)  S_IWRITE)
+   ? _A_NORMAL : _A_RDONLY);
 }
 va_end( vargs );
 
diff -rup -x config.mak OLD/suppl/dfn.h NEW/suppl/dfn.h
--- OLD/suppl/dfn.h 2006-08-07 14:59:48.0 +
+++ NEW/suppl/dfn.h 2006-08-23 16:30:22.0 +
@@ -51,6 +51,20 @@
 #define dfnfullpath2 dfnufullpath2
 #endif
 
+#if defined __TURBOC__  !defined __BORLANDC__
+
+/* MSC names for file attributes */
+
+#define _A_NORMAL  0   /* Normal file, no attributes */
+#define _A_RDONLY  FA_RDONLY   /* Read only attribute */
+#define _A_HIDDEN  FA_HIDDEN   /* Hidden file */
+#define _A_SYSTEM  FA_SYSTEM   /* System file */
+#define _A_VOLID   FA_LABEL/* Volume label */
+#define _A_SUBDIR  FA_DIREC/* Directory */
+#define _A_ARCHFA_ARCH /* Archive */
+
+#endif
+
 #define DFN_FILE   0x4000
 #define DFN_LFN0x2000
 #define DFN_SHARABLE   0x0080
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] troubles with redirection with singlestepping?

2006-08-23 Thread Arkady V.Belousov
Hi!

23--2006 10:16 [EMAIL PROTECTED] (Markus Laire) wrote to
freedos-devel@lists.sourceforge.net:

 All looks fine. How to reproduce bug in FreeCOM with redirection at
 singlestepping?
ML I'm able to reproduce this in qemu:

 Oops, sorry. Before patch not accepted yet, let me replace it by
slightly more optimized one.
diff -rup -x config.mak OLD/# NEW/#
--- OLD/#   2006-08-23 00:55:36.0 +
+++ NEW/#   2006-08-23 17:50:04.0 +
@@ -158,3 +158,8 @@ Error exec.c 72: Unknown preprocessor di
 
 11. Fixed bug in LFNFUNCS.C library, which prevents redirection (because
 this bug prevents to create non-existed files).
+
+12. Fixed bug with redirection and single-stepping (option /Y) - with nested
+redirected commands (if errorlevel 1 echo donetempouttempin) FreeCOM
+was outputs its prompts (for all, except first command) to tempout and
+tries to read answers from tempin.
diff -rup -x config.mak OLD/shell/command.c NEW/shell/command.c
--- OLD/shell/command.c 2006-08-07 12:17:26.0 +
+++ NEW/shell/command.c 2006-08-23 18:11:00.0 +
@@ -382,13 +382,25 @@ void parsecommandline(char *s, int redir
   { /* Question after the variables expansion
and make sure _all_ executed commands will
honor the trace mode */
+/* Commands may be nested (if errorlevel 1 echo donetest). To
+   prevent redirecting FreeCOM prompts to user file, temporarily
+   revert redirection.
+*/
+int redir_fdin, redir_fdout, answer;
+if (oldinfd  != -1) { redir_fdin  = dup (0); dup2 (oldinfd,  0); }
+if (oldoutfd != -1) { redir_fdout = dup (1); dup2 (oldoutfd, 1); }
+
 printprompt();
 fputs(s, stdout);
 /* If the user hits ^Break, it has the same effect as
usually: If he is in a batch file, he is asked if
to abort all the batchfiles or just the current one */
-   if(userprompt(PROMPT_YES_NO) != 1)
-  /* Pressed either No or ^Break */
+answer = userprompt(PROMPT_YES_NO);
+
+if (oldinfd  != -1) { dup2 (redir_fdin,  0); close (redir_fdin);  }
+if (oldoutfd != -1) { dup2 (redir_fdout, 1); close (redir_fdout); }
+
+if (answer != 1)   /* No or ^Break   */
   return;
   }
 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] [bug] mem.exe crashes on 8086

2006-08-23 Thread Arkady V.Belousov
Hi!

23-Авг-2006 07:57 [EMAIL PROTECTED] (Joris van Rantwijk) wrote to
freedos-devel@lists.sourceforge.net:

JvR MEM.EXE 1.9a2 seems to crash on a 8086.

 Where you get this version? CVS contains 1.6 (or is it 1.7? MEM_MINOR
contains 7).

JvR I believe the crash is caused by a bug in the 386-detection code
JvR inside MEM.EXE. The detection always gives false positive results
JvR on 8086 systems, leading MEM.EXE to execute a subroutine which
JvR contains 386-specific instructions.
JvR The 386-detection code basically tests whether it can set flag bits 12-14.
JvR On a 8086 however, bits 12-15 are always set. It may be possible to fix

 Yes, looks like you right: I check MEM 1.6 (1.7?) and found, that its
386 detection code is buggy, because tries to set 0x7000 in flags and
expects, that both bits will be set only in 386+ (whereas bits 12-15 always
set in 8086/80186; in 80286 bits 12-14 are IOPL and NT and always cleared in
real mode). Right code should be (excerpt from my MEMA):

/* try to change bits 12-15 (0xF000) in the FLAGS register...   */
I pushf; I pushf; I pop ax; _AH ^= 0xF0;
I push ax; I popf; I pushf; I pop bx; I popf;
/* ...then check whether any bit was changed */
count
type = 3; if (_AH ^ _BH) return type;
type = 2; if (_BH  0xF0) type = 0;
return type;

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] [bug] mem.exe crashes on 8086

2006-08-23 Thread Bernd Blaauw
Arkady V.Belousov schreef:
 Hi!

 23-Авг-2006 07:57 [EMAIL PROTECTED] (Joris van Rantwijk) wrote to
 freedos-devel@lists.sourceforge.net:

 JvR MEM.EXE 1.9a2 seems to crash on a 8086.

  Where you get this version? CVS contains 1.6 (or is it 1.7? MEM_MINOR
 contains 7).
   
http://wiki.fdos.org/Main/Mem

points to:
http://www.fdos.org/ripcord/beta9sr1/other/misc/mem19a2.zip

http://www.employees.org/~doshea/freedos/tmp/ contains:
http://www.employees.org/~doshea/freedos/tmp/mem19a3.zip

-- 
Efficiency is intelligent lazyness



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] [bug] mem.exe crashes on 8086

2006-08-23 Thread Imre Leber

Base list still shows: 

MEM 1.7 Bart Oldeman

Jim should decide wether to take the 1.9 from that other side. Was it ever 
contributed? Maybe the author should be contacted.

Imre

-Original Message-
From: Bernd Blaauw [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 05:16 PM
To: freedos-devel@lists.sourceforge.net
Subject: Re: [Freedos-devel] [bug] mem.exe crashes on 8086

Arkady V.Belousov schreef:
 Hi!

 23-Авг-2006 07:57 [EMAIL PROTECTED] (Joris van Rantwijk) wrote to
 freedos-devel@lists.sourceforge.net:

 JvR MEM.EXE 1.9a2 seems to crash on a 8086.

  Where you get this version? CVS contains 1.6 (or is it 1.7? MEM_MINOR
 contains 7).
   
http://wiki.fdos.org/Main/Mem

points to:
http://www.fdos.org/ripcord/beta9sr1/other/misc/mem19a2.zip

http://www.employees.org/~doshea/freedos/tmp/ contains:
http://www.employees.org/~doshea/freedos/tmp/mem19a3.zip

-- 
Efficiency is intelligent lazyness



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem.exe crashes on 8086

2006-08-23 Thread Blair Campbell
1.9a3 is in FreeDOS 1.0, and it was contributed a long time ago by
David O'Shea (don't know what happened to him though; he said he would
be unavailable while moving IIRC, but that was a while ago).

On 8/23/06, Imre Leber [EMAIL PROTECTED] wrote:

 Base list still shows:

 MEM 1.7 Bart Oldeman

 Jim should decide wether to take the 1.9 from that other side. Was it ever
 contributed? Maybe the author should be contacted.

 Imre

 -Original Message-
 From: Bernd Blaauw [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 23, 2006 05:16 PM
 To: freedos-devel@lists.sourceforge.net
 Subject: Re: [Freedos-devel] [bug] mem.exe crashes on 8086
 
 Arkady V.Belousov schreef:
  Hi!
 
  23-Авг-2006 07:57 [EMAIL PROTECTED] (Joris van Rantwijk) wrote to
  freedos-devel@lists.sourceforge.net:
 
  JvR MEM.EXE 1.9a2 seems to crash on a 8086.
 
   Where you get this version? CVS contains 1.6 (or is it 1.7?
 MEM_MINOR
  contains 7).
 
 http://wiki.fdos.org/Main/Mem
 
 points to:
 http://www.fdos.org/ripcord/beta9sr1/other/misc/mem19a2.zip
 
 http://www.employees.org/~doshea/freedos/tmp/ contains:
 http://www.employees.org/~doshea/freedos/tmp/mem19a3.zip
 
 --
 Efficiency is intelligent lazyness
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-devel
 



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-devel



-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Arkady V.Belousov
Hi!

23-Авг-2006 16:16 [EMAIL PROTECTED] (Michael Devore) wrote to
freedos-devel@lists.sourceforge.net:

HIMEM.EXE (HIMEM64 3.12) crashes on shl cx,4 even when invoked
as himem /?.
MD That's from UPX.

 Why you don't use --8086 option when packing?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Michael Devore
At 01:48 AM 8/24/2006 +0400, Arkady V.Belousov wrote:
Hi! 23-á×Ç-2006 16:16 [EMAIL PROTECTED] (Michael Devore) 
wrote to freedos-devel@lists.sourceforge.net: HIMEM.EXE (HIMEM64 3.12) 
crashes on shl cx,4 even when invoked as himem /?. MD That's from 
UPX.  Why you don't use --8086 option when packing?

Because the option is not listed unless you know to look for it as advanced 
option?  Because I don't have an 8086 to test and until just now, nobody 
else on the list had one available, so it didn't matter?  Because it still 
might not work ?  Or, because it adds 13 bytes to each executable size?

Not good enough?  Probably not.  I'll compress EMM386 with the option next 
time, but unless a person with an 8086 is available for pre-testing, it may 
not make a difference.  Does anybody here have an 8086 and can act as a 
test subject in a reasonable turn-around time frame?

Right now I'm just holding the minor NOALTBOOT change to see if anything 
else is needed before 1.0, so I'll --8086 the executable when it goes out.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] Installing with singlestepping doesn't seem to work.

2006-08-23 Thread Arkady V.Belousov
Hi!

18-Авг-2006 21:04 [EMAIL PROTECTED] (Markus Laire) wrote to
freedos-devel@lists.sourceforge.net:

A:\if not errorlevel 4 getargs  temp.bat [Yes=ENTER, No=ESC] ?
ML # I needed to press ENTER twice on the line above

 This is right: first time you confirm if not errorlevel, second time
you config echo. Same as in MS-command.com. Difference is that, unlike
MS-command.com, FreeCOM wrongly send prompt for nested command to file,
which used for redirection (temp.bat).

A:\call temp.bat [Yes=ENTER, No=ESC] ?
A:\temp.bat [Yes=ENTER, No=ESC] ?
A:\A:\getargs  [Yes=ENTER, No=ESC] ?  [Yes=ENTER, No=ESC] ?
-^^

 This is what I mean. But, unfortunately, with MS-command.com you also
don't get valid redirected file, because it puts to redirected file answer
Y (in any case, when you press Enter or Y). Fortunately, for FreeCOM I fix
this bug - so watch, when Blair accept this patch.

A:\if exists FDCD0001 devload /h /qq crdcache.sys FDCD0001 CDRCACH1 1024 
NUL [Yes=ENTER, No=ESC] ?
ML # I needed to press ENTER twice on the line above

 Same as above - nested command.

X:\del z:\drvlist.txt [Yes=ENTER, No=ESC]?
x:\rem shsurdrv /qq /uNUL [Yes=ENTER, No=ESC] ?
X:\if !C: [Yes=E==! set destdrv=C: [Yes=ENTER, No=ESC] ?

 This something new. Interesting, what will happen with my patch? If
similar trouble happen, then there is one more bug.

ML X:\FREEDOS\SETUP\INSTALLrem Do not CALL this, but let it be the
ML end-option. [Yes=ENTER, No=ESC] ?
ML X:\FREEDOS\SETUP\INSTALLrem But what about the INSTALLER not being
ML run? how to solve that? [Yes=ENTER, No=ESC] ?

 Nice comments. :) Blair, you should definitely add colon : before
these lines to eliminates stepping through them.


18-Авг-2006 20:12 [EMAIL PROTECTED] (Eric Auer) wrote to
freedos-devel@lists.sourceforge.net:

EA I suggest that the
EA command [Yes=ENTER, No=ESC] ? string itself should
EA NOT be subjected to possible redirection. Will solve
EA most of the problems that you mention to force that
EA text to go to stderr. Possibly even ignoring CTTY,
EA but at least ignoring redirection.

 I get better - I (temporarily) revert redirection to original one when
showing prompt for nested commands with redirection. Ie., now prompts output
to/from same place, where they output for first command. Ie., if CTTY works
with single-stepping over non-redirected/non-nested commands, then it should
work also with nested redirected commands.

EA This can be less trivial than it sounds, so as soon
EA as somebody has a patch to implement it, I would like
EA to see the patch before it gets used...

 See my previous letters.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Arkady V.Belousov
Hi!

23--2006 16:54 [EMAIL PROTECTED] (Michael Devore) wrote to
freedos-devel@lists.sourceforge.net:

UPX.  Why you don't use --8086 option when packing?
MD option?  Because I don't have an 8086 to test and until just now, nobody
MD else on the list had one available, so it didn't matter?  Because it still
MD might not work ?

 But then it will be trouble/bug of HIMEM/EMM386 itself, not UPX.

MD Or, because it adds 13 bytes to each executable size?

 13? This value is small in absolute measure and in relative measure (it
is only 0.16% even for HIMEM) and this value not forces program image to
cross sector boundary.

MD Not good enough?  Probably not.  I'll compress EMM386 with the option next
MD time,

 It will be fine.

MD but unless a person with an 8086 is available for pre-testing, it may

 Isn't your emulators allow to emulate 8086?

MD not make a difference.  Does anybody here have an 8086 and can act as a
MD test subject in a reasonable turn-around time frame?

 You yourself?

MD Right now I'm just holding the minor NOALTBOOT change to see if anything
MD else is needed before 1.0, so I'll --8086 the executable when it goes out.

 Fine.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Lyrical Nanoha
On Wed, 23 Aug 2006, Michael Devore wrote:

 Not good enough?  Probably not.  I'll compress EMM386 with the option next
 time, but unless a person with an 8086 is available for pre-testing, it may
 not make a difference.  Does anybody here have an 8086 and can act as a
 test subject in a reasonable turn-around time frame?

The best I can do is try it in MESS's ibmpca or t1000hx profiles... (ROMs? 
I got my own Tandy romdumps here somewhere...)

-uso.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Michael Devore
At 02:21 AM 8/24/2006 +0400, Arkady V.Belousov wrote:

MD but unless a person with an 8086 is available for pre-testing, it may

  Isn't your emulators allow to emulate 8086?

Isn't anything in VPC or Qemu, unless it's a hidden advanced option like 
UPX does.  Somebody could develop a single-stepper that checks each opcode 
and branches on disallowed CPU levels, but it ain't going to be me.

MD not make a difference.  Does anybody here have an 8086 and can act as a
MD test subject in a reasonable turn-around time frame?

  You yourself?

Nope, I haven't had an 8086 in over a decade.  Maybe two.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Michael Devore
At 06:22 PM 8/23/2006 -0400, Lyrical Nanoha wrote:
On Wed, 23 Aug 2006, Michael Devore wrote:

  Not good enough?  Probably not.  I'll compress EMM386 with the option next
  time, but unless a person with an 8086 is available for pre-testing, it may
  not make a difference.  Does anybody here have an 8086 and can act as a
  test subject in a reasonable turn-around time frame?

The best I can do is try it in MESS's ibmpca or t1000hx profiles... (ROMs?
I got my own Tandy romdumps here somewhere...)

Welp, anyone who has an 8088 or 8086, or 80186 or 80188, or 80286, can try 
test EXE's at ftp://ftp.devoresoftware.com/download/emm386 called 
HIMKIK86.EXE and EMMKIK86.EXE for --8086 compressed HIMEM and EMM386, 
respectively, and report their results.  It should kick out a message for 
sub-386.  Maybe it will work, maybe not, but at least we'll know.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Michael Devore
At 05:25 PM 8/23/2006 -0500, I wrote:

 MD not make a difference.  Does anybody here have an 8086 and can act as a
 MD test subject in a reasonable turn-around time frame?
 
   You yourself?

Nope, I haven't had an 8086 in over a decade.  Maybe two.

Come to think of it, it wasn't an 8086 or an 8088.  It was that super-duper 
upgrade chip:  the semi-marvelous and hemi-magical V20.

Claimed increase in performance from 8088:  30%.  Real world increase: 
5-10%.  Oh well, I think it only cost about thirty bucks at the time.

V20 probably tests out as an 80188 in the CPU routine, so it should fail 
with message as well the others, for anyone hanging on the NEC wonder chips 
of history.  Same results as with a V30.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Arkady V.Belousov
Hi!

24-Авг-2006 01:01 [EMAIL PROTECTED] (Japheth) wrote to
freedos-devel@lists.sourceforge.net:

 Welp, anyone who has an 8088 or 8086, or 80186 or 80188, or 80286, can try
 test EXE's at ftp://ftp.devoresoftware.com/download/emm386 called
 HIMKIK86.EXE and EMMKIK86.EXE for --8086 compressed HIMEM and EMM386,
 respectively, and report their results.  It should kick out a message for
 sub-386.  Maybe it will work, maybe not, but at least we'll know.
J It won't work, because the driver interrupt routine calls go_driver_entry,
J which as it's very first task pushes a lot of 32bit registers.

 ...and this was long ago reported by Eric.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Michael Devore
At 03:23 AM 8/24/2006 +0400, Arkady V.Belousov wrote:
Hi! 24-á×Ç-2006 01:01 [EMAIL PROTECTED] (Japheth) wrote to 
freedos-devel@lists.sourceforge.net:  Welp, anyone who has an 8088 or 
8086, or 80186 or 80188, EMM386,  respectively, and report their 
results.  It should kick out a message for  sub-386.  Maybe it will 
work, maybe not, but at least we'll know. J It won't work, because the 
driver interrupt routine calls go_driver_entry, J which as it's very 
first task pushes a lot of 32bit registers.  ...and this was long ago 
reported by Eric.

No, Eric reported, multiple times, about SY3PACK which is no longer 
used.  And as I recall, you were posting about the CPU test code recently.

I'd like someone to actually run it on a chip and see what happens anyway.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] mem on xt

2006-08-23 Thread Blair Campbell
Hehe, I had a card for our 8088 that accelerated it to faster-than-286
speed according to the manual.  I think it helped to accept the 286
instruction set as well.  You could turn it on and off via a switch.

On 8/23/06, Michael Devore [EMAIL PROTECTED] wrote:
 At 05:25 PM 8/23/2006 -0500, I wrote:

  MD not make a difference.  Does anybody here have an 8086 and can act as a
  MD test subject in a reasonable turn-around time frame?
  
You yourself?
 
 Nope, I haven't had an 8086 in over a decade.  Maybe two.

 Come to think of it, it wasn't an 8086 or an 8088.  It was that super-duper
 upgrade chip:  the semi-marvelous and hemi-magical V20.

 Claimed increase in performance from 8088:  30%.  Real world increase:
 5-10%.  Oh well, I think it only cost about thirty bucks at the time.

 V20 probably tests out as an 80188 in the CPU routine, so it should fail
 with message as well the others, for anyone hanging on the NEC wonder chips
 of history.  Same results as with a V30.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Freedos-devel mailing list
 Freedos-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/freedos-devel



-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel