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 

Hello World for PSP
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
wulf



Joined: 13 Apr 2005
Posts: 81

PostPosted: Fri May 06, 2005 4:40 pm    Post subject: Reply with quote

Congrats! I'm gonna use the pic as my background :) Keep up the awesome work..

BTW, not like I have any real clue what I'm talking about, but I think that fooling with the ghost file is probably the next step.. (not like this hasn't been said, but... damn, I'm exited...)
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Fri May 06, 2005 5:01 pm    Post subject: Reply with quote

ooPo wrote:
Please do not confuse me with nem. He did all the work, I'm currently just a guy with a v1.0 psp and a camera. :)


did you take that pic oopo? i just found the same pic at psp-hacks. or did they take it from you.
_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
asmodi



Joined: 07 Feb 2005
Posts: 52
Location: Göteborg/Oslo - Se/No

PostPosted: Fri May 06, 2005 5:41 pm    Post subject: Reply with quote

The pic on psp-hacks.com is from ooPo's original phototake. As ooPo had to shut his site down due to heavy traffic, I don't think he mind.

However, I don't like psp-hacks.com/psp-hacks.net and every other fan site posting missleading news. About that elf2pbp and pbpunpacker, thouse two apps has nothing to do with nemnem's work, these two simply unpack the pbp (which ooPo wrote a program months ago for) and cat's the files together. They may be usefull for some people, but they shoulden't be considering needed apps for the PSP homebrew scene, which people may believe now.
_________________
It's not in my nature to be mysterious, but I can't talk about it, and I can't talk about why.


Last edited by asmodi on Fri May 06, 2005 9:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Grover



Joined: 23 Feb 2005
Posts: 50

PostPosted: Fri May 06, 2005 5:51 pm    Post subject: Reply with quote

Quick question for those who have this all working - I have found a PSP 1001K to buy, is there anyway to tell if this will work or not? I know the original japanesse ones were PSP 1000K.. so is this a jap PSP with a patch?
_________________
Bye.
Back to top
View user's profile Send private message
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Fri May 06, 2005 6:17 pm    Post subject: Reply with quote

best way to be certain is to go into system settings -> system information and read the System Software version string.
_________________
Kung VU
Back to top
View user's profile Send private message Visit poster's website
qleyo



Joined: 06 May 2005
Posts: 21
Location: Nottingham, UK

PostPosted: Fri May 06, 2005 7:37 pm    Post subject: Reply with quote

edited post to reflect Nem, and not Oopo, thanks for the pic anyways oopo :-p. Now we need to work out a way to either make this happen on 1.5 or get 1.0 back on?

Last edited by qleyo on Sat May 07, 2005 2:27 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
qubitz



Joined: 03 Apr 2005
Posts: 32

PostPosted: Fri May 06, 2005 11:05 pm    Post subject: Reply with quote

Grover wrote:
Quick question for those who have this all working - I have found a PSP 1001K to buy, is there anyway to tell if this will work or not? I know the original japanesse ones were PSP 1000K.. so is this a jap PSP with a patch?


None of the PSP-1000Ks are 1.0. You will need a PSP-1000, but watch out, the new ones are 1.5 Make sure you email the seller and ask if it is 1.0.
Back to top
View user's profile Send private message
Grover



Joined: 23 Feb 2005
Posts: 50

PostPosted: Fri May 06, 2005 11:33 pm    Post subject: Reply with quote

Thanks qubitz - the seller couldnt tell me what it was and didnt wanna open the box. I have found a place with a demo one (with def v1.0 firmware).. which they might sell.. hopefully..

Another q. To the people who made this - is the elf a normal ps2 elf? Or something a little modified?
_________________
Bye.
Back to top
View user's profile Send private message
zoogderrick2



Joined: 06 May 2005
Posts: 1

PostPosted: Fri May 06, 2005 11:37 pm    Post subject: hello world on 1.00 psp Reply with quote

hi i dont know if this has already been done, but i took a video showing it on my v1.00 psp. enjoy, sorry for the lack of quality but i took it with a ps2 eyetoy cam, and just put a mic on the side for sound.

http://d31.yousendit.com/D/01RDQMOEYDZL01OD3EVS82AQ6G/psphelloworld.wmv
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
nem



Joined: 13 Jan 2005
Posts: 73

PostPosted: Sat May 07, 2005 1:54 am    Post subject: Reply with quote

Thanks for you all :)
Discussions and infos in this forum enabled me to make Hello World.

There are some inquiries about source code. Here you are:
http://anon.ug.to/sec/pub/hellopsp_src_Rel1.zip

