QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Technically: We could compile programs FOR the PSP, ON the PSP...

This is a discussion on Technically: We could compile programs FOR the PSP, ON the PSP... within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; With the PSPDev Win32 installer, + Bochs emulating Windows 95, we should be able to compile programs FOR the PSP, ...

Reply
 
LinkBack Thread Tools
Old 08-17-2006, 06:51 PM   #1

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default Technically: We could compile programs FOR the PSP, ON the PSP...

With the PSPDev Win32 installer, + Bochs emulating Windows 95, we should be able to compile programs FOR the PSP, ON the PSP. God knows how long it would take, and you'd need a pretty large memory stick, but technically, it should be possible. It would take about 5 minutes to compile, 1 hour to install, but it should work.

Just for fun, Im thinking about trying this, maybe re-map bochs emulation via IrShell, have PSPDev already installed, and just run it from the command prompt on the PSP... Before I go wasting my time, can someone give me a good detailed explanation as to why it will not work, despite the time required for such a thing? If you can't, then bllaahh.
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 06:57 PM   #2

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

are you kidding me.... 5 mintues to compile.... more like a week, and a month to install
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:02 PM   #3

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

No... 10 Minutes to boot up is a little over the top for crappy PCs today. Installing it is a matter of extracting files to certain places so an hour seems fit for it. Maybe 2... A week to compile? It takes my 5 minutes to boot up piece of garbage laptop, 1 minute to compile... So itd actually take around 2 minutes to compile a Hello World... Much longer for anything with alot of linked libraries.

But i dont here you denying it, so yeah, it must be possible if the great Bronx isnt denying it
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:04 PM   #4
 

 
Join Date: Mar 2006
Location: LOLWUT
Posts: 2,625
Trader Feedback: 1
Default

Honestly I was thinking about this. But I know I don't have the experience for this, probably never will.
Well, good luck if you decide to do it!
PSPduh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:04 PM   #5

100% Pure Awesome
 
Join Date: Jan 2006
Posts: 508
Trader Feedback: 0
Default

Why not test it then show your results? Otherwise this should be in speculation.
__________________

Ravine is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:05 PM   #6

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

edited- for being ignorant....:/
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:07 PM   #7

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

But it has proof Ravine... We have the resources to make it happen, just not the right 'software' knowledge to know if the PSP's emulated x86 envirorment can install and go throuhg the routine of compiling a program... Atleast I dont, so I made this asking those who know more of it than me, whether it's worth the time/effort. If i get no denials with some hard proof, than I will try it.

Until than, I wait another hour or so...

EDIT

Bronx.... Seriously, are you illiterate? Please re-read my first post you penis...
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:08 PM   #8
 

 
Join Date: Aug 2006
Location: Missouri
Posts: 451
Trader Feedback: 0
Default

I wanna get Windows 95 on my PSP. But I doubt it will fit on a 512MB memory stick anyway so nevermind lol.
Cheez Pirate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:08 PM   #9

100% Pure Awesome
 
Join Date: Jan 2006
Posts: 508
Trader Feedback: 0
Default

What kind of proof do you have? Qualitative? Quantitative? I think none of either. You can't have proof without evidence of any kind. Right now this is based on faith of it workin or not.
__________________

Ravine is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:09 PM   #10

sceKernelExitGame();
 
Bronx's Avatar
 
Join Date: Jan 2006
Location: New York
Posts: 3,125
Trader Feedback: 0
Default

Fixed...
Bronx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:10 PM   #11

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Well, do you know whether the emulated x86 envirorment the PSP is running, can go through the routine of compiling a program, via that PSPDev setup?

I guess the real question is... Can Windows 95? If so, the PSP surely can?
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 07:22 PM   #12

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

If it's a perfect emulation, I don't see why it couldn't. Are there any bugs with Bochs? If there are any problems with the Windows 95 emulation, it could interfere with compiling the program.
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 09:47 PM   #13

Developer
 
Join Date: Nov 2005
Posts: 445
Trader Feedback: 0
Default

