PSP3D Left Header
PSP3D Header Right
PSP3D Logo CraveOnline Logo
Help the PSP 3D community grow!
Vote for us below:


Vote on the PSP Top 200
PSP Top 200 - Games, Videos, Wallpapers, Files, Hacks, Homebrew

General PSP Discussion - Everything relating to but not focused on a specific aspect the PSP.

Welcome to PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums!

You are currently viewing our website as a guest, which gives you limited access to reply and interact to discussions and other members. By joining our free community, you will be able to post topics in the forums, communicate privately with other members, vote in polls, and access many other special features.

Registration is fast, simple, and absolutely free so join our community today!

Go Back PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums > PSP Forums > General PSP Discussion

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2006, 03:56 PM
gotwake424 gotwake424 is offline
Senior Member
My Mood:
 
Join Date: Nov 2005
Posts: 725
Points: 6.41
Donate
StrmnNrmn on psp Daedalus

This was posted over in StrmnNrmn’s blog, the one responsible for porting Daedalus to the PSP. kekpsp asked one very important question, which I’m sure we’re all wondering: “Is it possible to emulate a system like the N64 with the system limitations that the PSP poses?”

Below is StrmnNrmn’s in-depth response:

When I first decided to port Daedalus over to the PSP I really didn’t know the answer to this. I knew there were some substantial challenges - I’d ported Daedalus to the Xbox a couple of years earlier and quickly discovered that even with 64MB you really didn’t have much room to manoeuvre. With the PSP you have even tighter memory constraints (24MB user memory + 2MB vram), a slower processor and gpu.

I think I’ve pretty much cracked the memory problem. When I added in the rom streaming code I reduced the memory usage for an 8MB rom image down to around 2MB. Larger roms only use fractionally more ram (i.e. a few 100KB or so), so I’ve managed to free up around another 6MB to use for textures, audio and most importantly the dynarec engine.

The next big challenge is speed. Currently Daedalus is unusably slow - typically 4-5fps max (although there are some roms that freakishly seem to run faster). Dynarec is going to bring about the biggest gains here, but it’s too early for me to tell how much of an improvement it’s going to bring on the PSP in the long run.

This is probably a good point to give a bit of a progress update on the new dynamic recompiler. I’m at the state where I’m successfully capturing ‘hot-traces’ from the rom as it runs. In order to work the bugs out of the system, I’m then simulating the execution of these traces to see whether everything is working as expected. It also lets me collect a few stats like how many instructions will end up being executed through the native fragment cache rather than being interpreted, and roughly how much memory is going to be consumed.

The results are looking very encouraging. Firstly, even though I’m not actually executing any native code yet, the emulator runs almost as quickly with the ’simulated’ dynarec enabled as it does running entirely through the interpreter. Although this sounds a bit of a backwards step, it’s actually quite significant because it means the dynarec engine itself isn’t any substantial load to the CPU. I’m hoping this means that when I am actually executing native code, the dynarec engine will only be using a fractional part of the CPU.

The other significant result is that you don’t actually need to recompile much code to get a sizable portion of the rom executing natively. In my tests with Mario, typically around 90% of the instructions executed are going through the fragment cache rather than the interpreter. Importantly this is with only around 64,000 instructions in 700-1000 fragments. I think this will mean I’ll be able to get away with a 1-2MB code buffer on the PSP.

At the moment I’m still ironing out a couple of bugs with the fragment ’simulator’ (mostly to do with exceptions and interrupts occuring in the middle of a fragment). Once that’s complete I’m going to start taking a look at taking a few small steps towards generating native code. I’ll go over this in more detail in my next few posts.


This is looking better with every release keep up the good work StrmnNrmn of Daedalus we all love what you are doing and hope to see a new realse soon!
Reply With Quote
  #2 (permalink)  
Old 05-11-2006, 05:41 PM
salomon st's Avatar
salomon st salomon st is offline
Senior Member
My Mood:
 
Join Date: Mar 2006
Posts: 331
Points: 4.72
Donate
hey i just got what StrmnNrmn means....stormin norman
__________________
A nintendo ds sucks about like a dyson vacuum...it never loses suction so its suckin 24/7
Reply With Quote
  #3 (permalink)  
Old 05-11-2006, 06:27 PM
Michael M.'s Avatar
Michael M. Michael M. is offline
Teh h4x0r admin
My Mood:
 
Join Date: Feb 2006
Location: New York
Age: 25
Posts: 960
Points: 9,999,500,268.97
Donate
Send a message via AIM to Michael M. Send a message via MSN to Michael M.
Congratulations, salomon st!
Reply With Quote
  #4 (permalink)  
Old 05-11-2006, 06:31 PM
salomon st's Avatar
salomon st salomon st is offline
Senior Member
My Mood:
 
Join Date: Mar 2006
Posts: 331
Points: 4.72
Donate
Quote:
Originally Posted by FreePlay
Congratulations, salomon st!
lol thanks
__________________
A nintendo ds sucks about like a dyson vacuum...it never loses suction so its suckin 24/7
Reply With Quote
Reply

« Where to get cheap 1.5 or 2.00 PSPs? | JUST GOT A 2.00! »



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 0.00
Points Per Thread: 1.00
Points Per Reply: 0.10

Similar Threads
Thread Thread Starter Forum Replies Last Post
Daedalus PSP N64 Emulator R4 on firmware 2.01? gta3dude Homebrew/Hacking 10 05-09-2006 05:27 PM
Daedalus Backgrounds Birdman1 Media 2 05-07-2006 08:40 PM
Daedalus PSP N64 Emulator R4 Released! Robert A. Homepage News 20 05-07-2006 08:34 PM
Daedalus PSP N64 Emulator R3 Released! Robert A. Homepage News 62 05-06-2006 10:26 AM
Daedalus PSP: PSP Nintendo 64 Emulator Work-in-Progress Michael M. Homepage News 66 05-02-2006 12:05 PM





Crave Partner Sites: CraveOnline.com | DVDFile.com | PSP3D.com | ComingSoon.net | SuperHeroHype.com | RedBalcony.com | ActionTrip.com | CraveLyrics.com
Soundtrack.net | CraveFix.com | SpikedHumor.com | RPGamer.com | TattooNow.com | ImpactWrestling.com | SeekLyrics.com | PedalBMX.com | WildKO.com
vidKing.com | StrategyInformer.com | HHdb.com | RapLeagues.com | HipHop-Lyrics.com | Cravecocktails.com | ThePhatPhree.com | RideJudge.com | HottieSpots.com

PSP3D Footer Left Powered by Custom vB Version 5.1.0 for Crave Online Media, LLC.
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd. and PSP3D.com.
LinkBacks Enabled by vBSEO 3.0.0 RC8

All times are GMT -4. The time now is 03:04 AM.
PSP3D Footer Right