FYI here is the configure string that you will need.
./configure --target-list=i386-softmmu --cc=/usr/bin/gcc-3.3 --host-cc=/usr/bin/gcc-3.3 --enable-coreaudio --enable-cocoa
if you have gcc 4 as your default CC it'll screw up the build process & produce missing opcodes.
I'll post back with patches for the busmouse DMA & IRQ and whatnot.
Here are the patches for 0.9.0
http://www.vaxenrule.com/NextSTEP%2033/patchesforNeXTSTEP-on-Qemu-0.9.diffHere is how I am building on OSX 10.4.10 PowerPC
first download & unpack qemu
cd $HOME
mkdir qemu
cd qemu
curl
http://fabrice.bellard.free.fr/qemu/qemu-0.9.0.tar.gz > qemu-0.9.0.tar.gz
Then extract
tar zxf qemu-0.9.0.tar.gz
Download the patch
curl
http://www.vaxenrule.com/NextSTEP%2033/patchesforNeXTSTEP-on-Qemu-0.9.diff > patchesforNeXTSTEP-on-Qemu-0.9.diff
install the patch & configure
cd qemu-0.9.0
patch -p1 < ../patchesforNeXTSTEP-on-Qemu-0.9.diff
patching file Makefile.target
patching file hw/busmouse.c
patching file hw/dma.c
patching file hw/i8259.c
patching file hw/pc.c
patching file hw/ps2.c
patching file hw/sb16.c
patching file vl.h
$./configure --target-list=i386-softmmu --cc=/usr/bin/gcc-3.3 --host-cc=/usr/bin/gcc-3.3 --enable-coreaudio --enable-cocoa
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /Users/jsteve/src/qemu/dry/qemu-0.9.0
C compiler /usr/bin/gcc-3.3
Host C compiler /usr/bin/gcc-3.3
make make
install install
host CPU powerpc
host big endian yes
target list i386-softmmu
gprof enabled no
profiler no
static build no
Cocoa support yes
SDL support no
mingw32 support no
Adlib support no
CoreAudio support yes
ALSA support no
DSound support no
FMOD support no
kqemu support no
Documentation yes
$make
I'm assuming that with the coreaudio & coca you don't have to worry about SDL.. Oh and that you have zlib aready installed.
You can get a binary here:
http://www.vaxenrule.com/NextSTEP%2033/qemu-0.9.0-osx-10.4-PowerPC
Sweet! Now I'll have to try Qemu on my PPC Macs!
you'll like it.. other than it only works in 640x480 vga....
That's just a Qemu limitation? (I'm not very familiar with it)
PS. Did you write these patches recently or have they been around for a long time? (I've not stumbled upon them before)
Quote from: "da9000"That's just a Qemu limitation? (I'm not very familiar with it)
PS. Did you write these patches recently or have they been around for a long time? (I've not stumbled upon them before)
I wish, I found the busmouse patches via google.. I forget the guy's name, but I think he's German...?
The only 'patch' I did on this set was to change the soundblaster IRQ. I have written a patch to support libpcap so that I can use NovellNetware 3.12 on native networks... Yeah I know it's a weird one.
Oh the VGA card that is emulated doesn't play nice nice with qemu.. But I'm starting to suspect its's something with it's bios.. I mean to buy a card like it and dump its bios to see.
Quote from: "neozeed"I wish, I found the busmouse patches via google.. I forget the guy's name, but I think he's German...?
The only 'patch' I did on this set was to change the soundblaster IRQ. I have written a patch to support libpcap so that I can use NovellNetware 3.12 on native networks... Yeah I know it's a weird one.
Nice! It's a weird one - I wouldn't have run into it for sure :)
Quote from: "neozeed"
Oh the VGA card that is emulated doesn't play nice nice with qemu.. But I'm starting to suspect its's something with it's bios.. I mean to buy a card like it and dump its bios to see.
What kind of card does it emulate? Haven't check it out yet..
The vide card is a Cirrus CLGD 54xx emulator
the current qemu initalizes as a 5446
For anyone interested I've included a win32 build with the aformentioned patches:
http://www.vaxenrule.com/Shared%20Documents/qemu-0.9.0-PatchedforNeXTSTEP.zip
looks like something happened to those links...
can't get 'em...
Would you be so kind as to post the diff here, or the binary?
Thanks!
Quote from: "Korperlich"looks like something happened to those links...
can't get 'em...
Would you be so kind as to post the diff here, or the binary?
Thanks!
Yeah sorry about that, but my server took a dive when they decided to take the AC offline without telling me... Compaq 8 ways aren't known for their ability to run cool....
I don't think I can post binaries, can I? I still have my ppc, and the source kicking about so I can probably email the diff..
PM me an address.
I don't have your more recent stuff but I did grab the ones you posted back in 0.8.2 and I can put them in a download directory if needed. [For that matter if you want to send me any others I'll stick them all together]
I have these
[mgt@dwarfstar Openstep]$ ls Qemu_patches/
qemu-0.8.2-busmouse.diff qemu-0.8.2-sound-blaster-irq-7.diff
qemu-0.8.2-pcap.diff
Which worked to get the Linux version going.... Which leads me to a question has anyone tried -net nic -net tap with Openstep to see if networking will work if you have a bridge and tap setup?
-Mike
Quote from: "mgtremaine"I don't have your more recent stuff but I did grab the ones you posted back in 0.8.2 and I can put them in a download directory if needed. [For that matter if you want to send me any others I'll stick them all together]
I have these
[mgt@dwarfstar Openstep]$ ls Qemu_patches/
qemu-0.8.2-busmouse.diff qemu-0.8.2-sound-blaster-irq-7.diff
qemu-0.8.2-pcap.diff
Which worked to get the Linux version going.... Which leads me to a question has anyone tried -net nic -net tap with Openstep to see if networking will work if you have a bridge and tap setup?
-Mike
I have all the patches on my laptop.. I'm on the road (again!) but hopefully in the next week or so vaxenrule.com will be online again...
Oh for what it's worth, I use the libpcap patches I did, since it's on more platforms than tun/tap... And to be perfectly honest I found setting up the libpcap far more easier than tun/tap.. Ie there is no ifconfig song & dance... I did have that 1 vm on the internet raw for over a month with a few gigabytes transfered across it, so I'd say the win32 version of it was stable for sure.. But I did build it under Linux & OSX, and I know it ran.....
neozeed,
Did you get qemu working w/ your libpcap patch on Solaris 10? I compiled the cvs version awhile back & used your pcap patch, but it didn't want to boot up my OPENSTEP image. I re-setup my linux box & was going to give it another shot this weekend. I was just curious. I'd like to have networking working on my setup on my Solaris 10 partition as well. Take care. :wink:
Quote from: "kb7sqi"neozeed,
Did you get qemu working w/ your libpcap patch on Solaris 10? I compiled the cvs version awhile back & used your pcap patch, but it didn't want to boot up my OPENSTEP image. I re-setup my linux box & was going to give it another shot this weekend. I was just curious. I'd like to have networking working on my setup on my Solaris 10 partition as well. Take care. :wink:
I'm going from my defective memory... well that and I'm in Miami, and after a 'team building' session so I'm... well kinda plastered..
I'm thinking I did a Solaris10 build somehwere between 0.82 & 0.9.. I don't recally offhand with the libpcap thing, but I wouldnt be surprised if I had to build a 'newer' libpcap myself bypassing what shipped with the OS..
I was thinking of putting vista ultimate on my sun20 to run media centre to keep my gf happy about the whole TV thing... (I dont have one) but I can at least compile something when I get back to NYC... I almost need a compile/test farm. :|
Thanks again for posting your efforts. I sat down and rebuilt my qemu setup [I just recently re-installed my desktop moving from Centos 5 [to Ubuntu 7.10 briefly] to Fedora 8. I built a patched version of qemu 0.9.0 just for nextstep/openstep using the busmouse, soundcard, cirrus_vga patches. I left out the pcap stuff becuase I already have the system running with bridges for each interface and I can report that using the tap system works fine. The Cirrus Device_ID hack works for NextStep [I'm running at 1024x768@75mhz 16bit] but it does not seem to work with OpenStep. Openstep has the driver built in but it does the typical black screen or poor color in various display modes.
Oh well a working NextStep 3.3 install is way cool. Now I can try doing some -NXhost stuff from the Black-hardware to the emulated.
-Mike
Quote from: "mgtremaine"Thanks again for posting your efforts. I sat down and rebuilt my qemu setup [I just recently re-installed my desktop moving from Centos 5 [to Ubuntu 7.10 briefly] to Fedora 8. I built a patched version of qemu 0.9.0 just for nextstep/openstep using the busmouse, soundcard, cirrus_vga patches. I left out the pcap stuff becuase I already have the system running with bridges for each interface and I can report that using the tap system works fine. The Cirrus Device_ID hack works for NextStep [I'm running at 1024x768@75mhz 16bit] but it does not seem to work with OpenStep. Openstep has the driver built in but it does the typical black screen or poor color in various display modes.
Oh well a working NextStep 3.3 install is way cool. Now I can try doing some -NXhost stuff from the Black-hardware to the emulated.
-Mike
On my trip to Miami, I actually found an old copy of my web server! Its 8 months old, but it has the screenshots for the nextstep install at a minimum.. :) All being well vaxenrule.com will be back online this week!
I'm just glad that the patches help someone out...
Oh and I hear that once you update OpenSTEP you get a VESA driver... So the video hack becomes kind of moot. I'm just hoping in my stacks of stuff my OpenSTEP disks are here somewhere...... But I've got all my nextstep 3.2 & 3.3 stuff.
Quote from: "mgtremaine"Thanks again for posting your efforts. I sat down and rebuilt my qemu setup [I just recently re-installed my desktop moving from Centos 5 [to Ubuntu 7.10 briefly] to Fedora 8. I built a patched version of qemu 0.9.0 just for nextstep/openstep using the busmouse, soundcard, cirrus_vga patches. I left out the pcap stuff becuase I already have the system running with bridges for each interface and I can report that using the tap system works fine. The Cirrus Device_ID hack works for NextStep [I'm running at 1024x768@75mhz 16bit] but it does not seem to work with OpenStep. Openstep has the driver built in but it does the typical black screen or poor color in various display modes.
Oh well a working NextStep 3.3 install is way cool. Now I can try doing some -NXhost stuff from the Black-hardware to the emulated.
-Mike
Mike, just FYI, I had some time today while working on-site to rebuild QEMU for both Linux & OpenSolaris Beta 77. I initially tried the Cirrus Device hack & had problems like you w/ the graphics on OPENSTEP. But, I just left that part of the patch out & recompiled using the stock Cirrus driver that comes w/ qemu. Then chose the driver that comes w/ OPENSTEP. Graphics came up perfectly after that on both Linux & Solaris. :lol: So, I have a fresh install of the base OPENSTEP 4.2 User/Dev/WebObject 3.5.1/EOF 2.2 + patches working great under Solaris again. Now, I just have to install all my software again. rofl. But this time, I have 2 4 gig "drives" Plenty of space. Hope that helps. Take care.
Mike, another quick FYI, I wasn't telling the complete truth I guess when I re-compiled QEMU using the standard Cirrus Driver. It works wonderfully under OpenSolaris Beta 77. I'm typing this post w/ OmnWeb right now. But, under Linux, it has some funky screen settings. So, I need to figured out what is going on there. I'll report back after I take a look at this weekend. But it's awesome having OPENSTEP running fast w/ everything working under Solaris. 8)
Strange and interesting that the code works on Solaris and not Linux. Oh well, on the Linux side if you can slug through the patch upgrade you can get teh VESA driver and that works with the -std-vga switch no problems. [At least for me YMMV, terms and conditions may apply, etc.... ;P ]
-Mike
the links no longer work (on the first post)