Author |
Message |
- Joined: 29 Jun 1999
- Posts: 383
- Location: Brazil
|
Sms C compiler
Posted: Tue Jun 29, 1999 6:24 pm
|
Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
it looks very powerfull! But a sms one would be really more nicer :)
|
|
|
- Joined: 24 Jun 1999
- Posts: 1732
- Location: Paris, France
|
Posted: Tue Jun 29, 1999 6:35 pm
|
Quote > Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
> it looks very powerfull! But a sms one would be really more nicer :)
Well, a port from the one for Gameboy should be technically faisable.
|
|
|
- Joined: 29 Jun 1999
- Posts: 383
- Location: Brazil
|
Posted: Tue Jun 29, 1999 10:28 pm
|
Quote > > Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
> > it looks very powerfull! But a sms one would be really more nicer :)
> Well, a port from the one for Gameboy should be technically faisable.
This could boost the sms development scene!
|
|
|
- Joined: 24 Jun 1999
- Posts: 1732
- Location: Paris, France
|
Posted: Tue Jun 29, 1999 11:09 pm
|
Quote > > > Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
> > > it looks very powerfull! But a sms one would be really more nicer :)
> > Well, a port from the one for Gameboy should be technically faisable.
> This could boost the sms development scene!
I suggest taking contact with the guy who made it. Maybe he would be interested in doing the
port himself. Does anybody know the webpage for it ? (I even forgot the name of the kit
|
|
|
- Joined: 29 Jun 1999
- Posts: 383
- Location: Brazil
|
Posted: Tue Jun 29, 1999 11:14 pm
|
Quote > > > > Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
> > > > it looks very powerfull! But a sms one would be really more nicer :)
> > > Well, a port from the one for Gameboy should be technically faisable.
> > This could boost the sms development scene!
> I suggest taking contact with the guy who made it. Maybe he would be interested in doing the
> port himself. Does anybody know the webpage for it ? (I even forgot the name of the kit
Hum...let's see!
|
|
|
ziggy880
|
Posted: Wed Jun 30, 1999 12:44 am
|
Quote > > > > > Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
> > > > > it looks very powerfull! But a sms one would be really more nicer :)
> > > > Well, a port from the one for Gameboy should be technically faisable.
> > > This could boost the sms development scene!
> > I suggest taking contact with the guy who made it. Maybe he would be interested in doing the
> > port himself. Does anybody know the webpage for it ? (I even forgot the name of the kit
> Hum...let's see!
Actually the source is available www.gbdev.org/gbdk and charles doty mentioned the possibility of
him porting it for this reason
|
|
|
- Joined: 29 Jun 1999
- Posts: 68
- Location: Houston TX
|
Posted: Wed Jun 30, 1999 3:29 am
|
Quote > Well, a port from the one for Gameboy should be technically faisable.
I've developed a Game Gear Assembler/Linker from the Gameboy versions. There was some discussion about porting the stuff over.
|
|
|
Lin Ke-Fong
|
Posted: Wed Jun 30, 1999 2:45 pm
|
[SMS/GG C compiler]
Quote > > > > > Well, a port from the one for Gameboy should be technically faisable.
> > > > This could boost the sms development scene!
> > > I suggest taking contact with the guy who made it. Maybe he would be interested in doing the
> > > port himself. Does anybody know the webpage for it ? (I even forgot the name of the kit
> > Hum...let's see!
> Actually the source is available www.gbdev.org/gbdk and charles doty mentioned the possibility of
> him porting it for this reason
Well, any C compiler for Z80 will do I guess since both SMS and GG are Z80 based, the problem with
the gameboy C compiler is that the gb uses a slightly modified Z80, anyway the compiler may not
generate those special opcodes.
|
|
|
ziggy880
|
Posted: Wed Jun 30, 1999 4:54 pm
|
Quote > [SMS/GG C compiler]
> > > > > > Well, a port from the one for Gameboy should be technically faisable.
> > > > > This could boost the sms development scene!
> > > > I suggest taking contact with the guy who made it. Maybe he would be interested in doing the
> > > > port himself. Does anybody know the webpage for it ? (I even forgot the name of the kit
> > > Hum...let's see!
> > Actually the source is available www.gbdev.org/gbdk and charles doty mentioned the possibility of
> > him porting it for this reason
> Well, any C compiler for Z80 will do I guess since both SMS and GG are Z80 based, the problem with
> the gameboy C compiler is that the gb uses a slightly modified Z80, anyway the compiler may not
> generate those special opcodes.
gbdk is a z80 compiler though it is most used for the variant used in the gb
|
|
|
Ricardo Bittencourt
|
Posted: Wed Jun 30, 1999 5:08 pm
|
Quote > Its hard to develop a sms/GG C compiler?
Some years ago I made a C compiler for MSX, called RBC.
It will work without modification for the sega 8-bit
consoles since they use the same processor.
You can get RBC at http://www.lsi.usp.br/~ricardo/msx.htm
|
|
|
Paul Lee
|
Posted: Wed Jun 30, 1999 6:09 pm
|
Quote > Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
> it looks very powerfull! But a sms one would be really more nicer :)
If you can find a Z80 C compiler that is all you would need (unless the SMS has some funny addressing). The Genesis compiler was the Sozobon C compiler that I modified because of the Genesis RAM layout.
|
|
|
Lin Ke-Fong
|
Posted: Wed Jun 30, 1999 6:11 pm
|
Quote > > [SMS/GG C compiler]
> > > > > > > Well, a port from the one for Gameboy should be technically faisable.
> > > > > > This could boost the sms development scene!
> > > > > I suggest taking contact with the guy who made it. Maybe he would be interested in doing the
> > > > > port himself. Does anybody know the webpage for it ? (I even forgot the name of the kit
> > > > Hum...let's see!
> > > Actually the source is available www.gbdev.org/gbdk and charles doty mentioned the possibility of
> > > him porting it for this reason
> > Well, any C compiler for Z80 will do I guess since both SMS and GG are Z80 based, the problem with
> > the gameboy C compiler is that the gb uses a slightly modified Z80, anyway the compiler may not
> > generate those special opcodes.
> gbdk is a z80 compiler though it is most used for the variant used in the gb
Yes, you are right... I am wrong! I've checked gbdk and well it's a full featured C compiler for
Z80 processors.
So it seems there is no problem for the C compiler, we just have to rewrite the libraries.
|
|
|
- Joined: 29 Jun 1999
- Posts: 383
- Location: Brazil
|
Posted: Wed Jun 30, 1999 6:31 pm
|
Quote > > > [SMS/GG C compiler]
> > > > > > > > Well, a port from the one for Gameboy should be technically faisable.
> > > > > > > This could boost the sms development scene!
> > > > > > I suggest taking contact with the guy who made it. Maybe he would be interested in doing the
> > > > > > port himself. Does anybody know the webpage for it ? (I even forgot the name of the kit
> > > > > Hum...let's see!
> > > > Actually the source is available www.gbdev.org/gbdk and charles doty mentioned the possibility of
> > > > him porting it for this reason
> > > Well, any C compiler for Z80 will do I guess since both SMS and GG are Z80 based, the problem with
> > > the gameboy C compiler is that the gb uses a slightly modified Z80, anyway the compiler may not
> > > generate those special opcodes.
> > gbdk is a z80 compiler though it is most used for the variant used in the gb
Do you think its hard to do that?
Quote > Yes, you are right... I am wrong! I've checked gbdk and well it's a full featured C compiler for
> Z80 processors.
> So it seems there is no problem for the C compiler, we just have to rewrite the libraries.
|
|
|
- Joined: 29 Jun 1999
- Posts: 68
- Location: Houston TX
|
Posted: Thu Jul 01, 1999 8:38 pm
|
Quote > > So it seems there is no problem for the C compiler, we just have to rewrite the libraries.
You'll also need to use the Game Gear assembler and linker.
|
|
|
Ex-Cyber
|
Posted: Sun Jul 04, 1999 12:46 pm
|
Quote > > Its hard to develop a sms/GG C compiler? I have a genesis C compiler, and
> > it looks very powerfull! But a sms one would be really more nicer :)
> Well, a port from the one for Gameboy should be technically faisable.
Technically feasible, maybe, but imho it wouldn't be the best course of action. From what I've read, the Gameboy's CPU is missing quite a bit compared to the Z80, and some instructions have been added or have had their opcodes changed. imho, you'd probably be better off starting with a plain Z80 compiler.
|
|
|