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 

int kuKernelGetModel(void);

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
mypspdev



Joined: 11 Jul 2007
Posts: 178

PostPosted: Mon Aug 24, 2009 6:39 pm    Post subject: int kuKernelGetModel(void); Reply with quote

Actually or my current version of library is detecting correctly only
PSP_SLIM_AND_LITE yes/no.

Is there any updated version that is detecting correctly:
PSP1000
PSP2000
PSP3000 ?

The only way I know o detect correctly Model / Mother Board for all existing (?) models is:

PSP-100x
========
1 TA-079v1 Tachyon: 0x00140000, Baryon: 0x00030600, Pommel: 0x00000103
2 TA-079v2 Tachyon: 0x00200000, Baryon: 0x00030600, Pommel: 0x00000103
3 TA-079v3 Tachyon: 0x00200000, Baryon: 0x00040600, Pommel: 0x00000103
4 TA-081 Tachyon: 0x00300000, Baryon: 0x00040600, Pommel: 0x00000103/0x00000104
5 TA-082 Tachyon: 0x00400000, Baryon: 0x00114000, Pommel: 0x00000112
6 TA-086 Tachyon: 0x00400000, Baryon: 0x00121000, Pommel: 0x00000112

PSP-200x
========
7 TA-085 Tachyon: 0x00500000, Baryon: 0x0022B200, Pommel: 0x00000123
8 TA-085v2 Tachyon: 0x00500000, Baryon: 0x00234000, Pommel: 0x00000123
9 TA-088v1 Tachyon: 0x00500000, Baryon: 0x00243000, Pommel: 0x00000123
10 TA-088v2 Tachyon: 0x00500000, Baryon: 0x00243000, Pommel: 0x00000123
11 TA-088v3 Tachyon: 0x00600000, Baryon: 0x00243000, Pommel: 0x00000123
12 TA-090v1 Tachyon: 0x00500000, Baryon: 0x00263100, Pommel: 0x00000132

PSP-300x
========
13 TA-090v2 Tachyon: 0x00600000, Baryon: 0x00263100, Pommel: 0x00000132
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Mon Aug 24, 2009 10:28 pm    Post subject: Reply with quote

Well, why don't you use those values for recognizing it? :P
_________________
The Incredible Bill Gates wrote:
The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Wed Aug 26, 2009 4:51 am    Post subject: Reply with quote

Most software doesn't need to care about the motherboard revisions unless you're doing something really low-level. Just detect Phat/Slim/3k with sceKernelGetModel().
Back to top
View user's profile Send private message
mypspdev



Joined: 11 Jul 2007
Posts: 178

PostPosted: Wed Aug 26, 2009 5:40 am    Post subject: Reply with quote

Torch wrote:
Most software doesn't need to care about the motherboard revisions unless you're doing something really low-level. Just detect Phat/Slim/3k with sceKernelGetModel().


I need it for example for testing RAM availability:

Pocketsphinx (Speech recognition) is requiring 64Mb
Microphone: on PSP3000 I'd like to use embedded mic
....

Thanks for all your shared work over here!!
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Fri Aug 28, 2009 7:53 pm    Post subject: Reply with quote

mypspdev wrote:
Torch wrote:
Most software doesn't need to care about the motherboard revisions unless you're doing something really low-level. Just detect Phat/Slim/3k with sceKernelGetModel().


I need it for example for testing RAM availability:

Pocketsphinx (Speech recognition) is requiring 64Mb
Microphone: on PSP3000 I'd like to use embedded mic
....

Thanks for all your shared work over here!!


All Phats have 32MiB and all Slims/3000 have 64MiB. It doesn't depend on motherboard revision (atleast from what we've seen so far). In either case there are no special patches in CFW to enable differerent amounts of memroy based on motherboard revision, its just based on Phat/Slim.
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
Page 1 of 1

 
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