Shamus Posted January 5, 2012 Author Share Posted January 5, 2012 ... and then there was 2.0.2. 2 Quote Link to comment Share on other sites More sharing options...
+LS650 Posted January 5, 2012 Share Posted January 5, 2012 Can we just drop the binary in the previous install's folder..? Quote Link to comment Share on other sites More sharing options...
Shamus Posted January 6, 2012 Author Share Posted January 6, 2012 Yup. Quote Link to comment Share on other sites More sharing options...
+DrTypo Posted January 7, 2012 Share Posted January 7, 2012 (edited) Hello, Good to see the final 2.0.2 final release. I tried the HUD in AvP: it's fixed! Nice work guys! However I tried Cybermorph and the sound playback is about an octave higher that it should. I found that weird since I heard a correct sound playback in release 410. So I tried Cybermorph again on 410 and the sound playback was also about an octave higher! At this point I wondered what did I do to make it sound correct. So after a few tests I found what makes Cybermorph sound right: 1 - Launch Virtual Jaguar. 2 - Launch Cybermorph: sound playback is an octave to high. 3 - Launch Downfall : "Reboo-oo--oo-oot!" 4 - Launch Cybermorph: sound playback is correct. This behaviour is the same for all version of VJ I tried (2.0.0 final, 2.0.1final, 407, 409, 410, 2.0.2final). And those 2 additional steps are also interesting: 5 - Launch AvP. 6 - Launch Cybermorph: sound playback is an octave higher again. I hope that with this information you'll be able to make a nice bug fix for 2.0.3! Edited January 7, 2012 by DrTypo 3 Quote Link to comment Share on other sites More sharing options...
Shamus Posted January 7, 2012 Author Share Posted January 7, 2012 (edited) Confirmed this, and it's got me scratching my head. I would have expected it to be right when launching with the Jaguar BIOS in front, but it's still an octave too high in that case as well. Thanks for the bug report! Just thought I'd throw this out there too, just in case anyone else is running into it: On my fast system, the sound playback steadily falls behind the emulation, sometimes by as much as a few seconds. Pausing the emulator in this state will show the screen as paused, but the sound will still be playing (if I let it go for a bit before pausing, it'll continue to play for a few seconds)! Edited January 7, 2012 by Shamus 1 Quote Link to comment Share on other sites More sharing options...
+DrTypo Posted January 7, 2012 Share Posted January 7, 2012 I took a look at the audio init code in Downfall. I found an interesting instruction: move.l #$1b,SCLK If I add this instruction in one of my own test program then launch Cybermorph, the audio playback is correct. 2 Quote Link to comment Share on other sites More sharing options...
+DrTypo Posted January 8, 2012 Share Posted January 8, 2012 Hello, well I guess Shamus is already busy fixing that Cybermorph bug but I couldn't resist looking deeper into it. By looking at log files and VJ code I found a few things. First, Cybermorph is setting SCLK at 7. This divider is considered too low by VJ (it would lead to a rather high sampling rate) and doesn't compute a new sample rate. This check is done in dac.cpp line 359. That's why Cybermorph is using whatever value was set before. I tried to override this check and the result is horrible. The sound output is really high! Downfall set SCLK at 27 (14840Hz sampling rate). AvP set SCLK at 19 (20776Hz sampling rate). Default value in VJ is 19 (dac.cpp, line 66). Were does Cybermorph get its sampling rate? I noticed that unlike Avp and Downfall, in Cybermorph the DSP uses the Jerry Timers. In the Jaguar software reference documentation, it is written that timer 1 can be used for sample playback frequency and timer 2 for music tempo. This is what Cybermorph is doing. Timer 1 prescaler is set to 130 and divider to 13. The resulting frequency is 26593900/((130+1)*(13+1)) = 14500 Hz, for a PAL system. Timer 2 is set for a frequency of about 200Hz, then the timer interrupts are enabled. The timer 1 frequency is fairly close to the one used by Downfall. So by accident, Cybermorph happens to sound right after playing Downfall. Well, all I can say is that VJ is not handling Jerry timer 1 interrupts correctly. Music tempo is good so timer 2 handling is OK. The code in jerry.cpp is a bit a of mess and there is a comment about a regression in Cybermorph in the function handling PIT1 interrupts. I attached the logs for those interested. logs.zip 4 Quote Link to comment Share on other sites More sharing options...
JagChris Posted January 8, 2012 Share Posted January 8, 2012 You're a good man to have around DrTypo! Quote Link to comment Share on other sites More sharing options...
carmel_andrews Posted January 11, 2012 Share Posted January 11, 2012 mmm, sounds like shamus has moved on some, i'm still playing around with svn 357 what have you improved or added since then just upgraded my system with a new motherboard, processor and DDR2 memory, at least cybermorph plays at a decent framerate (with or without sound) Quote Link to comment Share on other sites More sharing options...
Shamus Posted January 11, 2012 Author Share Posted January 11, 2012 Look in docs/WHATSNEW for changes. 1 Quote Link to comment Share on other sites More sharing options...
JagChris Posted January 14, 2012 Share Posted January 14, 2012 Is there an icon available I'm overlooking for a Virtual Jaguar shortcut to the desktop? Quote Link to comment Share on other sites More sharing options...
Shamus Posted January 15, 2012 Author Share Posted January 15, 2012 Yeah, it's yet another of those things that you would expect a cross-platform toolkit like Qt to take care of for you automagically, but it turns out to be platform specific. We'll see if we can get it sorted for the next rev or so, but in the meantime, here's something you can use for that purpose. Quote Link to comment Share on other sites More sharing options...
JagChris Posted January 15, 2012 Share Posted January 15, 2012 Yeah, it's yet another of those things that you would expect a cross-platform toolkit like Qt to take care of for you automagically, but it turns out to be platform specific. We'll see if we can get it sorted for the next rev or so, but in the meantime, here's something you can use for that purpose. Cool. Done. Quote Link to comment Share on other sites More sharing options...
JagChris Posted January 15, 2012 Share Posted January 15, 2012 I converted it to a straight .ico file so here you go for anyone interested. favicon.ico Quote Link to comment Share on other sites More sharing options...
goldenegg Posted January 15, 2012 Share Posted January 15, 2012 Sorry, I didn't realize 2.0.2 was out. Is r411 the 2.0.2 build? I'll post a Mac binary shortly. EDIT: Here's 2.0.2 for OS X http://goldensdomain...r-2.0.2-mac.zip 2 Quote Link to comment Share on other sites More sharing options...
skip Posted January 15, 2012 Share Posted January 15, 2012 I think the link should be http://goldensdomain.com/vj/virtualjaguar-2.0.2-mac.zip However, it doesn't run on my MacBook Pro - it says I possibly have the wrong OS. I'm on 10.6.7...should it work on this version? Quote Link to comment Share on other sites More sharing options...
Shamus Posted January 15, 2012 Author Share Posted January 15, 2012 No, https://shamusworld.gotdns.org/svn/virtualjaguar/tags/2.0.2 is version 2.0.2. Quote Link to comment Share on other sites More sharing options...
goldenegg Posted January 15, 2012 Share Posted January 15, 2012 Skip, good catch. I've fixed the link in the original post. Can you please give me the exact error message you're receiving? I just tested on a Macbook Pro with Snow Leopard and it works fine. Shamus, I was just wondering if r411 was any newer. I compiled my build from the correct source. Quote Link to comment Share on other sites More sharing options...
Shamus Posted January 15, 2012 Author Share Posted January 15, 2012 No, there have been no new commits yet. 2.0.2 is the very latest. Quote Link to comment Share on other sites More sharing options...
JagChris Posted January 15, 2012 Share Posted January 15, 2012 (edited) Version 2.0.2 works great with my system so far playing 'shoot 'em up'. No issues. ASUS A8N SLI motherboard. Single Core AMD Athlon 3800+ Nvidia 450GTS video card SoundBlaster LIVE sound card. Edited January 15, 2012 by JagChris 1 Quote Link to comment Share on other sites More sharing options...
skip Posted January 16, 2012 Share Posted January 16, 2012 Can you please give me the exact error message you're receiving? Here's what I believe is the relevant snippet from the error log: Dyld Error Message: Library not loaded: QtOpenGL.framework/Versions/4/QtOpenGL Referenced from: /Users/xxxxxxx/Downloads/virtualjaguar-1/virtualjaguar.app/Contents/MacOS/virtualjaguar Reason: Incompatible library version: virtualjaguar requires version 4.8.0 or later, but QtOpenGL provides version 4.7.0 Quote Link to comment Share on other sites More sharing options...
goldenegg Posted January 16, 2012 Share Posted January 16, 2012 Can you please give me the exact error message you're receiving? Here's what I believe is the relevant snippet from the error log: Dyld Error Message: Library not loaded: QtOpenGL.framework/Versions/4/QtOpenGL Referenced from: /Users/xxxxxxx/Downloads/virtualjaguar-1/virtualjaguar.app/Contents/MacOS/virtualjaguar Reason: Incompatible library version: virtualjaguar requires version 4.8.0 or later, but QtOpenGL provides version 4.7.0 Looks like QT 4.8 isn't backwards compatible. I'll have to think about how I want to handle that in future builds, as I really need to be running 4.8 on my main box. Maybe I can compile from another build system I use for QMC2. Anyways ... until I figure out a way around this, update QT on your system. http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x 3 Quote Link to comment Share on other sites More sharing options...
skip Posted January 16, 2012 Share Posted January 16, 2012 Thanks - that did the trick perfectly 1 Quote Link to comment Share on other sites More sharing options...
Shamus Posted January 16, 2012 Author Share Posted January 16, 2012 (edited) Now that I know that it works as intended, v2.0.2 for the Mac is now up for download on the official site. Edited January 16, 2012 by Shamus Quote Link to comment Share on other sites More sharing options...
82-T/A Posted January 21, 2012 Share Posted January 21, 2012 Wow, I just installed it and it runs AWESOME... very smooth. I am VERY impressed with this... VERY impressed. I'm curious though, do you guys know where I can get all of the ROMS? Or is there some way that I can pull the data off my carts that I have? I actually already own every single Jaguar game (like, even multiple versions of Cybermorph and whatever). The only thing I don't have is World Tour Racing, Gorf, and that $5,0000 one that pops up on ebay or something... forget what it's called. Battlesphere I think? Just occured to me, is there some kind of rule against asking for ROMs? I can send pictures of all my cartridges or something if there's like a rule or some copyright thing. I'm totally on the up-and-up with software. Thanks guys! Todd Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.