Posted Mar 06, 2007 at 12:24PM by Ryan A. Listed in: Homebrew Development, Homebrew Emulators, Nintendo 64 Tags: StrmnNrmn, Daedalus, N64, emulation
Ó

Daedalus - Image 1A couple of weeks ago, homebrew developer StrmnNrmn released a new version of Daedalus, his Nintendo 64 (N64) emulator for the PSP. But we guess we don't have to remind you about that as who would've missed that release? The homebrew developer even asked you what improvements you'd like to see in Daedalus R10.

StrmnNrmn just announced that he has finished collating all your responses and is now ready to work on the next version. He mentioned that most users commented that speed of this homebrew emulator should be improved as well as compatibility and save game support. The coder would like to assure everyone that all suggestions have been taken into consideration.

Lastly, here's the plan of action StrmnNrmn wants to take for the new release: He promised that Daedalus R10 should be ready before March ends.

Daedalus R10 Plan of Action

  • In many games, a lot of the time spent executing dynamically recompiled code is doing things which can potentially be emulated at a high level. For instance, over 5% of the time spent executing dynarec code in Mario64 is just converting matrices from floating point to fixed point format. Another 4-5% of the time is spent in a loop invalidating areas of the data cache (which is irrelevant in an emulator.)
  • Some of the most expensive fragments are those which branch to themselves (i.e. those doing many loops). I can optimise for this to avoid loading and flushing cached registers on each iteration through the loop.
  • I can implement a frameskip option (I had intended to implement this for R9, but forgot!)
  • I can make use of the Media Engine (as Exophase suggested in conversation, as the ME can't access VRAM, it might make more sense to execute Audio and Display Lists on the main CPU, and run the N64 CPU emulation on the PSP ME)
  • There are certain situations where I fail to create fragments in the dynamic recompiler - for instance if the code being recompiled writes to a hardware register, this triggers an interrupt and causes fragment generation to be aborted. I should be able to deal with situations such as this more gracefully.
  • The fragment generator can do a lot more to improve register caching, and eliminating redundant 64-bit operations.
  • There are many situations where N64 roms busy wait. I detect very simple occurrences of this, but not all of them. If I manually identify more complex examples I can have the fragment generator optimise them away.
  • Some roms are causing the dynarec fragment cache to be repeatedly dumped and recreated (I think Banjo Kazooie is one example of this). Fixing this may just involve tweaking a couple of magic numbers.
  • I currently optimise memory accesses under the assumption that most accesses are in the range 0x80000000 - 0x80800000, which is incorrect in the case of roms that make heavy use of virtual memory, or access RAM through the mirrored range at 0xa0000000. I can improve the trace recorder to collect information on which range a memory access fell in, and generate code to speculatively optimise for this.
  • Now that the dynarec engine is producing much better code, the cost of display list processing is becoming more significant, and may finally be worth profiling and optimising.



[Via StrmnNrmn Blog] Permalink  |   Email this  |   Linking Blogs   |   Digg It!

Bookmark / Find this article on:


89 Comments


Sort by:
   by RS (Unregistered) - 2007-03-06
 » Nice...

I can't wait till it's full speed.


   Re: Threatened - 2007-03-06
 » omg

please...just make super smash brothers work?

it's practically full speed already b4 it crashes at the menu!!

and also...

why is it that some games parts seem like it's going faster than it should?

   Re: Seven (Unregistered) - 2007-03-06
 » @Threatened

Because there currently is no framerate cap, so the ROM runs as fast as it can unless the programmers of the original game made a cap themselfs, which apparently wasnt done in Mario 64.

   Re: jestex (Unregistered) - 2007-03-06
 » ^^

ya, i second that; smash, mario 64 and zelda:OoT is all i need... optimize those 3 and I think you'll find 90% of the people awaiting this emulator satisfied. Good work so far!

   Re: ... (Unregistered) - 2007-03-06
 » ...

THE ONLY GAMES PPL WANT

-Super Mario 64
-Banjo Kazooie
-Mario Kart 64
-Smash Bros.
-Zelda OoT ( Or MM )
-Star Fox

   Re: Jesus (Unregistered) - 2007-03-06
 » and

paper mario

   Re: redsand_man69 - 2007-03-06
 » wait...

you forgot Goldeneye 007! How can you forget that game, people?!?!

   Re: Jed (Unregistered) - 2007-03-06
 » HELLO!

OGRE BATTLE 64!!!! That is all I care about... come on, it was the best damn game ever.

   Re: Advertising -


   Re: darknight3050 - 2007-03-06
 » and...

what about Snowboard Kids 2?! but praise be to Super Smash and Ocarina of Time

   Re: MaXX (Unregistered) - 2007-03-07
 » ...

...what about Sin + Punishment, ya bunch of idiots?

   Re: vvlist - 2007-03-07
 » hello?

Shadows of the Empire, Turok

   Re: FRESH (Unregistered) - 2007-03-07
 » I dunno....

I don't mean to be sceptical.... buuuuut I dont think R10 or even R99 will be full speed, I mean there isnt a SNES emulator that runs full speed, so how could n64?

   Re: tuddy (Unregistered) - 2007-03-09
 » yes.

Yeah, I can't wait until I can play Conker's Bad fur day. Oh yeah, and FRESH, there is a full speed SNES emulator for the PSP- SNES9XTYL 0.42, so please get your facts straight before posting.

   Re: O(+> (Unregistered) - 2007-03-20
 » no it's not

no SNES emu on the PSP isn't full speed
try playing Star Fox or Kirby Super Star or Mario RPG and tell me how fast those games run

   Re: GamefreQ (Unregistered) - 2007-03-26
 » lol

You idiot. Yes it is Full Speed. IT does NOT have FULL compatability with some games, and some may run slower, but the emulator itself is full speed, and yes I know that Star Fox runs slow but that is because the emulator renders it like other games when it should get special treatment, because as you can tell it is not at it's 1.0 release yet, and never will be.
   by Fais kin aapelul van der Paardenaars (Unregistered) - 2007-03-06
 » Finally

Hells yeah! Finnaly a new alus

   by Fais kin aapelul van der Paardenaars (Unregistered) - 2007-03-06
 » Finally

Hells yeah! Finnaly a new alus and ps3 is gonna win consolewar!


   Re: Advertising -


   Re: scythe - 2007-03-06
 » LOLZ

what a deluded little noob. ps3 is made of failure and small childrens' tears.

   Re: jim (Unregistered) - 2007-03-07
 » LOLZ?

Can you not string a coherant sentence together you illiterate, pitiful excuse for a human being?


   Re: Grammar Expert (Unregistered) - 2007-03-07
 » Umm Jim....

I think you mean "coherent." I find the fact that you're insulting somone's writing abilities while your own are flawed is quite humorous. Good day, moron.

   Re: Fais kin aapelul van der Paardenaars (Unregistered) - 2007-03-08
 » LOLZ? Go yourself hard anal!

You ing *****ass. Scythe can;t play basketball like me, that poor little noobish gay.

   Re: Aapelul (Unregistered) - 2007-03-09
 » Jim assq

Go to your mothers closet and grab her dildo, so you can shove it very far up your *****in' ass. Then you can go to grammar school to spice up your grammar and ***** the hairy teacher!
   by Zarfoz (Unregistered) - 2007-03-06
 » Fast

Hope it will be fast. Faster. Fastest.

   by guitarguy656 (Unregistered) - 2007-03-06
 » sweet

he has took a long time to create this and can still find ways to make it much better great work

   by sweet (Unregistered) - 2007-03-06
 » deric

take your time, i think using ME will be a great benefit. holy crap i just read exophase is helping out! listen to that guy!


   Re: waxing intelligent (Unregistered) - 2007-03-06
 » dynamic recompiler

The address must be set at 0880000000 > 0080800000 otherwise problems will come about due to a shortage of initial core dumps of wasted memory. Hope this helps
   by nesdude (Unregistered) - 2007-03-06
 » Keep it up

Keep up the good work, dude. Being a coder, I can only imagine the hell you must be going through to get this working well! Good luck, can't wait for R10.

   by Advertising -
   by richyawyingtmv (Unregistered) - 2007-03-06
 » Read this - it's an explanation of what IS and IS NOT full speed in N64 games.

http://forums.qj.net/showthread.php?t=98809

It's fairly helpful, and explains that this release may well reach 100% speed on some games.

   by woot (Unregistered) - 2007-03-06
 » Great guy that exophase

Even helps out on the n64...

   by xKJTx (Unregistered) - 2007-03-06
 » DAMN!!!

You just keep it coming. You are the man and I know you will make it the best you can. This is an emulator that has start from gound up right? Thats impresive! Keep up the good work and make it seen as if we are hold a N64 in are palm of are hands. THANKS FOR EVERYTHING.


   Re: Annonymous Coward (Unregistered) - 2007-03-06
 » Ground up

As far as I know, this emulator is a Port as opposed to coded from scratch but what makes it different to other Ports is that he is the one who coded the Port in the first place.
   by colin (Unregistered) - 2007-03-06
 » thanks!!!!!

keep up the good work!!! youre one of the most talented coders out there:)


   Re: (I) (HAVEN'T) (REGISTERED), (SO) (I) (AM) (Unregistered) - 2007-03-06
 » gasp!!!

how dare you say he is the best programmer! Don't make me get Dark Alex to whoop you. Lol, JK, strm and DAX really among the best coders. Hey, you two should really consider working for sony: they might appreciate you guys making legit games for them... nah, nevermind, they'd probably make you sign a contract that forbids you from ever homebrewing again. Oh well, I am such an evilscarycomputergeek, yeah?

   Re: Audio_Fade (Unregistered) - 2007-03-06
 » @ "I havent registered" or whatever

Shut up. He said "one of" the most talented, not THE most talented. And I agree with you, Colin.
   by Skip (Unregistered) - 2007-03-06
 » Mario 64 even faster :D

Mario 64 and Mario Kart 64 - nothing else matters imho. These were playable in R9, but it sounds like R10 may make them faster (making it a killer app)!

   by sporx! (Unregistered) - 2007-03-06
 » dont forget!

everyones forgetting goldeneye 007! thats like the best ffs ever! aside from halo, and it only has one joystck, itll be perfect for the psp!


   Re: mr_bigmouth_502 (Unregistered) - 2007-03-06
 » I agree....

Goldeneye is one damn good fps, in the same ranks of course with DOOM, Rise of the Triad, Shadow Warrior, Wolfenstein 3D, and Quake.

   Re: @bigmouth (Unregistered) - 2007-03-06
 » huh?

evilscarycomputergeek says: what are rott? I don't think I've heard of that. Shadwarrior, either... Wait, I guess I lied, I do remember a demo of triads on my duke nukem CD, but the shadow warrior doesn't ring a bell.... But yeah: here are the only games that matter (in order, lol:) Super smash bros, zelda ocarina, super mario 64, mario kart (only battle mode, the rest sucks, lol), rampage. Majora's mask may have been good, but I didn't get a chance to play it much. :(

   Re: Audio_Fade (Unregistered) - 2007-03-06
 » WHY?!

Why is everyone conveniently forgetting Perfect Dark, Jet Force Gemini, Kirby 64, Donkey Kong 64, Hydro Thunder, MARIO FREAKING PARTY...umm...any of them, but preferably 2...Rainbow Six, and Tomorrow Never Dies?!

   Re: YO! (Unregistered) - 2007-03-07
 » GOSH!

u guys havent listed any good games yet! clay fighter 63 1/2 roxs!!! ok so it relay sucked but wouldent it be awsome if it played all 64 games

   Re: cX (Unregistered) - 2007-03-12
 » haha

Perfect Dark will never be fullspeed. It was dog slow on the 64 in the first place anyway, it puts a huge demand on CPU and graphics, in fact any game requiring the expansion pack you can pretty much expect not to run. As for goldeneye, the best game ever, I'm only getting 15fps on a good day with my N64 emu on my Mac iBook G4. It's a nice dream, but probably impossible to get it to run on PSP.
   by Ievel (Unregistered) - 2007-03-06
 » Speed and Audio

I recently checked Zelda OoT out, first with audio and then w/o. I was really dissapointed. However, I realize it is not an easy task to make it run flawless.

Without sound it runs fairly ok, but who would wanna play a game without sound.

Anyhow, Keep up the good work StrmnNrmn.


   Re: ME! (Unregistered) - 2007-03-06
 » "but who would wanna play a game without sound."

people that care about gameplay more than gamesounds.(yeah I think I made that word up but you get the idea)
   by my dad (Unregistered) - 2007-03-06
 » sound

its not that great and i hope it could improve

   by visigotico - 2007-03-06
 » Daedalus R9 frameskip

Daedalus R9 with frameskip:

http://rapidshare.com/files/19765901/DaedalusR9_frameskip.zip.html


frameskip is the first option in Rom Settings.

   by alpha (Unregistered) - 2007-03-06
 » what

does this mean in english?


   Re: .... (Unregistered) - 2007-03-06
 » fremskip

means you can overclock+to speed up gameplay

or slow down gameplay any way it best fits you

   Re: FlarePhoenix (Unregistered) - 2007-03-06
 » Actually...

...I'm pretty sure that frameskip means that the emulator doesn't render or display a certain number of frames, so it speeds up gameplay. I'm pretty sure it doesn't allow you to slow down gameplay, as that would imply that the emulator was rendering, or displaying, or whatever it is, more frames than it normally would, which means it would be either creating new frames, or displaying each frame for more than one second, or something to that effect, but then that's no longer frameskipping.
   by Akin (Unregistered) - 2007-03-06
 » re

would it be possibel to include cache streaming like nj did?

   by FlarePhoenix (Unregistered) - 2007-03-06
 » Thanks for the update!

Daedalus is a very awesome project, and a perfect example of what the PSP homebrew community is capable of. It's nice to see that we will have near-perfect N64 emulation very soon. I appreciate all of the hard work you've put into Daedalus, and can't wait for R10; it'll be a nice birthday present for me, since mine is the 26th LOL.



One more thing, if it isn't just too much, would it be possible to get WWF No Mercy compatible? The sound and everything apparently works, but the graphics don't; it's just a black screen.


   Re: ? (Unregistered) - 2007-03-06
 » So When the Release Date?

(Topic) any ideas.

   Re: FlarePhoenix (Unregistered) - 2007-03-06
 » Please re-read the article...

At the end of the third paragraph, it says it's planned to be released before the end of March.
   by Critic (Unregistered) - 2007-03-06
 » Some things to work on ?

man listen. the speed right now is pretty good. daedalus if you are reading. Please I beg of you. Work on the wrestling games, 007 Golden Eye and Quake 2 maybe Turok. Mario64 and MarioKart64 are ok games. But lets be real here. They are not the best games on n64. Also if its possible an Adhoc option to connect from PSP to another PSP. So that way if we want to play golden eye or wrestling with friends we can ! Please if you can add these to your "To Do" list I would greatly appreciate every effort you put in. By the way Excellent job. You are by far one of the best homebrewers. It has been a long time coming. =)

   by Alex (Unregistered) - 2007-03-06
 » Screw all other games...

Just get Zelda Ocarina of Time to work and everyone will give you lots of money.

   by (i) (am) (Unregistered) - 2007-03-06
 » yesss

best emu evaa

   by fatkoreanman (Unregistered) - 2007-03-06
 » yay

can't wait...im getting my psp as an early b-day present(3/25) and R10 will be coming out like almost right away! Cant wait!


   Re: jim (Unregistered) - 2007-03-07
 » remember

Don't upgrade, downgrade.

   by waxing intelligent (Unregistered) - 2007-03-06
 » dynamic recompiler

The address must be set at 0880000000 > 0080800000 otherwise problems will come about due to a shortage of initial core dumps of wasted memory. Hope this helps.

   by lavino (Unregistered) - 2007-03-06
 » nice effort! Keep it up.. but a bit too late for me

since I already got OoT in my Wii. But there are ppl want other games to works so keep it up dude!!!!

   by r9 with frameskipping (Unregistered) - 2007-03-06
 » thanks!!

To whoever was responsible for implementing frameskipping in R9. Mario64 really benefits from it a great deal. With a frameskip of 2 the game still runs almost as smoothly as before, but is much faster when in levels.

Actually, even with sound on the game seemed to run at full speed or better within levels and not just in the castle. I cant wait until R10 with its speed boost plus frameskip. Thanks Strmnnrmn and Thanks to whoever edited that edition of R9 and posted it on Rapidshare :)

   by liquidrevolver (Unregistered) - 2007-03-06
 » no mercy

