GCC or SDCC for R800?

Page 2/3
1 | | 3

By ARTRAG

Enlighted (6338)

ARTRAG's picture

30-01-2006, 09:40

Does GCC for z80 exist?

By jltursan

Prophet (2273)

jltursan's picture

30-01-2006, 10:16

As far as I know the answer is no. Seems a cursed work, several ports have been started along time but no one finishes...
Anyway there're some other ports close enough to be usable (only guessing), the first one is DevKit Advance for Gameboy and the second is TIGCC for TI calculators. I don't have any idea about how hard could be a port to MSX of those compilers.

By ARTRAG

Enlighted (6338)

ARTRAG's picture

30-01-2006, 11:54

Go for HiTec C, it's one of the best.
I tried the limited demo and it rocks!
Unfortunately it costs also a lot, so you can have
it only if you do professional developement...
Unless you .... ####selfcensured#### Smile

By ARTRAG

Enlighted (6338)

ARTRAG's picture

30-01-2006, 11:55

To be HONEST and precise I have only the free demo
even if I must admit I looked for the full version for a
long time, without success Smile

By Manuel

Ascended (16388)

Manuel's picture

30-01-2006, 12:45

You can use the CP/M version for free, in combination with a CP/M emulator it is quite usable.

By ARTRAG

Enlighted (6338)

ARTRAG's picture

30-01-2006, 13:15

But not equally efficient....
The CP/M version is about 10 years old, while the commercial
"cross" version for PC is updated each year
(few months agoo lately).
I haven't comparede the performance of the two (my demo version
and teh CP/M) but I can bet that there will be some dramatic
difference in the results...

By Manuel

Ascended (16388)

Manuel's picture

30-01-2006, 17:09

yes, you are probably right. But hey, it's free Tongue

By ARTRAG

Enlighted (6338)

ARTRAG's picture

30-01-2006, 21:34

BTW
does anyone have the commercial HiTec C for z80?
I mean that it could be interesting to know if someone
have the commercial HiTec C for z80 for asking him/her
if it performs well as the free demo...Wink

By ARTRAG

Enlighted (6338)

ARTRAG's picture

14-02-2006, 16:33

Does anyone have the commercial HiTec C for z80?
I've got the demo of version v7.8 and goes very well
but I would like to know if someone has never
tryed to use the memory banking options in order
to allow the compiler to do the bank switching by itself...

It would be great to use up to 1Mb of ram on MSX
having the compiler to deal with ram switching !!

By ARTRAG

Enlighted (6338)

ARTRAG's picture

14-02-2006, 18:27

A small extract from the HiTech C user manual

[cite]
If large model is used with a Z180 processor, bank switching is handled by the Z180 MMU. If large
model is used with a processor other than the Z180, you have to write your own bank switching routines.
See Function Calling Conventions for Large Model on page 141 for more details.
[/cite]

Page 2/3
1 | | 3