Random Homebrew: PSPLink
Debugging utility for the PSP
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

How are Development Kits for portables made?

Discuss about your favorite (gaming...or not) devices here. The most popular ones will end up getting their own categories
Programming discussions for your favorite Device

How are Development Kits for portables made?

Postby 10$man » Mon May 07, 2012 9:05 pm

Ok, I don't really know how to expand more on this question then how did the people who made PSPSDK or GBDK or some other development kit do it?
Is it a complete compiler or just a set of libraries?

Any information or links you can give me would be great!
Sorry if I didn't clarify well :P
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby nisarg_kolhe » Tue May 08, 2012 3:08 am

For PSP, its like a CPU with a UMD Drive and maybe some kind of SDK loaded on it. It looks like this-
Image

No idea about DS/3DS though...
Imageand lover!
Reality Sucks! :|
!~My Blog~!
Spoiler
User avatar
nisarg_kolhe
 
Posts: 2640
Joined: Fri Dec 10, 2010 12:44 pm
Location: 404 : Not Found

Re: How are Development Kits for portables made?

Postby 10$man » Tue May 08, 2012 10:41 am

I'm sorry, that's pretty interesting but not exactly what I meant.

I mean the programming side. Not actual hardware.
Is the PSPSDK a C compiler packaged with PSP libraries or is it a whole new compiler based off C?
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby m0skit0 » Tue May 08, 2012 11:59 am

10$man wrote:how did the people who made PSPSDK or GBDK or some other development kit do it?

Reversing and writing code.

10$man wrote:Is it a complete compiler or just a set of libraries?

On most cases, it's a modification of GCC that's used. GCC is already available for most architectures, so you just need to tune it a bit for the desired architecture.

10$man wrote:Is the PSPSDK a C compiler packaged with PSP libraries or is it a whole new compiler based off C?

Compiler based off C? This sentence makes no sense. I suggest you learning about how programming actually works.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: How are Development Kits for portables made?

Postby 10$man » Tue May 08, 2012 1:43 pm

On most cases, it's a modification of GCC that's used. GCC is already available for most architectures, so you just need to tune it a bit for the desired architecture.

Alright, thank you. That's all I was looking for.

Compiler based off C? This sentence makes no sense. I suggest you learning about how programming actually works.

Oh, it really does make sense.
A compiler based of C would use the same interface and commands that the C programming language uses.
Perhaps you thought it didn't make sense because I mistaked C for a compiler instead of a programming language.
I am aware of how programming works, I have been at it for quite some time now.
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby m0skit0 » Tue May 08, 2012 3:49 pm

10$man wrote:A compiler based of C would use the same interface and commands that the C programming language uses.

I didn't think you mistake compiler with programming language. I'm guessing you mean to write a C compiler in C language. You cannot write a C compiler in C language without having another previous C compiler to compile with. This is why I said it made no sense.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: How are Development Kits for portables made?

Postby 10$man » Tue May 08, 2012 8:47 pm

m0skit0 wrote:
10$man wrote:A compiler based of C would use the same interface and commands that the C programming language uses.

I didn't think you mistake compiler with programming language. I'm guessing you mean to write a C compiler in C language. You cannot write a C compiler in C language without having another previous C compiler to compile with. This is why I said it made no sense.

Why would someone make a C compiler in C when they already have a C compiler :? ...
My question was supposed to mean did someone create a compiler that used the C language. I didn't mean to specify what language the compiler was wrote in, only what language it would compile.

Sorry for the misunderstanding and thank you for your help!
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby m0skit0 » Wed May 09, 2012 8:12 am

The problem is your sentence:

10$man wrote:a compiler that used the C language

This makes no sense. You just have to say: C compiler.

10$man wrote:Why would someone make a C compiler in C when they already have a C compiler :? ...

Well, FYI GCC is written in C (and most C compilers are actually written in C).
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: How are Development Kits for portables made?

Postby 10$man » Wed May 09, 2012 3:34 pm

m0skit0 wrote:The problem is your sentence:

10$man wrote:a compiler that used the C language

This makes no sense. You just have to say: C compiler.

10$man wrote:Why would someone make a C compiler in C when they already have a C compiler :? ...

Well, FYI GCC is written in C (and most C compilers are actually written in C).


Actually it does make sense, you just don't like how I said it.

I guess that's a good point.
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby m0skit0 » Wed May 09, 2012 3:41 pm

First, your english is not very "polished" ( :lol: ), so you should definitely try to learn how things are said.

No, it does not make sense, it's not said that way, and it's not understandable. Did you mean a C compiler? Did you mean a compiler for X language made in C? Did you mean a C compiler made in C? That's why there's a standard way of saying things, since language is for communicating with other people. There are rules so we can understand each other easily.

TL;DR: It's "C compiler", not "a compiler that used the C language". Period.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Next

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron