Search found 21 matches

by planetusa
Fri Feb 10, 2006 3:51 pm
Forum: PSP Development
Topic: [question] Ramdrive, with custom mapping?
Replies: 2
Views: 1653

[question] Ramdrive, with custom mapping?

A few questions come to mind, firstly, has anyone discovered a faster way to write to the memory stick? But on topic: I'm considering creating a ramdrive, with it's own custom mapping (if the psp has the ability to do so). The ramdrive is the easier part, but does anyone know how I could add it to t...
by planetusa
Tue Feb 07, 2006 11:40 am
Forum: PSP Development
Topic: dosbox
Replies: 698
Views: 659491

Re: Is this still under development?

Sorry if this question has already been proposed, or if I unwittingly say something very nooby, but is Dosbox for the PSP still under development? It sounds like such a great idea. I'm thinking it would be awesome to play some of my old dos games like Willy Beamish, Wing Commander, Ultima, Rise of ...
by planetusa
Tue Feb 07, 2006 10:09 am
Forum: PSP Development
Topic: dosbox
Replies: 698
Views: 659491

I myself haven't been able to get a binary of dosbox to work, but it's good to hear there's a few fixes out there. How fast do you think it would be for say games like commander keen and the like? Old school side scrollers.... Also, eventually, will it be possible to map certain buttons (d-pad to ar...
by planetusa
Thu Jan 19, 2006 1:43 pm
Forum: PSP Development
Topic: Need help with WiFi/HTTP code
Replies: 5
Views: 2218

As to a why.....I actually notice something, something from when I was working on something else.....the more full buffer gets, the slower the psp is, and is in writing to buffer, if you could write to the file as the data comes in, you may have a solution.

Michael
by planetusa
Thu Jan 19, 2006 1:39 pm
Forum: PSP Development
Topic: Need help with WiFi/HTTP code
Replies: 5
Views: 2218

I myself had similar issue....I think it's the PSP, and not your code, but I haven't determined for certain.

Right now, I suggest using the ported libcurl

(Bottom of page)

http://forums.ps2dev.org/viewtopic.php?t=4275&start=0
by planetusa
Fri Jan 13, 2006 5:39 pm
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

On the quitting problem, you ALSO need to turn off wifi, else it has problems turning it on the next time. On the other issue, having never used curl, I went to take a look. Looks like if you don't use a callback, it can write to a file, this is good news indeed. Now to define the appropriate functi...
by planetusa
Fri Jan 13, 2006 5:33 pm
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

Updated my toolchain, that fixed it.....now....it downloads binary files, but my old method for writing to the MS causes the PSP to crash....so I'm looking for a new way to store the data it downloads. I've tried a few different things in place of your "spamming the screen", but so far, th...
by planetusa
Fri Jan 13, 2006 8:16 am
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

It has an issue with select.h, can you put that up?

Michael
by planetusa
Fri Jan 13, 2006 4:19 am
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

If curl works, this makes my job a hell of a lot easier.

Michael
by planetusa
Fri Jan 13, 2006 4:18 am
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

Well ok then....I'll give curl a try. See, we were trying to keep it light weight, but I'll take a look at what you've got.

If you've got the already patched version, if would be appreciated if you could email it to me)

Michael
by planetusa
Wed Jan 11, 2006 2:19 pm
Forum: PSP Development
Topic: Network Connection drops upon receipt of NUL character
Replies: 6
Views: 2659

Keep in mind that printf considers \0 as end-of-string. What would you recommend as a way to verify for certain that I'm getting or not getting all the data? Even though printf may stop at the NUL, I have the printf in the while {} which means it would be called repeated times, if data was still be...
by planetusa
Wed Jan 11, 2006 2:15 pm
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

TARGET = wget OBJS = main.o INCDIR = CFLAGS = -O2 -G0 -Wall CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti ASFLAGS = $(CFLAGS) LIBDIR = LDFLAGS = LIBS = -lpspdebug -lpspsdk -lpspwlan -lpspnet_apctl -lpspnet_resolver -lc -lpspnet_inet -lpspnet #LIBS = -lpspdebug -lpsp...
by planetusa
Wed Jan 11, 2006 10:37 am
Forum: PSP Development
Topic: Network Connection drops upon receipt of NUL character
Replies: 6
Views: 2659

Pretty positive, if I printf buffer above // adjust buffer, if needed len += count; if (len + 256 > capacity) { capacity *= 2; buffer = realloc(buffer, capacity); if (!buffer) break; } All I get is the http header information, and the...
by planetusa
Wed Jan 11, 2006 8:05 am
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

#include <string.h> #include <stdio.h> #include <errno.h> #include <malloc.h> #include <pspkernel.h> #include <pspdebug.h> #include <pspsdk.h> #include <psputility.h> #include <pspnet_apctl.h> #include <pspnet_inet.h> #include <netinet/in.h> #include <sys/socket.h> #include <util.h> // TODO&#58...
by planetusa
Wed Jan 11, 2006 1:55 am
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

I have modified Shine's example heavily (sent him a PM), it now supports URI parsing, and both the GET and POST methods, and I will be happy to share the code, as soon as I can get binary files to transfer correctly. Currently, plaintext works flawlessly, if you can help, please see thread http://fo...
by planetusa
Wed Jan 11, 2006 1:47 am
Forum: General Discussion
Topic: PSPlinux gone wiki...
Replies: 6
Views: 7369

This is good news, I was wondering what happened to the project.

Obviously, there's the http://uclinux.org/ project, and then there's usermode linux, and so probably psp-linux(until someone hacks the psp bootloader) will be a hybrid of those two.

Michael
by planetusa
Tue Jan 10, 2006 5:20 pm
Forum: PSP Development
Topic: Network Connection drops upon receipt of NUL character
Replies: 6
Views: 2659

Network Connection drops upon receipt of NUL character

I'm attempting to retrieve a file via http, plain text works flawlessly, but with most binary files, after the header information, there is a NUL character, at which point, the psp stops receiving data, so in the case of a jpg, I only recieve the first 4 characters, what can I do to fix this? int ca...
by planetusa
Wed Dec 07, 2005 2:23 pm
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

I looked at that, and despite all my efforts, couldn't get it to work. Are you planning to update your wget code to use dns?

Michael
by planetusa
Wed Dec 07, 2005 10:16 am
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

I hear tale using those same API's, there is a DNS resolve function....anybody know how to use it? Can you post in a function to return the hosts IP address?

Michael
by planetusa
Tue Dec 06, 2005 3:40 pm
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

mrbrown wrote:Do not use ads in your signature.
Sorry bout that, I've just been copying and pasting it in lately.

As to my question, based on wifitest, I know how to open a socket for listening, and send data, but I suppose there's a cleaner more efficient way of doing it.

Michael
by planetusa
Tue Dec 06, 2005 3:07 pm
Forum: PSP Development
Topic: Retrieve files via http
Replies: 41
Views: 22766

Retrieve files via http

Can someone provide an example of source as to the best way to retrieve files via http (port 80, and http GET) in the same basic operation as wget?

Many thanks,
Michael