![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
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, ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() ![]() ...in a dream...
|
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.
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#2 |
![]() ![]() sceKernelExitGame();
|
are you kidding me.... 5 mintues to compile.... more like a week, and a month to install
__________________
|
|
|
|
|
|
#3 |
![]() ![]() ...in a dream...
|
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
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#6 |
![]() ![]() sceKernelExitGame();
|
edited- for being ignorant....:/
__________________
|
|
|
|
|
|
#7 |
![]() ![]() ...in a dream...
|
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...
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#10 |
![]() ![]() sceKernelExitGame();
|
Fixed...
__________________
|
|
|
|
|
|
#11 |
![]() ![]() ...in a dream...
|
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?
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#12 |
![]() ![]() I'm Baaaack!
|
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.
__________________
|
|
|
|
|
|
#13 |
![]() ![]() Developer
|
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. |
|
|
|
|
|
#14 |
![]() ![]() ...in a dream...
|
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...
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#15 |
![]() ![]() Developer
|
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.
|
|
|
|
|
|
#16 | |
![]() ![]() I'm Baaaack!
|
Quote:
__________________
|
|
|
|
|
|
|
#18 | |
![]() ![]() is not posting very often
|
not a massive amount, but a lot
__________________
Quote:
|
|
|
|
|
|
|
#19 |
![]() ![]() Developer
|
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.
|
|
|
|
|
|
#21 |
![]() ![]() Developer
|
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.
|
|
|
|
|
|
#22 | |
![]() |
Quote:
|
|
|
|
|
|
|
#23 |
![]() ![]() Developer
|
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.
|
|
|
|
|
|
#24 | |
![]() |
Quote:
|
|
|
|
|
|
|
#25 |
![]() ![]() ...in a dream...
|
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.
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#27 |
![]() |
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] |
|
|
|
|
|
#29 | |
![]() ![]() Your Fate is Grim...
|
Quote:
)On-Topic: are u gonna try this?? or is it just something u could do?
__________________
-------------------------------------------------------------------------------------- ![]() |
|
|
|
|
![]() |
| Tags |
| compile , programs , psp , technically |
| Thread Tools | |
|
|