All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] (1) Xcode project?, (2) adding functionality
@ 2005-04-08 16:06 Thomas Harte
  2005-04-08 16:26 ` Hetz Ben Hamo
  2005-04-08 17:23 ` Pierre d'Herbemont
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Harte @ 2005-04-08 16:06 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]

I'm an 'experienced' emulator author and I have recently moved to Mac OS X. I've never really been a UNIX user before, so I don't know GNU makefiles. In my Microsoft past I always used some IDE or another to shield me from that stuff, from RHide in the dim distant past to MSVC.

I would like to modify Qemu in order to add support for a few devices not currently emulated. I'm hoping this will be as simple as informing the existing Qemu source of my new device by editing whatever array or data structure controls what is visible on the PCI bus and directing it to pass memory reads and writes within a certain range to my code. However I'm having difficulty finding my way around.

I'm becoming reasonably friendly with Apple's Xcode, so my first question is whether anybody has bothered to compile an Xcode project for Qemu? Otherwise I will have to seriously sit down with a guide to GNU makefiles in order to make one myself and as I have no other general interest in them I was hoping I might be able to skip this step. Otherwise, I guess it'll be good for me!

My second question is whether anybody has written a quick start guide for adding new modules to the Qemu source, or indeed any sort of documentation at all that might help me get going?

My vague aim is to attempt a 3dfx driver first (don't anybody get excited, I'll probably fail) as the specs for that suggest it would be relatively easy to get something that works a little going quite quickly, especially as it is a pure rasterisation device. Give or take window sharing problems with the existing Cirrus. Has anybody already started or attempted such a thing? I checked out the archive and found some references implying nothing had been done last July but that does leave an 8 month gap when someone may have done something.

-Thomas

Lycos email has now 300 Megabytes of free storage... Get it now at mail.lycos.co.uk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] (1) Xcode project?, (2) adding functionality
  2005-04-08 16:06 [Qemu-devel] (1) Xcode project?, (2) adding functionality Thomas Harte
@ 2005-04-08 16:26 ` Hetz Ben Hamo
  2005-04-08 17:23 ` Pierre d'Herbemont
  1 sibling, 0 replies; 3+ messages in thread
From: Hetz Ben Hamo @ 2005-04-08 16:26 UTC (permalink / raw)
  To: qemu-devel, thomasharte

Hi Thomas,

On Apr 8, 2005 6:06 PM, Thomas Harte <thomasharte@lycos.co.uk> wrote:
> I'm an 'experienced' emulator author and I have recently moved to Mac OS X. I've never really been a UNIX user before, so I don't know GNU makefiles. In my Microsoft past I always used some IDE or another to shield me from that stuff, from RHide in the dim distant past to MSVC.

Well, you can use KDevelop, Eclipse or stuff like that, but you're
already moved to OS X, so any experience in Makefiles in OS X can help
you in the Linux/Unix world as well. the Make files in QEMU are not
that hard compared to the standard "configure" scripts found on many
packages (like GNOME or KDE) which they heavily use languages like M4
(which is a nightmare!). I think that if you'll dig a bit in the
makefiles, you'll find it's not that hard..
 
> I would like to modify Qemu in order to add support for a few devices not currently emulated. I'm hoping this will be as simple as informing the existing Qemu source of my new device by editing whatever array or data structure controls what is visible on the PCI bus and directing it to pass memory reads and writes within a certain range to my code. However I'm having difficulty finding my way around.

Care to say which devices? maybe someone else on the list has
(silently) started to implement some things that you think to
implement..
 
> I'm becoming reasonably friendly with Apple's Xcode, so my first question is whether anybody has bothered to compile an Xcode project for Qemu? Otherwise I will have to seriously sit down with a guide to GNU makefiles in order to make one myself and as I have no other general interest in them I was hoping I might be able to skip this step. Otherwise, I guess it'll be good for me!

See above.
 
> My second question is whether anybody has written a quick start guide for adding new modules to the Qemu source, or indeed any sort of documentation at all that might help me get going?

I haven't seen any quick start documentation that someone written but:

1. QEMU code is not THAT big. It is seperated nicely to parts so you
can look around in the code for which parts you're looking for.
2. Have a look here: http://www.dad-answers.com/qemu/patches/ - there
are some patches which add few devicees, so you might want to see how
the authors added devices (I'm not sure that those patches will apply
cleanly today, though..)
3. Feel free to ask here in this list your questions..
4. Few developers are available sometimes on IRC (irc.freenode.net
channel: #qemu) - so you can ask there too..
 
> My vague aim is to attempt a 3dfx driver first (don't anybody get excited, I'll probably fail) as the specs for that suggest it would be relatively easy to get something that works a little going quite quickly, especially as it is a pure rasterisation device. Give or take window sharing problems with the existing Cirrus. Has anybody already started or attempted such a thing? I checked out the archive and found some references implying nothing had been done last July but that does leave an 8 month gap when someone may have done something.

The Cirrus Logic was because it's drivers are available to almost any
OS, and as far as I heard from developers, it wasn't that hard to
implement. As for 3DFX, I think that 2D is still slow, so 3D going is
going to be extremly slow. However - it's your time and skills, so any
new stuff will be mostly welcome :)

Welcome aboard,
Hetz

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] (1) Xcode project?, (2) adding functionality
  2005-04-08 16:06 [Qemu-devel] (1) Xcode project?, (2) adding functionality Thomas Harte
  2005-04-08 16:26 ` Hetz Ben Hamo
@ 2005-04-08 17:23 ` Pierre d'Herbemont
  1 sibling, 0 replies; 3+ messages in thread
From: Pierre d'Herbemont @ 2005-04-08 17:23 UTC (permalink / raw)
  To: qemu-devel, Thomas Harte

Selon Thomas Harte <thomasharte@lycos.co.uk>:


> I'm becoming reasonably friendly with Apple's Xcode, so my first question is
> whether anybody has bothered to compile an Xcode project for Qemu? Otherwise
> I will have to seriously sit down with a guide to GNU makefiles in order to
> make one myself and as I have no other general interest in them I was hoping
> I might be able to skip this step. Otherwise, I guess it'll be good for me!

I would recommend you to use/edit the Makefiles for the build process. Xcode
projects are not really good for cross-platform development.

Pierre.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-08 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-08 16:06 [Qemu-devel] (1) Xcode project?, (2) adding functionality Thomas Harte
2005-04-08 16:26 ` Hetz Ben Hamo
2005-04-08 17:23 ` Pierre d'Herbemont

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.