From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain Mouette Subject: Re: DosEMU, Ghost: VGA screen garbled... Date: Fri, 18 Sep 2009 16:11:18 -0300 Message-ID: <4AB3DB56.2060102@pobox.com> References: <4AAEE418.24404.972E06@Frantisek.Rysanek.post.cz> <4AAF8030.3040405@liverpool.ac.uk> <4AB21853.7505.A35BC3@Frantisek.Rysanek.post.cz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: dosEmu-list Would it be possible to run dosemu over a simple system like framebuffer? I am interested in making a simple linux, with something like BusyBox, only to run dos programs... Alain Bart Oldeman escreveu: > On Thu, Sep 17, 2009 at 5:06 AM, Frantisek Rysanek > 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 > -- > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >