Ryan C. Underwood | 18 Jan 19:35 2015
Picon

[PATCH] Retry opening MIDI output FIFO on writes.

From: "Ryan C. Underwood" <nemesis@...>

Now the user can start consuming MIDI data after dosemu has started,
instead of having to start over after realizing he forgot to start
his MIDI-consuming app.

Signed-off-by: Ryan C. Underwood <nemesis@...>
---
 src/plugin/midimisc/mid_o_pipe.c | 37 +++++++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 6 deletions(-)

diff --git a/src/plugin/midimisc/mid_o_pipe.c b/src/plugin/midimisc/mid_o_pipe.c
index eb45f64..633e3eb 100644
--- a/src/plugin/midimisc/mid_o_pipe.c
+++ b/src/plugin/midimisc/mid_o_pipe.c
 <at>  <at>  -41,10 +41,16  <at>  <at>  static int midopipe_init(void)
     pipe_fd =
 	RPT_SYSCALL(open(name, O_WRONLY | O_CREAT | O_NONBLOCK, 0666));
     if (pipe_fd == -1) {
-	S_printf("%s: unable to open %s for writing: %s\n",
-		 midopipe_name, name, strerror(errno));
-	return 0;
+	int err = errno;
+	S_printf("%s: unable to open %s for writing (%s)%s\n", midopipe_name, name,
+	    strerror(errno), errno == ENXIO ? ", will continue trying" : "");
+	if (err == ENXIO) { /* no FIFO readers */
+	    return 1;
+	} else { /* some other problem */
+	   return 0;
+	}
(Continue reading)

Ryan C. Underwood | 18 Jan 19:26 2015
Picon

[PATCH] Add XRandR support; rework input grabbing. (v2)

From: Ryan Underwood <nemesis@...>

XRandR support is fully added and works properly in a multihead configuration
if the user's version is at least 1.2.  It works basically like the existing
XVidMode code and is preferred whenever it is available.  It will also properly
restore the dosemu window's position when exiting fullscreen mode.

Keyboard and mouse grabbing had to be reworked to account for multihead (e.g.,
fullscreen DOS window on one output but with the ability to use applications on
a different output).

Signed-off-by: Ryan C. Underwood <nemesis@...>
---
 configure               |  80 +++++++++++++-
 configure.ac            |  17 +++
 src/include/config.h.in |   3 +
 src/plugin/X/X.c        | 280 ++++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 332 insertions(+), 48 deletions(-)

diff --git a/configure b/configure
index 1faf59f..bfa49e0 100755
--- a/configure
+++ b/configure
 <at>  <at>  -746,6 +746,7  <at>  <at>  with_slangdir
 with_x
 enable_mitshm
 enable_vidmode
+enable_xrandr
 enable_experimental
 enable_debug
(Continue reading)

Ryan C. Underwood | 18 Jan 19:09 2015
Picon

[PATCH] dosemu2: Add XRandR support; rework input grabbing

From: Ryan Underwood <nemesis@...>

XRandR support is fully added and works properly in a multihead configuration
if the user's version is at least 1.2.  It works basically like the existing
XVidMode code and is preferred whenever it is available.  It will also properly
restore the dosemu window's position when exiting fullscreen mode.

Keyboard and mouse grabbing had to be reworked to account for multihead (e.g.,
fullscreen DOS window on one output but with the ability to use applications on
a different output).

Signed-off-by: Ryan C. Underwood <nemesis@...>
---
 configure               |  80 +++++++++++++-
 configure.ac            |  17 +++
 src/include/config.h.in |   3 +
 src/plugin/X/X.c        | 280 ++++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 332 insertions(+), 48 deletions(-)

diff --git a/configure b/configure
index 2d3dbac..2b1907d 100755
--- a/configure
+++ b/configure
 <at>  <at>  -749,6 +749,7  <at>  <at>  with_slangdir
 with_x
 enable_mitshm
 enable_vidmode
+enable_xrandr
 enable_experimental
 enable_debug
(Continue reading)

Ryan C. Underwood | 18 Jan 17:36 2015
Picon

[PATCH] Add XRandR support; rework input device grabbing.

From: "Ryan C. Underwood" <nemesis@...>

XRandR support is fully added and works properly in a multihead configuration
if the user's version is at least 1.2.  It works basically like the existing
XVidMode code and is preferred whenever it is available.  It will also properly
restore the dosemu window's position when exiting fullscreen mode.

Keyboard and mouse grabbing had to be reworked to account for multihead (e.g.,
fullscreen DOS window on one output but with the ability to use applications on
a different output).

Signed-off-by: Ryan C. Underwood <nemesis@...>
---
 configure.ac            |  17 +++
 src/include/config.h.in |   3 +
 src/plugin/X/X.c        | 275 ++++++++++++++++++++++++++++++++++++++++--------
 3 files changed, 252 insertions(+), 43 deletions(-)

diff --git a/configure.ac b/configure.ac
index a5b4df9..f444b31 100644
--- a/configure.ac
+++ b/configure.ac
 <at>  <at>  -376,6 +376,20  <at>  <at>  if test "$have_x" = "yes" ; then
                  [#include <X11/Xlib.h>])
     fi

+    AC_ARG_ENABLE(xrandr,
+              {  --disable-xrandr        do NOT use the XRandR extension])
+    if test "$enable_xrandr" != "no" ; then
+      AC_CHECK_LIB(Xrandr, XRRQueryVersion, enable_xrandr="yes", enable_xrandr="no")
(Continue reading)

Ryan C. Underwood | 18 Jan 07:18 2015
Picon

[PATCH] Add XRandR support; rework input device grabbing.

From: "Ryan C. Underwood" <nemesis@...>

XRandR support is fully added and works properly in a multihead configuration
if the user's version is at least 1.2.  It works basically like the existing
XVidMode code and is preferred whenever it is available.  It will also properly
restore the dosemu window's position when exiting fullscreen mode.

Keyboard and mouse grabbing had to be reworked to account for multihead (e.g.,
fullscreen DOS window on one output but with the ability to use applications on
a different output).

Signed-off-by: Ryan C. Underwood <nemesis@...>
---
 configure.ac            |  17 +++
 src/include/config.h.in |   3 +
 src/plugin/X/X.c        | 275 ++++++++++++++++++++++++++++++++++++++++--------
 3 files changed, 252 insertions(+), 43 deletions(-)

diff --git a/configure.ac b/configure.ac
index a5b4df9..f444b31 100644
--- a/configure.ac
+++ b/configure.ac
 <at>  <at>  -376,6 +376,20  <at>  <at>  if test "$have_x" = "yes" ; then
                  [#include <X11/Xlib.h>])
     fi

+    AC_ARG_ENABLE(xrandr,
+              {  --disable-xrandr        do NOT use the XRandR extension])
+    if test "$enable_xrandr" != "no" ; then
+      AC_CHECK_LIB(Xrandr, XRRQueryVersion, enable_xrandr="yes", enable_xrandr="no")
(Continue reading)

Ryan C. Underwood | 18 Jan 07:15 2015
Picon

[PATCH] Add XRandR support; rework input device grabbing.

From: "Ryan C. Underwood" <nemesis@...>

XRandR support is fully added and works properly in a multihead configuration
if the user's version is at least 1.2.  It works basically like the existing
XVidMode code and is preferred whenever it is available.  It will also properly
restore the dosemu window's position when exiting fullscreen mode.

Keyboard and mouse grabbing had to be reworked to account for multihead (e.g.,
fullscreen DOS window on one output but with the ability to use applications on
a different output).

Signed-off-by: Ryan C. Underwood <nemesis@...>
---
 configure.ac            |  17 +++
 src/include/config.h.in |   3 +
 src/plugin/X/X.c        | 275 ++++++++++++++++++++++++++++++++++++++++--------
 3 files changed, 252 insertions(+), 43 deletions(-)

diff --git a/configure.ac b/configure.ac
index a5b4df9..f444b31 100644
--- a/configure.ac
+++ b/configure.ac
 <at>  <at>  -376,6 +376,20  <at>  <at>  if test "$have_x" = "yes" ; then
                  [#include <X11/Xlib.h>])
     fi

+    AC_ARG_ENABLE(xrandr,
+              {  --disable-xrandr        do NOT use the XRandR extension])
+    if test "$enable_xrandr" != "no" ; then
+      AC_CHECK_LIB(Xrandr, XRRQueryVersion, enable_xrandr="yes", enable_xrandr="no")
(Continue reading)

Ryan C. Underwood | 18 Jan 06:51 2015
Picon

[PATCH] Add XRandR support; rework input device grabbing.

From: "Ryan C. Underwood" <nemesis@...>

XRandR support is fully added and works properly in a multihead configuration
if the user's version is at least 1.2.  It works basically like the existing
XVidMode code and is preferred whenever it is available.  It will also properly
restore the dosemu window's position when exiting fullscreen mode.

Keyboard and mouse grabbing had to be reworked to account for multihead (e.g.,
fullscreen DOS window on one output but with the ability to use applications on
a different output).

Signed-off-by: Ryan C. Underwood <nemesis@...>
---
 configure.ac            |  17 +++
 src/include/config.h.in |   3 +
 src/plugin/X/X.c        | 275 ++++++++++++++++++++++++++++++++++++++++--------
 3 files changed, 252 insertions(+), 43 deletions(-)

diff --git a/configure.ac b/configure.ac
index a5b4df9..f444b31 100644
--- a/configure.ac
+++ b/configure.ac
 <at>  <at>  -376,6 +376,20  <at>  <at>  if test "$have_x" = "yes" ; then
                  [#include <X11/Xlib.h>])
     fi

+    AC_ARG_ENABLE(xrandr,
+              {  --disable-xrandr        do NOT use the XRandR extension])
+    if test "$enable_xrandr" != "no" ; then
+      AC_CHECK_LIB(Xrandr, XRRQueryVersion, enable_xrandr="yes", enable_xrandr="no")
(Continue reading)

Stas Sergeev | 20 Sep 19:27 2014
Picon

merge devel and release something

Hi.

I think enough is enough, and I am going to merge
devel branch into master and then perhaps upload
the tarballs.
People do not know about the devel branch, but it
works much better than master.

The only reason I didn't merge devel before, is because
it has this commit:
https://sourceforge.net/p/dosemu/code/ci/a1dff2a15698efc4f400812993ec819ea7091439/
which Bart called a re-licensing. I of course do not
want to do any re-licensing, but the intention of that
change is to allow contributing under "GPLv2 or later".
We already have enough of such a code (all my code,
and not only that), so that clause I removed, was
invalidated long ago. There is simply no other way than
to remove it.

So if there is no evidence this is something that should
not be done, I am going to merge things. devel right
now includes over a year of development! It can't be
allowed to rot.

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
Stas Sergeev | 3 Jun 21:32 2014
Picon

Re: Running win.com from Chicago (alpha version of Win95)

03.06.2014 22:31, Eric Auer пишет:
> Hi!
>
>> The proper win31 support happened because an author of hx
>> extender shared a few tricks with us how to do that. That even
>> involved things contradicting with the dpmi specs. He wrote
>> hdpmi server that was able to run win31 before dosemu did.
> Interesting! When was that and which anti-specs features
> were required? Maybe you can email details to the list?
Eric, there is no secret here, but this was so long ago
that it is mostly lost.
What do you want to do with that info? Write your own
dpmi server?
For example he suggested to alter the exception routing
rules. While dpmi spec says unhandled exceptions 1..5 and 7
should generate real-mode interrupts, he suggested to
call the protected-mode handlers instead, and if there
are none - terminate the client, but never call the real-mode
interrupt the way spec does.
Also there are many undocumented things, for instance,
the limit of LDT selector must dynamically grow when
you allocate the descriptors in LDT.
There is a summary on undocumented DPMI:
ftp://ifctfvax.harhan.org/pub/micro/msdos/above640k/TrueDPMI/dpmiext.txt
but it documents actually nothing of what we didn't know
ourselves. The most important and difficult to discover
things are not in that doc.

After that, I did an attempt to port dosemu's PM api
translator to DOS. The idea was to make it runnable
(Continue reading)

Stas Sergeev | 1 Jun 10:35 2014
Picon

Re: Running win.com from Chicago (alpha version of Win95)

30.05.2014 01:39, Julius Schwartzenberg пишет:
> Yes, of course. But it'd still be really cool if it could work in 
> DOSEMU :) 
Were you running it after booting in its own DOS?
It will not work with freedos or even MS-DOS other
than its own.

Also, are you aware about HX dos extender?
It has a win32 support built-in and works in dosemu.
Of course I admit that running a kind of win95 would
be a good demo of dosemu's abilities. :)

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel
Julius Schwartzenberg | 29 May 12:22 2014
Picon

Running win.com from Chicago (alpha version of Win95)

Hi,

When I run win.com from Chicago in DOSEMU, I immediately get my prompt
back. It seems nothing happens then. Could it be possible that some
detection that Windows is already running is triggered and that win.com
is written to not do anything then?

Did anybody every try to run Chicago in DOSEMU?

Best regards,
Julius

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet

Gmane