forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FuSa Project: Play via composite cable with FuSa!
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
jas0nuk



Joined: 27 Apr 2006
Posts: 137

PostPosted: Sun May 11, 2008 9:15 pm    Post subject: Reply with quote

For anyone who wasn't watching the site, build 32 just got released :)

Quote:
- Full GTA games series support
- Connection is stable now (You can freely enter menus in GTA :) )
- No more extra noise or stammer!
- New settings added
- And more... (I've just forgotten what I'd implemented there else, sry :) )

There was a lot of requests about fullscreen feature, that we decided to implement it next build (I mean mode N. 1! see FAQ at our site | mode N. 2 will be released some time later )

So be patient, we remember about your suggestions, just give us some time :)


Download

Thanks OldPrisoneR and andy_man :)
Back to top
View user's profile Send private message
Snigel



Joined: 28 Jan 2008
Posts: 5

PostPosted: Mon May 12, 2008 9:10 am    Post subject: Reply with quote

Would it be possible to implement color space conversion from YPbPr to RGB through component? This would make the component cable useful on any VGA monitor that supports sync on green.

(http://forums.ps2dev.org/viewtopic.php?t=9724)
Back to top
View user's profile Send private message
ilovetamatha



Joined: 04 Jul 2008
Posts: 2

PostPosted: Fri Jul 04, 2008 2:32 am    Post subject: cfw 4.1 m33-2 with fusa Reply with quote

was just wondering if and how this would work with cfw 4.1 m33-2? I've tried all versions but to no avail. Any help would be great. I really don't want to buy the component cord because only one of my tv's are compatible and the rest, and I have a lot, are composite.
Back to top
View user's profile Send private message Send e-mail
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Fri Jul 04, 2008 8:33 am    Post subject: Re: cfw 4.1 m33-2 with fusa Reply with quote

ilovetamatha wrote:
was just wondering if and how this would work with cfw 4.1 m33-2? I've tried all versions but to no avail. Any help would be great. I really don't want to buy the component cord because only one of my tv's are compatible and the rest, and I have a lot, are composite.


o_O so you assume it wouldn't work..

You have to composite cable already?
What?
Back to top
View user's profile Send private message AIM Address
ilovetamatha



Joined: 04 Jul 2008
Posts: 2

PostPosted: Tue Jul 08, 2008 2:02 am    Post subject: Reply with quote

i do have the composite i believe (red yellow and white)
Back to top
View user's profile Send private message Send e-mail
OldPrisoneR



Joined: 20 Mar 2008
Posts: 53

PostPosted: Mon Dec 29, 2008 2:27 am    Post subject: Reply with quote

I'm here again with... umm probably some weird question :p
The problem is that some games uses vblank. Directly or indirectly - it doesn't matter - because when we connect PSP to TV (interlaced mode), the vblank slows down in 2 times (from 60Hz to 30Hz) and obviously game's performance decreases in two times too

Currently we solve this problem by hooking some fuction like:
sceDisplayWaitVblankCB
sceDisplayWaitVblank
sceDisplayWaitVblankStartCB
sceDisplayWaitVblankStart
sceDisplayGetVcount

with every new build quantity of hooked function increases...
The last attemp was hookin sceCtrlReadBufferPositive and its negative variant with "Peek" equivalents - the result was interesting:
Some games began to work faster, another ones - slower (and some games' speed was still the same)

I tired of searching and hooking more and more functions, so I've recollected conversation with TyRaNiD.
He told that I can call vblank interrupt handler (using some timer or counter implemented in my programm) to increase speed up to 60Hz.


So here is the following question:
How to find that handler and how to call it in a safe way?

Any suggestions are welcome
anyway thx for your attention
Back to top
View user's profile Send private message
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Tue Dec 30, 2008 5:36 am    Post subject: Reply with quote

Does anyone know the 5.00 NID for sceDisplaySetFrameBufInternal ?

tnkx!
_________________
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Back to top
View user's profile Send private message
OldPrisoneR



Joined: 20 Mar 2008
Posts: 53

PostPosted: Thu Jan 22, 2009 9:26 am    Post subject: Reply with quote

Well, now I know how to find vblank handler address :)
mb this will help somebody else (for 5.00FW)
Code:
pspVblankInterruptHandler = (void*)((int)sctrlHENFindFunction("sceDisplay_Service", "sceDisplay", 0xB4F378FA)+0x248);


Now there is another problem how to speed up vblank int. up to 60Hz...
I tried to use systimer and I'd got nice speed :) but there are some delays. Say... game lags a little sometimes
Here is code of speedbooster
Code:
#include "speedbooster.h"

extern char spb;
SceSysTimerId vblanktmr;
int vcount = 0;
int tacts = 0;
int allowed = 1;

void vblank_60Hz(void)
{
   tacts++;
   if (tacts == vcount)
   {
   allowed = 0;
   pspVblankInterruptHandler(0x1E);
   allowed = 1;
   }
   return -1;
}

int vblank(int id)
{
   if (allowed)
   {
   vcount = tacts >> 1;
   tacts = 0;
   }
   
   return -1;
}

void speedboost_enable(void)
{
   int intc = pspSdkDisableInterrupts();
   
   vblanktmr = STimerAlloc();
   STimerSetHandler(vblanktmr, 0xFF, vblank_60Hz, 0);
   STimerStartCount(vblanktmr);
   
   sceKernelRegisterSubIntrHandler(PSP_VBLANK_INT, 0,  &vblank, 0);
   sceKernelEnableSubIntr(PSP_VBLANK_INT, 0);
   
   spb = 1;
   
   pspSdkEnableInterrupts(intc);
}

void speedboost_disable(void)
{
   int intc = pspSdkDisableInterrupts();
   
   STimerStopCount(vblanktmr);
     STimerFree(vblanktmr);
     
     sceKernelDisableSubIntr(PSP_VBLANK_INT, 0);
   sceKernelReleaseSubIntrHandler(PSP_VBLANK_INT, 0);
   
   spb = 0;
   
   pspSdkEnableInterrupts(intc);
}


I think it'll be better to put counter and call into some interrupt which triggers 1/60 sec or oftener...
We are SO CLOSE to solution (fixing speed issues for SDTVs) :)
Guys maybe you've got some other ideas? Ah?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group