To build the code, I used ps2dev toolchain for PS2. There is no devtool for PSP yet.
PS2 and PSP both uses MIPS cpu and there's some machine code compatibility. You can not use some PSP and/or C code features with PS2 devtool, but for testing it is enough.
A lot of things to do.
Back to top
View user's profile Send private message Visit poster's website
Jordan



Joined: 01 Apr 2005
Posts: 4

PostPosted: Sat May 07, 2005 2:12 am    Post subject: Reply with quote

nem wrote:
Thanks for you all :)
Discussions and infos in this forum enabled me to make Hello World.

There are some inquiries about source code. Here you are:
http://anon.ug.to/sec/pub/hellopsp_src_Rel1.zip

To build the code, I used ps2dev toolchain for PS2. There is no devtool for PSP yet.
PS2 and PSP both uses MIPS cpu and there's some machine code compatibility. You can not use some PSP and/or C code features with PS2 devtool, but for testing it is enough.
A lot of things to do.


That's exactly what I've been thinking. I've been using Elf2PBP to convert a few PS2 apps this morning, and haven't had any success, but I think it might be because I have a 1.5 US PSP. If anyone like to try a converted ExecFTPS ELF (PS2 FTP server) on a 1.0 PSP, I'll provide the link.

http://www.jordanfrenzy.com/psp/EBOOT.PBP

For those wondering, it does appear in the MemoryStick game menu, and it does launch, but it comes back to the menu with an error. (The same thing that happens when you launch nem's Hello World on a 1.50 PSP)
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat May 07, 2005 2:18 am    Post subject: Reply with quote

Jordan wrote:
That's exactly what I've been thinking. I've been using Elf2PBP to convert a few PS2 apps this morning, and haven't had any success, but I think it might be because I have a 1.5 US PSP. If anyone like to try a converted ExecFTPS ELF (PS2 FTP server) on a 1.0 PSP, I'll provide the link.


I'm not sure what you're trying to do, but you cannot run PS2 binaries on the PSP. nem is using the ps2dev compiler with special flags to compile PSP programs. This works because the compiler supports enough MIPS processors to generate code seperately for the PS2 (default) and the PSP.
_________________
"He was warned..."
Back to top
View user's profile Send private message
Jordan



Joined: 01 Apr 2005
Posts: 4

PostPosted: Sat May 07, 2005 2:20 am    Post subject: Reply with quote

Right, I understand that, but it could be worth a try to try and execute this on a 1.0 PSP.

...but then again I could be way off and not have a clue what I'm talking about, =)
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat May 07, 2005 2:23 am    Post subject: Reply with quote

Jordan wrote:
Right, I understand that, but it could be worth a try to try and execute this on a 1.0 PSP.


I hope you know that you are on your way to the Hall of Shame for an unwritten rule. :P
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Sat May 07, 2005 2:41 am    Post subject: Reply with quote

mrbrown wrote:
Jordan wrote:
Right, I understand that, but it could be worth a try to try and execute this on a 1.0 PSP.


I hope you know that you are on your way to the Hall of Shame for an unwritten rule. :P


unfortrunaly this topic is too hot to be placed in the hall of shame =P.

to: Nem thanks for the code.

Now its time to figure a way to get this working on v1.5. =S
_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
Orion_



Joined: 27 Jan 2005
Posts: 69

PostPosted: Sat May 07, 2005 3:19 am    Post subject: Reply with quote

yeah! psp have direct framebuffer access, it rox !
Back to top
View user's profile Send private message
skippy911



Joined: 06 May 2005
Posts: 46

PostPosted: Sat May 07, 2005 3:22 am    Post subject: Reply with quote

Hi all,

First thanks to nem for getting code to work. Now on for my question, what can I use to convert bitmaps into the correct format for the psp? I tried using ps2is image editor but the pallete is all wrong when I view it on the psp :-/ Anyhelp would be greatly appreciated.

Thanks
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Sat May 07, 2005 3:24 am    Post subject: Reply with quote

http://www.segger.com/emwingscbitmap.html

try googling bitmap to c

also try dreamgl, they have a bmp to c converter as well, but its not in short.
_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
nem



Joined: 13 Jan 2005
Posts: 73

PostPosted: Sat May 07, 2005 4:09 am    Post subject: Reply with quote

The bitmap in the code is 5551 formatted short. You'll find in the code how rgb is assigned to. I do not know about tools. I wrote some small code to convert the image.
Back to top
View user's profile Send private message Visit poster's website
Orion_



Joined: 27 Jan 2005
Posts: 69

PostPosted: Sat May 07, 2005 4:28 am    Post subject: Reply with quote

mmh o_O
I found 1555 0BGR using the image of your source code.
Back to top
View user's profile Send private message
Busby



Joined: 04 May 2005
Posts: 13

PostPosted: Sat May 07, 2005 4:39 am    Post subject: Reply with quote

nem wrote:
Thanks for you all :)
Discussions and infos in this forum enabled me to make Hello World.