You could just compile gcc for the psp, it should compile fine. (You'll need to mod it to get it usable)

HOWEVER.
Its highly likely you will run out of memory doing any real amount of compilation.
This is something I've thought about doing before just for a laugh, but I think it will be unusably bad.
danzel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 10:05 PM   #14

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

Bad in efficiency, yes... Bad in usability, no, since it'd be the only real way to compile FOR the PSP, ON the PSP. Unless we got some linux distro running, which was proven to be impossible...
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 10:49 PM   #15

Developer
 
Join Date: Jul 2006
Posts: 262
Trader Feedback: 0
Default

I'd say compiling C would be horribly slow, especially with Intel CPU emulation. Interestingly, I was thinking earlier today about how great it would be to have a PSP homebrew app that assembled PSP eboot code--a PSP assembler that runs on the PSP. It could also have an IDE / text-editor, with shortcuts to commonly used ASM words. But I know nothing about MIPS assembly. A portable LUA editor would be interesting--a text editor that has shortcuts to common LUA key words from a drop-down menu(s) or something. Personally, I'm not into LUA scripts--I love C/C++, but it would be great for LUA programmers.
the_darkside_986 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 10:51 PM   #16

I'm Baaaack!
 
Access_Denied's Avatar
 
Join Date: May 2006
Location: Waukegan,Illinois
Posts: 2,185
Trader Feedback: 0
Default

Quote:
Originally Posted by the_darkside_986
I'd say compiling C would be horribly slow, especially with Intel CPU emulation. Interestingly, I was thinking earlier today about how great it would be to have a PSP homebrew app that assembled PSP eboot code--a PSP assembler that runs on the PSP. It could also have an IDE / text-editor, with shortcuts to commonly used ASM words. But I know nothing about MIPS assembly. A portable LUA editor would be interesting--a text editor that has shortcuts to common LUA key words from a drop-down menu(s) or something. Personally, I'm not into LUA scripts--I love C/C++, but it would be great for LUA programmers.
We have TTLDE. It edits .txt and .lua files.
__________________
Access_Denied is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 10:58 PM   #17

Developer
 
Join Date: Jul 2006
Posts: 262
Trader Feedback: 0
Default

I haven't learned any LUA so I wouldn't have known that. But an assembler would be cool except it would probably take a massive amount of pure assembly code just to produce hello world, wouldn't it?
the_darkside_986 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 11:01 PM   #18

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

not a massive amount, but a lot
__________________
Quote:
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
http://forums.qj.net/501501-post26.html
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 11:21 PM   #19

Developer
 
Join Date: Jul 2006
Posts: 262
Trader Feedback: 0
Default

I was looking at my 287 KB eboot.pbp but then I realized that it is just the graphics library stuff that makes it big. A Hello World written in C is only 38 KB. But that is over 38,000 bytes, which is considerably large for something simple made with assembly. Maybe an assembler with plenty of macros would shorten the work, but that would probably be as slow as trying to compile C on the PSP.
the_darkside_986 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 11:22 PM   #20
 
Urza's Avatar
 
Join Date: Aug 2005
Posts: 4,540
Trader Feedback: 0
Default

...why would you want to compile code on the PSP?
Urza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 11:35 PM   #21

Developer
 
Join Date: Jul 2006
Posts: 262
Trader Feedback: 0
Default

There really is no use in doing that unless you are miles away from your cygwin or unix pspdev box. Only a real hardcore programmer or lunatic would want write MIPS assembly at the beach. But I wouldn't mind writing a little bit of C at the beach lol j/k.
the_darkside_986 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 11:40 PM   #22
 
Urza's Avatar
 
Join Date: Aug 2005
Posts: 4,540
Trader Feedback: 0
Default

Quote:
Originally Posted by the_darkside_986
There really is no use in doing that unless you are miles away from your cygwin or unix pspdev box. Only a real hardcore programmer or lunatic would want write MIPS assembly at the beach..
A real hardcore programmer would never waste their time typing up C with any of the mediocre typing configurations developed for the PSP.
Urza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 11:53 PM   #23

Developer
 
Join Date: Jul 2006
Posts: 262
Trader Feedback: 0
Default

Of course not with C, but I was just joking about doing either MIPS or C at the beach. The PSP screen is kinda hard to see when the sun is bright outside. The PSP homebrew users do need a decent text input system--if that's even possible on it. Sony's cellphone entry scheme is just awful, and PSPad is ok but feels a bit awkward.
the_darkside_986 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-17-2006, 11:58 PM   #24
 
Urza's Avatar
 
Join Date: Aug 2005
Posts: 4,540
Trader Feedback: 0
Default

Quote:
Originally Posted by the_darkside_986
The PSP screen is kinda hard to see when the sun is bright outside.
Get one of those flippy covers. Like Pelican's. They do a decent job of blocking out the sun as long as its not too bright.
Urza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 01:14 AM   #25

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

I wouldnt mind making little tweaks to my current project while on a 4 hour plane ride, then rest for 2 minutes or so while it compiles. And having such built on the PSP, would allow me to check for any syntax errors.

It sure would help me as i have nothing but time on long car rides and plane rides. I go on one atlleast 1 per month.
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 01:29 AM   #26
 
Urza's Avatar
 
Join Date: Aug 2005
Posts: 4,540
Trader Feedback: 0
Default

I think an on-the-go editor would be more suited for something that doesn't require compiling, like Lua.
Urza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 06:52 AM   #27
 
Join Date: Oct 2005
Posts: 543
Trader Feedback: 0
Default

Get a laptop. You can get one for 600 USD nowadays.
__________________
HELP ME HAIRY LEG!!!!

I have a 1.5 (downgraded) US PSP
[code]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \
( P | S | P | - | P | r | o | g | r | a | m | m | i | n | g )
\_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/
_ _ _ _ _
/ \ / \ / \ / \ / \
( A | d | m | i | n )
\_/ \_/ \_/ \_/ \_/ [/code]
nathan42100 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 07:09 AM   #28
 
Urza's Avatar
 
Join Date: Aug 2005
Posts: 4,540
Trader Feedback: 0
Default

Quote:
Originally Posted by nathan42100
Get a laptop. You can get one for 600 USD nowadays.
I got mine for 250 USD. <3
Urza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 07:35 AM   #29

Your Fate is Grim...
 
Grimfate126's Avatar
 
Join Date: Oct 2005
Posts: 2,269
Trader Feedback: 0
Default

Quote:
Originally Posted by nathan42100
Get a laptop. You can get one for 600 USD nowadays.
where do u live. i got min for 350. (alienware. )

On-Topic: are u gonna try this?? or is it just something u could do?
__________________
--------------------------------------------------------------------------------------
Grimfate126 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-18-2006, 07:40 AM   #30
 
Urza's Avatar
 
Join Date: Aug 2005
Posts: 4,540
Trader Feedback: 0
Default

Quote:
Originally Posted by Grimfate126
On-Topic: are u gonna try this?? or is it just something u could do?
I highly doubt anyone is going to pull this off...or even attempt it at that matter.
Urza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
compile , programs , psp , technically

Thread Tools

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

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



All times are GMT -8. The time now is 07:49 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us