I've added code to handle the following ops:
- MULT, MULTU (multiply, multiply unsigned)
- DIV, DIVU (divide, divide unsigned)
- MFLO, MFHI (move from lo/hi)
- MTLO, MTHI (move to lo/hi)
- LB, LBU (load byte, load byte unsigned)
- LH, LHU (load halfword, load halfword unsigned)
So far I'm seeing around a 5-6% speedup with these changes (on top of the 10-12% speedup I talked about on Sunday). I am generating slightly more code as a result of this work, but given the large savings I made over the weekend this isn't much of an issue.
My next job is to look at optimising the remaining load/store instructions - I just have LWU/SB/SH to do (ignoring the 64 bit instructions for now). Once that's done I'm going to have a look at optimising sequences of load/store operations by caching the base address between uses. I think that should give a significant speed up for memory intensive chunks of code.
-StrmnNrmn
84 comments:
Great News to hear. Sounds like the next release is going to be very nice. Keep up the good work, I cant wait!
nice good job strmnnrmn u are one of my favourite coders
how much of a speed increase r u looking for for ur next release??
Great sounds like your starting to get better at coding too, nice 15-18% speed increase so far. Looks like R7 is going to be a promising release! Well it's great that StrmnNrmn is giving us daily updates these past two days but I got more good news, and updated Daedalus Testing Results! Here's the link!
http://rapidshare.de/files/27027325/Captain_Morgan
_s_Daedalus_R6_Rom_Test_Results.zip.html
* Once again link is cut in half so you can see the whole thing, copy and paste BOTH parts to download the UPDATED file *
yes i cannot wait for r7 bo yah bow chicka wowow i love you strmnnrmn
Strmnrmn you are my all time favorite coder! When R7 Comes out, how much percent will the speed jump up?
http://www.dosgames.com/~wally4000/daedlist/
is my compat list:. Hoping this will become the official one for strmnnrmn
Morgan can you tell me your email address so I can email you pictures of Mario Kart getting up to 18.20 fps in games screenshots. And more good in game screenshots.
I have updated my list once again! Now with paper mario and zelda: OOT! My email is volcomstone463@aol.com, enjoy the latest list! And remember view the files as "thumbnails"! Keep up the great work StrmnNrmn and I hope you got my email and I hope you looking at this!
http://rapidshare.de/files/27035060/Captain_Morgan
_s_Daedalus_R6_Compatability_List.zip.html
* Is my link working can someone else besides me tell me because I haven't seen anyone talk about it yet? *
I will be emailing you for great screenshots now!
Check your email morgan, for some amazing screens in Mario Kart!!
If you don't mind I added the time trial pics you sent to me and added them to the list. They're in a seperate folder in the Mario Kart section. They'll be available to the public in my next release. But I sent you a copy of the updated list so you know what it looks like. Enjoy!
I have some more to send you. But I found that if you are to put on the expansion pak on in Mario Kart, the game will go smoother and a couple frames faster.
I just finished adding your other pics to the folder. Looks great and it looks like I'm getting alot done too. Anyway StrmnNrmn hope you got my email and looked at my compatability list to show you how many hours I put into this. (espcially Zelda)
Morgan you are like the captain helper of StrmnNrmn, and if you need sme other screens I'll help to. What you do is great for StrmnNrmn(and others)!
Morgan: Why dont you get webspace and host it on the web instead?
Besides if you are retaining the original PNG format you are mad convert it to JPG or somethin
StrmnNrmn I was just wondering if you have an estimated date on when you will be releasing R7.
Morgan Your list is awesome!! you should consider making a daedalus fansite webbie, ill be happy to help with HTML and Graphics if you do
I have a question: why do you have to flush the register cache for the instructions you have not inlined in recompiled code? I assume that you're just calling generic C functions, in which case you should only need to flush the registers that are in caller save positions. Of course, the better alternative to this is to write your own functions in ASM that are purely callee save, and have them use as few registers as possible (I assume you have some temporaries that aren't available for register caching, it should be good to use those). I also assume that you're flushing registers at the end of every block. With the sheer number of registers that you have to deal with it might be better overall to have static register caching instead of dynamic, possibly based on statistical analysis on a per-block basis. You can probably map as many as 27 registers, perhaps with the highest priority ones going in callee save registers (remember, for C functions that don't work on a large number of variables not all of the calleresave registers will have to be saved, so it's better to put the burden on the called function).
wicked, wicked, wicked, great work man, this is idsacilly what i like to hear. :)
strmnnrmn do you have all processes that can be done nativley on the psp done or have you yet to to do that because that should create a speed boost if im correct.
Thanks guys, I can't really talk right now but I'll be back in a couple hours to tinker with some roms and also talk on here. See you then!
Now were talking, well done Morgan I will try and add to your list as soon as possible using your folder with pic format we should also provide StrmnNrmn with 'missing_mux.txt' file that appears in the Daedalus directory after playing a rom, but we may need a little help on how to do this, can anyone help with this...
How is lengend of Zelda's speed? Cuz as much as i love these speed inprovements i would love to see me able to play it full speed. Oh you have done a good job with your emulator but have u thought of coding ultraHLE engine into your emulator? (BTW i really dont know much about this stuff :P) cuz ZoMbi146 fake ultraHLE got me disappointed. Oh and can u try this, Like make a certin eboot to load lengend of zelda. Pretty much what ZoMbi146 was trying to do the concept sounds right
great news so im guessin a r7 build willl be pretty soon. Great to hear your makin speedy progress :D
StrmnNrmn do you know when you will be releasing R7(ESTIMATE)?
Give him time guys just be patient, thank you to the people that congratulated me on my work. Well I have updated my work with another rom and extensive work on two other roms. The latest work I have done is ready for download in my link below! If you would like to help me further the progress of the List then take some shots like I have, and email them to me! Volcomstone463@aol.com is my email. Well I'm going to go get doing some work but I'm here now!
http://rapidshare.de/files/27105514/Captain_Morgan
_s_Daedalus_R6_Compatability_List.zip.html
* Note once again the link is cut in half you must COPY and PASTE BOTH halfs into your web browswer in order to download *
I'm just going to point this out for the sake of people that keep posting (similar) questions to Strmnnrmn.
Please be mindful of the fact that Strmnnrmn works full time and codes Daedalus in his spare time.
He often only gets the chance to check and update this blog very late at night/early in the morning and thats 00:00 - 01:00hrs British Summer Time (GMT +1hr as we are observing Daylight Savings Time here in the UK).
Now specifically for people posting "when will the next release be available?" and such like expecting an immediate answer. Please understand the situation and just be patient, it will be ready when its ready. Strmnnrmn is kind enough to update us on his progress and does his best to answer your questions but he does this in his own time, please respect that.
Additionally I just wanted to thank those that post here like Wally, Big Mace, and Morgan who are helping out on the sidelines keep up the good work, its appreciated.
Kind regards.
dont mean to be a dick but i just noticed somthing and was wondering whether it was an error,
StrmnNrmn said the speed up on Sunday, July 23, 2006 was a 7-10% speed increase.
Now on Tuesday, July 25, 2006 he sais (on top of the 10-12% speedup I talked about on Sunday).
just wonderin whether that was an error or whether he has made an even bigger improvement.
Hey Strmnmnn
i was just wonderin if you could make Zelda ocarina of time progress further in your R7 release. it does work but not for very long, it crashes after you enter your name. so if u could get this game working alot better you would make alot of zelda fans very happy.
Thanx alot -disturbed19-
Hey Disturbed look at my post 2 above yours, download that. You can see me getting past the menu thing in Zelda easy. It tells you how you can too!
Just to not PSPUpdates has an article about my very Compatability List. Though they are showing an early release I sent them the latest one moments ago. And I'm not talking about the one I posted about 30 min ago! I have updated it again, lol! This will be my last update for a little while, but I now I have a total of 15 N64 games tested and documented. Go check out the latest list!
http://rapidshare.de/files/27129440/Captain_Morgan
_s_Daedalus_R6_Compatability_List.zip.html
* Note once again the link is cut in half you must COPY and PASTE BOTH halfs into your web browswer in order to download *
Morgan, I will be emailing you some screenshots again of Mario Kart. But this time I got up to 22 fps in game!!!!
Yeah that sounds great I'll add them, maybe you should look into getting high FPS in the races like in 150cc and such. Or maybe see how FAR you can get. But yeah I'll add them into the next release. The next release should be promising, and did you guys see I'm on PSPupdates! It's kinda cool, back to work!
Yeah I just got another screenshot in time mode which was 22.95 fps!!!!!!!!!!!!!!!!! And in all the time mode levels I do the average fps is a steady 18 fps!!!!! I'll email you now!
Okay glad to see your getting faster results.
OK, now i'll see what I can get in 150cc. Please email me when you release it Morgan. Thanks.
So how do you like them Morgan? Is that fast or what!!!
Yeah they're fast and they're in the next release. I'll tell you when I release it. Just try to get far in that 150cc.
Ok, i'll try.
Well i have tried to get far in 150cc a little, but in time trial I just got 23.10 fps in game!!!! That'ss HIGH!!!!
I'll email you the photo right now. Morgan in the release can you please, next time your on pspupdates thank me for the Mario Kart time trial mode pics. I've never had my name on that website. You don't have to do it, but it would be cool.
why is it that alot more games work with the dynaric recompilation off? ive tested alot of games with it off and theres alot that work and progress way further!
Since the Dynrec isn't complete it causes random issues with some games. With the dynarec complete or near completion in R7 alot of those problems should be fixed when R7 arrives. Mario Kart I gave you credit for the shots in the actual files. Pspupdates, I'll be on there soon when I release an update to my even latest one! This next one is a BIG update, I'll post it here when I'm done.
Here you go the latest build! Includes 20 rom tests with "missing_mux" for all roms (except Mario 64, won't really benefit StrmnNrmn I'm sure he has one for Mario 64). Enjoy, and I sent this version to PSPUpdates so be on the look out for it, and please JUMP IT UP!
http://rapidshare.de/files/27151426/Captain_Morgan
_s_Daedalus_R6_Compatability_List.zip.html
* Once again link is cut in half so you can see the whole thing, copy and paste BOTH parts to download the UPDATED file *
I'm playing 50cc and got to round three so far!!! I'll give you screens when I'm done!
Really that's great, what cup are you in?
The first one. But I quit on the 3rd level(BEACH LEVEL). I have good screens to give you though!
The first one. But I quit on the 3rd level(BEACH LEVEL). I have good screens to give you though!
Like you actually ran the emulator with one run and got to the 3rd race? You completed 9 laps? If you did I'm pretty sure you are a Mario Kart God. Because most can't get even a lap in before it freezes.
Hey Morgan your latest releast is awesome! The missing_mux will probably be a big help to strmnNrmn! GOOD JOB!!!
Yes that is right I completed 8 laps actually, but still. I'll send you pics now. I'll try to beat the whole thing tonight!
Thanks it was ALOT of work, I'm tired I'm going to go eat and then maybe hit the sack.
Keep it up man because I'm sure that's as far as anyone's EVER gotten. Like me witht the StarFox 64 Mission 1 play. Good night!
hey Morgon how did you get 23.10FPS!! For Mario Kart i Could only get 15 At most. it might be because i have the 1.0 and a 1.5 psp With the POC custom firmware i am going ot get rid of that thing
I am the one who got 23.10 fps. I am helping out Morgan, but I got the super fast fps screens in Mario Kart.
Hey, i just wanted to let u guys know i made a little website. it is dedicated to the deadalus psp emulator. today i managed to take quite a bit of pictures of many different games, so if u wanna check it out my site is www.disturbed19.piczo.com so if u have any suggestions for games i can check them out for you.
tsurumaru :)
www.dosgames.com/~wally4000/daedlist
Mine is at pspupdates.qj.net I'm Captain Morgan! Lol, I had to do it I'm sorry. But yeah good night and I'll cya tomorrow. Any emails for now on send them to Captain_Morgan_Daedalus@yahoo.com well if you want your email read send them there! Thanks and cya tomorrow!
StrmnNrmn got any updates?
wow, Strmnnrmn. i was skeptical because of the high amount of negative feedback, but i downloaded this. It is awsome. i actually find myself spendin hours playing mario 64. awsome work! Now my one suggestion: Switch the Z button from triangle to circle. i find it slightly akward when doing a backflip on mario. (hold triangle, press X). my suggestion is making triangle the toggle button and circle the Z button. just a suggestion.
anyways! awsome work, i applaude you for your hard work all for the community. thank you. good luck!
just a quick suggestions on the controls i think this works out really good.
psp 64
x a
o b
[] L
/\ R
analog-analog
dpad - dpad
start- start
L - z
hold R press [] /\ x o for c buttons
select-menu
check it out strmnmnn this would work out really really good for the controls i guarantee it.
i dont think u should include d pad the only game i know of that uses it is kirby64 it think leaving it at c is fine by me
A statement for Morgan
I dont want to prove you wrong or anything, but I can get mario party running in party mode, and it doesnt crash at all, I can actually play mini games at a solid 3-4 fps!!!
I agree with disturbed19 in a way but instead of just L press L + R instead, as the shoulder buttons are used in some games .
C-Pad shouldnt be where the D-pad is
ya it would be hard to play with the c buttons as the d pad, bcuz some game u have to use the c buttons and the analog stick simultanously.......but trust me it would work out good the way i would set them up :) i put alot of thought into this. try it out strmnmnn or else allow us to remapp our own controls in the next R7 release. that would be really awesome
i enabled the expansion pack and disabled the dynamic and was able to play all the way to the third level of starfox
I finally beat the 1st cup(4 levels) in Mario Kart!!!! Will be giving Morgan pics tommorow.
i think strmnnrmn should make it so we can map the buttons how we want, but thats just me...and nice list wally its comin along nicely
wow morgan youve really matured. Before you were this anoting 'kid' asking in every second post WHEN IS R6 GONNA BE RELEASED!!!! and now u have made a compadability list for it, good work my non-dev (but known) homie.
oh and strmnnrmn..... well done R7 is gonna be kewl......bro
the game im most excited to play on the psp is zelda ocarina of time that is my favorite game ever made
I couldn't agree more salomon st, The Legend Of Zelda - Ocarina Of Time is the best game ever made to date.
Thanks guys, yeah Mario Party crashs for me there so nothing I can do. Like my list isn't a like definate "you can't get past here" some roms go further on different psp's it's luck. That's great that you got that far. Anyway I'm getting back to work it's a new day so!
Yo, StrmnNrmn any updates, please.
go strnnrm!! a version that played goldeneye or perfect dark would be good matey :>:>:>
Well my newest build will be here shortly, StrmnNrmn will talk to us when he can I can assure you guys that. I have work in like 2 hours so this build will be my last for today.
Here you go what you've been waiting for my latest build! It covers 25 titles and full "missing_mux". StrmnNrmn I hope to hear from you soon, maybe get your opinion on what you want to do/what you think of my project here. Anyway enjoy guys and I'll be on later like in 7 hours when I get off work! Captain_Morgan_Daedalus@yahoo.com is my email for any requests/questions! And Mario Kart God look at pspupdates for a special thanks when the new article is up!
http://rapidshare.de/files/27244220/Captain_Morgan
_s_Daedalus_R6_Compatability_List.zip.html
* Once again link is cut in half so you can see the whole thing, copy and paste BOTH parts to download the UPDATED file *
1. It's summer there is no school
2. I'm 17 I have a job
3. I'm leaving for it now cya
Hopefully StrmnNrmn will have an update for us when I get off work. See you in 5-6 hours!
Nice job, StrmnNrmn. I know that you are doing a very hard task. I wish there was someway that I could help, but can't, as I am inefficient when it comes to the process of emulation. You will be God for this! Kudos to everyone else with the testing. I find myself spending hours playing Mario 64. Out of all the PSP emulators, Daedalus is the one that I am most enthused for. I can't wait for when roms such as Resident Evil (N64's highest capacity rom) are playable. I've been keeping up with StrmnNrmn's blog for quite a time. I finally decided to put in a word. Well, later.
minotaur: I need help with my compat list,
all contributions are welcome :)
No problem, Wally. I'll keep up with you guys on the blog titled "Captain Morgan's compatibility results".
My list and Wally's list are totally different, what's going on lol?
Post a Comment