From: Bart Oldeman <bartoldeman@users.sourceforge.net>
To: Frantisek Rysanek <Frantisek.Rysanek@post.cz>
Cc: linux-msdos@vger.kernel.org
Subject: Re: DosEMU, Ghost: VGA screen garbled...
Date: Fri, 18 Sep 2009 12:00:54 -0400 [thread overview]
Message-ID: <c3d607cc0909180900u258fdb84ne11654bd03ec7fbf@mail.gmail.com> (raw)
In-Reply-To: <4AB21853.7505.A35BC3@Frantisek.Rysanek.post.cz>
On Thu, Sep 17, 2009 at 5:06 AM, Frantisek Rysanek
<Frantisek.Rysanek@post.cz> wrote:
> I thought I didn't need "-s" if I was logged in as root (because I
> noticed that that way, DOSEMU asks for /usr/bin/sudo). This is not
> entirely true, there's more to "-s" than just the sudo. It
> effectively tells DOSEMU "don't be shy, feel free to do all the stuff
> that you need the root privileges for".
exactly. It's just a way to avoid running "dosemu" as root and
accidentally crashing the system because direct hardware access
doesn't work.
By the way, it looks like with KMS (kernel modesetting) direct console
graphics can't work: VGA text mode is entirely unsupported then. I
will see about adding a check for that.
> -V looks like a "video mode sanitizer", can't say if it has any
> effect in my case or not...
-V just does the same thing as setting "$_graphics=(1)", i.e. the
switch has no effect if $_graphics is already set that way.
> -d = "detach". I can see that the dosemu command returns to the shell
> immediately, but only after it has "forked a demon", that in turn
> attaches to the first free virtual console. It also switches you
> straight to the newly picked console that dosemu has attached to, so
> you don't quite notice, until you try switching consoles using
> CTRL+ALT+Fx :-)
Yes, it works like X that way.
Thanks for your patch for wholedisk. I adjusted it a bit also after
reading a bit of Linux fdisk source code: just unconditionally ignore
the cylinder value from HDIO_GETGEO and compute it instead. In fact
HDIO_GETGEO gives bogus info so I changed it to look at the MBR as
well to determine CHS limits. It's now in SVN.
Bart
next prev parent reply other threads:[~2009-09-18 16:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 22:47 DosEMU, Ghost: VGA screen garbled Frantisek Rysanek
2009-09-15 6:46 ` Frantisek Hanzlik
2009-09-15 7:41 ` Frantisek Rysanek
2009-09-15 11:53 ` Richard
2009-09-17 9:06 ` Frantisek Rysanek
2009-09-18 16:00 ` Bart Oldeman [this message]
2009-09-18 19:11 ` Alain Mouette
2009-09-20 20:25 ` DOSEMU VGA graphics on a FrameBuffer (Was: Re: DosEMU, Ghost: VGA screen garbled...) Frantisek Rysanek
2009-09-21 18:58 ` Alain Mouette
2009-09-20 20:05 ` Linux vs. DOSEMU geometry " Frantisek Rysanek
2009-09-24 15:42 ` Bart Oldeman
2009-10-05 21:52 ` Frantisek Rysanek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3d607cc0909180900u258fdb84ne11654bd03ec7fbf@mail.gmail.com \
--to=bartoldeman@users.sourceforge.net \
--cc=Frantisek.Rysanek@post.cz \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox