From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BM9Y7-00080W-2P for qemu-devel@nongnu.org; Fri, 07 May 2004 13:54:15 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BM9Xa-0007v8-Gd for qemu-devel@nongnu.org; Fri, 07 May 2004 13:54:13 -0400 Received: from [128.187.28.163] (helo=mail.chem.byu.edu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.33) id 1BM9XZ-0007ug-S4 for qemu-devel@nongnu.org; Fri, 07 May 2004 13:53:42 -0400 Received: from [192.168.105.35] (isengard.chem.byu.edu [192.168.105.35]) by mail.chem.byu.edu (8.12.10/8.12.10) with ESMTP id i47HnqEl006556 for ; Fri, 7 May 2004 11:49:52 -0600 Subject: Re: [Qemu-devel] Porting/running to GP32 From: Michael L Torrie In-Reply-To: <200405070807.24266.MarkWatson@bcs.org.uk> References: <200405070807.24266.MarkWatson@bcs.org.uk> Content-Type: text/plain Message-Id: <1083952424.25237.2.camel@isengard> Mime-Version: 1.0 Date: Fri, 07 May 2004 11:53:44 -0600 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, 2004-05-07 at 01:07, Mark Watson wrote: > Hi, > > I've recently discovered QEMU when looking for ways to run Civilization (DOS > version) on my GP32! For those who do not know the GP32, it is an ARM9 based > handheld gaming device that runs at 150MHz max on 16-bit bus. It has 8MB RAM > only. In terms of libraries it has newlib and the GP32 SDK only. I'd be > pleased if it could emulate a 2MB 386 PC running at 16MHz ish -> using the > System emulation. Do you think that will be possible? Dunno, but if you're trying to run DOS applications, a better choice than qemu may be dosbox (http://dosbox.sourceforge.net). Dosbox may not be as fast as qemu, however, so that may not work for you. But dosbox does implement a very good DOS pc environment that needs to other operating system or video drivers. It provides standard vga (256-color) and sound blaster support for DOS apps. Michael > > Anyway I found QEMU and it looks great! I like the idea of dynamic compilation > using small C code ections. I'm trying to work out what I'll need to do in > order to get this working (and if it should be possible without too much > effort). Also to check no-one objects. Note that I plan to build using GCC > 3.4 cross compiling to arm-elf target. BTW what kind of state is the ARM Host > CPU support? Anyone successfully run DOS programs? > > I believe I will need to do at least the following: > i) Modify the sound emulation to talk directly to the GP32 sound hardware. > ii) Modify the video emulation to talk directly to the GP32 video hardware. > iii) Replace getopt with configuration file. > iv) Remove all (any?) Linux specific code sections. > iv) Modify build setup to only build x86 system emulation (with software mmu). > > I 'm sure I have missed _lots_ out here since I haven't looked at the source > much yet. I'd be grateful for any hints/suggestions as to what else I will > need to do. > > Thanks, > > Mark > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://mail.nongnu.org/mailman/listinfo/qemu-devel -- Michael L Torrie