From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-97638-garchives=archives.gentoo.org@lists.gentoo.org>) id 1MNU9q-0000HW-FZ for garchives@archives.gentoo.org; Sun, 05 Jul 2009 16:01:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 675F3E0564; Sun, 5 Jul 2009 16:01:37 +0000 (UTC) Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by pigeon.gentoo.org (Postfix) with ESMTP id 32F3AE0564 for <gentoo-user@lists.gentoo.org>; Sun, 5 Jul 2009 16:01:37 +0000 (UTC) Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id B12877BC98; Sun, 5 Jul 2009 12:01:36 -0400 (EDT) Date: Sun, 5 Jul 2009 12:01:36 -0400 From: David Relson <relson@osagesoftware.com> To: gentoo-user@lists.gentoo.org Cc: waltdnes@waltdnes.org Subject: Re: [gentoo-user] DOSEMU Message-ID: <20090705120136.4a0eb4fc@osage.osagesoftware.com> In-Reply-To: <20090705132441.GA9401@waltdnes.org> References: <20090704163816.6f1d35a6@osage.osagesoftware.com> <20090704223421.GA1076@princeton.edu> <20090704193931.6c08fd27@osage.osagesoftware.com> <20090705132441.GA9401@waltdnes.org> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; x86_64-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 433eafe8-fb66-48b5-8942-22e8f1b9896f X-Archives-Hash: 44a43283a206736c964604fb870393f4 Hello Walter, Your response is much appreciated (see notes below). David On Sun, 5 Jul 2009 09:24:41 -0400 Walter Dnes wrote: > On Sat, Jul 04, 2009 at 07:39:31PM -0400, David Relson wrote > > > > Perhaps you should try to enable the svga use flag? > > > > Worth a try, though VGA graphics are all that's needed ... > > You need svgalib not for the resolution, but for the ability to do > graphics on a text console. Before you build anything I recommend > doing 2 things... > > 1) putting "-svga" in USE in /etc/make.conf > > svga has to pound away directly at I/O ports in order to do graphics > in a text console. This requires root-level permissions. So dosemu > will need to run either setuid or setgid. If you put "svga" in your > main USE variable, you'll find *A LOT* of stuff will eventually be > linked to the svga libs and it will all need to run either setuid or > setgid svga isn't in /etc/make.conf, so dosemu was built with -svga. > 2) putting the line... > > app-emulation/dosemu svga > > ...in /etc/portage/package.use so that only dosemu links to the svga > libs and needs to run setuid/setgid. has been added > Note that you should really be running dosemu *FROM A TEXT CONSOLE* > in order to emulate running in DOS on a 486SX. An optional flag is > "gpm", which links in support for using the mouse on a text console. > Does your program, or any other program you run in dosemu, require > mouse support? The target device has limited storage and doesn't have X. For sure, the goal is "command line; _no_ X". Running on the application on the target just gives a black screen, so I needed to see if another environment would give a different result. Also, I was using a pre-built binary of dosemu and don't know what options it was built with. FWIW, my 32-bit gentoo system has an AMD Geode LX graphics chip and DOSEMU complains of access to port 0xAC1C which is part of the linux kernel's geode drive which is defined in asm/geode.h as #define VSA_VRC_INDEX 0xAC1C Does DOSEMU have any expectations of a kernel built with a generic VGA driver? > Plan B) If all else fails, enter the line... > > games-emulation/dosbox svga I am but vaguely aware of dosbox and it's on my list of things to try. I appreciate your mentionning it. > ...in /etc/portage/package.use and remember "-svga" in USE. Then > "emerge --ask dosbox". Same notes about svga apply here. dosbox is > damn good for DOS emulation. I've run QBASIC, and dBASE IV complete > with DOS-4GW memory extender under dosbox, as well as a bunch of > *REALLY* old DOS games. What takes the cake is that I was actually > able to install Windows 3.1 in dosbox, just like the "good-ole-days" > when you installed Windows over DOS. This was to run an ancient > Chessmaster 3000 game. It runs under either Win3.1 or Win95, but I > never could get it working under WINE. Under Windows 3.1 on dosbox, > the emulation is perfect, and Chessmaster 3000 whips me mercilessly, > just like before. > > -- > Walter Dnes <waltdnes@waltdnes.org>