int kuKernelGetModel(void);

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
mypspdev
Posts: 178
Joined: Wed Jul 11, 2007 10:30 pm

int kuKernelGetModel(void);

Post by mypspdev »

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
m0skit0
Posts: 191
Joined: Tue Jun 02, 2009 8:58 pm

Post by m0skit0 »

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.
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

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().
mypspdev
Posts: 178
Joined: Wed Jul 11, 2007 10:30 pm

Post by mypspdev »

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!!
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

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.
Post Reply