Search found 5 matches

by DoctorRockit
Fri Dec 07, 2007 3:07 am
Forum: PSP Development
Topic: [SOLVED] Problem with Pointers!!! Please Help.
Replies: 8
Views: 3553

terryxq wrote:
DoctorRockit wrote:Actually the solution you posted does not deal with alignment, but rather with little-endian to big-endian conversion (or vice versa).
I don't think so. macro READU32/16 uses for le, psp is le.
Pardon me, you're right. The byte-wise access solves the alignment problem.
by DoctorRockit
Fri Dec 07, 2007 12:46 am
Forum: PSP Development
Topic: [SOLVED] Problem with Pointers!!! Please Help.
Replies: 8
Views: 3553

Actually the solution you posted does not deal with alignment, but rather with little-endian to big-endian conversion (or vice versa).

See:
http://en.wikipedia.org/wiki/Data_structure_alignment

versus

http://en.wikipedia.org/wiki/Endianess
by DoctorRockit
Tue Dec 04, 2007 8:16 pm
Forum: PSP Development
Topic: Thread creation problem
Replies: 10
Views: 3197

I haven't really looked at your threading code, but one thing you might want to try is qualifying the global variable washere as being volatile, to force the compiler to read it from memory in your final check.
by DoctorRockit
Thu Nov 22, 2007 6:18 pm
Forum: PSP Development
Topic: Getting different prompt in Cygwin
Replies: 3
Views: 1510

While you can easily fix the shell prompt by setting the PS1 environment variable to something like "\u@\h \w$ " your description sounds as if something else is seriously wrong. Try rebuilding /etc/passwd by executing: mkpasswd -l > /etc/passwd and restart the cygwin shell afterwards. HTH
by DoctorRockit
Thu Nov 22, 2007 6:12 pm
Forum: PSP Development
Topic: [VERY POSSIBLE, Read Y!] Custom IPL with "HIBERNATE&quo
Replies: 6
Views: 2377

No Why Nawt? Because, among other things, you're forgetting about the current state of all devices which must be backed up and restored as well. Another thing is that you have have to backup and restore the complete context of the current thread of execution, just as an operating system with preemp...