why does nobody remember wwf no mercy

hours and hours and hours and hours and hours and hours of fun

   by Danny Kjhan (Unregistered) - 2007-03-06
 » Needs work

The only game I can play is Mario 64 and it works perfectly.
But seriously ocarina of time, if you got that to work I will send you Danzig dollars.

   by arcslnga (Unregistered) - 2007-03-06
 » wave race 64

uhh does everyone forget waverace 64 !?!?! OMFG that is OG.... best water sports game ever !

   by savestate (Unregistered) - 2007-03-06
 » savestate

PLEASE HAVE SAVESTATES!!!!!!
most of the games dont save so savestates would be so helpful



The QJ.net Network RSS Feeds
QJ Forums
PC Gaming
Sony PSP
PlayStation 3
Xbox 360
Nintendo DS
Nintendo Wii
Blog of Blogs Feed / PDA
QJ.NET RSS / PDA
Gaming Consoles Feed / PDA
Nintendo DS RSS / PDA
PlayStation 3 RSS / PDA
PSP Updates RSS / PDA
Wii RSS / PDA
Xbox 360 RSS / PDA
PC Gaming Feed / PDA
MMORPG RSS / PDA
Personal Computer Games RSS / PDA
World of Warcraft RSS / PDA
Technology Feed / PDA
Apple RSS / PDA
iPhone - iPod Touch RSS / PDA
Add QJ.NET
Add to My Yahoo!
Google Reader Subscribe with Bloglines
Add  to your Kinja digest Subscribe in NewsGator Online
Subscribe with Pluck RSS reader Add 'www.qj.net' to Newsburst from CNET News.com
Subscribe with SearchFox RSS del.icio.us www.qj.net
Add to Technorati Favorite! Add to My AOL
furl! it Stumble for Treehugger!

 Username: 
 Password:
Forgot password
New user registration



Categories
Emulators
Titles
Archives