PDA

View Full Version : Daedalus News - Yuletide Update - N64 Emu for PSP



wraggster
December 24th, 2007, 14:27
StrmnNrmn (http://strmnnrmn.blogspot.com/2007/12/yuletide-update.html) has just posted this update to his rather excellent Nintendo64 Emulator for the PSP, heres the details:


It's been a while since the last update so I wanted to give some news on how things are going with work towards the next release.

I've spent a lot of time working on getting the HLE audio code working on the Media Engine. I've been making steady progress, but it's been taking longer than I initially expected. Fortunately, I'm very close to getting all of the audio processing moved over to the ME - in fact I believe I have just one significant bug left to fix.

The issue seems to be a very odd synchronisation bug which causes the emulator to lock up when running the audio processing asynchronously. As with many of these types of bugs, it's proving quite hard to track down because as soon as I change the code to debug the problem, the issue goes away. A true Heisenbug :(

What's particularly annoying is that the bug is stopping me from measuring how much of a difference running the audio code on the ME makes. Hopefully I'll be able to fix the bug over the Christmas break and be able to publish some timings over the new year.

As part of this work, I've also been writing a general-purpose 'job manager', which coordinates batches of work between the main CPU and the ME. The idea is to build on top of J.F.'s MediaEngine.prx to provide a simple interface for queing up and dispatching work asynchronously. When a job is added to the queue, a flag indicates whether the job is suitable for running on the ME, or whether it should just be run asynchronously on the main CPU instead.

Initially just the audio processing will run through the job manager on the ME, but eventually it should be possible run other pieces of work asynchronously too. I'm hoping that it will eventually be possible to move parts of the HLE graphics processing to run asynchronously too, but I need to investigate things a bit more first. That's a job for future releases however.

Anyway, that's all for now. I'm off to eat mince pies and watch The Great Escape on tv. Merry Christmas everyone :)

-StrmnNrmn

Baboon
December 24th, 2007, 14:38
Ahh bugger I was really hoping we'd get an xmas release. :(

Good news though that he's still beavering away.

Merry xmas StrmnNrmn... and good luck! :)

Mr. Shizzy
December 24th, 2007, 15:38
Ahh bugger I was really hoping we'd get an xmas release. :(


Thats what I thought this was at first....
Damn, what a tease...

Safari Al
December 24th, 2007, 16:39
oh well that just means the next release will be that much better ;)

JKKDARK
December 24th, 2007, 16:58
Nice, I can't wait for the next release. I hope it comes soon :)

Shadowblind
December 24th, 2007, 17:02
Oh well, glad hes still reporting to base :)

Buddy4point0
December 24th, 2007, 17:52
i cant wait for the new release of this.
i really love this man, i play my old n64 games all the time!

CaptainMorgan4
December 24th, 2007, 19:03
Yeah I can't wait to see how the ME works on the official version of R14, the beta I have is nice but not complete obviously. Buddy hit me up about that PM, be nice to hear just anything from you.

xg917
December 24th, 2007, 19:09
cant wait for R14 to come out. i really miss playing n64 even though i still have mine, it would be nice to play them on the go :) (at full speed that is) lol

mike_jmg
December 24th, 2007, 19:28
Great to hear about all the great work

Shiesty
December 25th, 2007, 02:38
God bless us. Every One.

pkmaximum
December 25th, 2007, 06:20
Sounds great I'm really looking forward to a release. =)

onetwentyeight
December 25th, 2007, 15:14
can't remember: is ME only accessible through the FW1.5 kernel? seems that's how the SNES emu used to work. will slims be SOL for this update? still using a fat myself. i'm just curious.

Cloudhunter
December 25th, 2007, 15:25
can't remember: is ME only accessible through the FW1.5 kernel? seems that's how the SNES emu used to work. will slims be SOL for this update? still using a fat myself. i'm just curious.

No - besides, someone already ported the ME version to the 3.71 kernel.

Cloudy

kharaboudjan
December 25th, 2007, 15:47
thanx strmn! sounds fantastic that you are planning on moving some of the graphic stuff to the ME as well!