There are some inquiries about source code. Here you are:
http://anon.ug.to/sec/pub/hellopsp_src_Rel1.zip

To build the code, I used ps2dev toolchain for PS2. There is no devtool for PSP yet.
PS2 and PSP both uses MIPS cpu and there's some machine code compatibility. You can not use some PSP and/or C code features with PS2 devtool, but for testing it is enough.
A lot of things to do.


Great work Nem :) Wish I had 1/3 of the brains you do to do this type of work :)

Can I ask in what direction your going now with this? any other idea's you are working on?

Thanks
Back to top
View user's profile Send private message
Orion_



Joined: 27 Jan 2005
Posts: 69

PostPosted: Sat May 07, 2005 4:50 am    Post subject: Reply with quote

I would never have flash my psp, now I can't code on it :'(
btw, do we have enough thing to start writing a psp emulator ??
Back to top
View user's profile Send private message
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Sat May 07, 2005 7:42 am    Post subject: Reply with quote

nem wrote:
The bitmap in the code is 5551 formatted short. You'll find in the code how rgb is assigned to. I do not know about tools. I wrote some small code to convert the image.


hey nem you want to make you bmp to c converter program or source available?
_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
skippy911



Joined: 06 May 2005
Posts: 46

PostPosted: Sat May 07, 2005 8:27 am    Post subject: Reply with quote

Well I made a little demo with scrolling text but I still cant get my gfx to show up correctly. Anyone else working on modifying nem's source that got their gfx to display??

On the psp
http://img206.echo.cx/img206/3374/mario0028iu.jpg

Original picture
http://img51.echo.cx/img51/8152/mario0033ia.jpg

See the colors are wrong :-/

edit: and no its not blurry its just hard to get a good pic with my camera


Last edited by skippy911 on Sat May 07, 2005 1:56 pm; edited 2 times in total
Back to top
View user's profile Send private message
cowclub



Joined: 07 May 2005
Posts: 2

PostPosted: Sat May 07, 2005 1:53 pm    Post subject: help Reply with quote

IT say's "The GAme could not be started (80020001)"PLEASE HELP
Back to top
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Sat May 07, 2005 2:03 pm    Post subject: Reply with quote

Skippy911: like I said in IRC, the pixel format must be BGR instead of RGB
cowclub: you cannot run code on PSPs with version 1.5 of the firmware installed and no there is currently no way to revert back to v1.0
Back to top
View user's profile Send private message
Orion_



Joined: 27 Jan 2005
Posts: 69

PostPosted: Sat May 07, 2005 2:25 pm    Post subject: Reply with quote

like I said 4 post upstairs than your post skippy911

I can't understand how work the call to kernel function.
does the numbers in startup.s are the address of the functions in kernel/memory ?
how did you find them and what was their parameters ?
Back to top
View user's profile Send private message
skippy911



Joined: 06 May 2005
Posts: 46

PostPosted: Sat May 07, 2005 2:46 pm    Post subject: Reply with quote

Got it working right thanks to some help with the colors:

http://rapidshare.de/files/1617656/EBOOT.rar.html

Here is a pic for people who cant run it:

http://img131.echo.cx/img131/1497/mario1fr.jpg

Oh yah and the text scrolls across the bottom of the screen.


Last edited by skippy911 on Sat May 07, 2005 2:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
skippy911



Joined: 06 May 2005
Posts: 46

PostPosted: Sat May 07, 2005 2:49 pm    Post subject: Reply with quote

Orion_ wrote:
like I said 4 post upstairs than your post skippy911

I can't understand how work the call to kernel function.
does the numbers in startup.s are the address of the functions in kernel/memory ?
how did you find them and what was their parameters ?


I dunno you would have to ask nem I just used his functions :-/
Back to top
View user's profile Send private message
alexmae



Joined: 12 Mar 2005
Posts: 22

PostPosted: Sat May 07, 2005 3:20 pm    Post subject: Reply with quote

skippy911 wrote:
Got it working right thanks to some help with the colors:

http://rapidshare.de/files/1617656/EBOOT.rar.html

Here is a pic for people who cant run it:

http://img131.echo.cx/img131/1497/mario1fr.jpg

Oh yah and the text scrolls across the bottom of the screen.

how did you made that? what did you used?
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  Next
Page 3 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