From: Tauno Voipio on
Philipp Klaus Krause wrote:
> -jg schrieb:
>> On Jan 12, 11:07 am, Grant Edwards
>>> I think we've got a pretty good clue that it won't meet his needs: 1KB RAM and 32KB of ROM. :)
>> After an initial ?!?, I took that to mean a rough application
>> footprint, NOT the actual compiler resource needed.
>> The OP does need to provide more info..
>>
>> -jg
>>
>
> I intend to develop on a modern GNU/Linux system, and use the sdcc
> cross-compiler to generate binaries for the Z80 system from C.
>
> Philipp


Forget it - you cannot squeeze even a Linux kernel into a Z80,
even with a shoehorn.

--

Tauno Voipio
From: -jg on
On Jan 12, 9:36 pm, Philipp Klaus Krause <p...(a)spth.de> wrote:
> My goal is both to try a new language (I know C, but would like to have
> a look at other programming styles, maybe OO or functional) and see how
> sdcc handles the resulting C code.

Zilog also have a C compiler.

What Debug solution do you use ?

This website
http://www.statlab.uni-heidelberg.de/projects/oberon/
says
["If you cannot avoid C, use o2c, its successor OOC, or Ofront to
convert Oberon to C."] - so there are some C pathways.

and this is low cost, and supports Z80 and Rabbit

http://users.iafrica.com/r/ra/rainier/pz180.htm#Embedded Pascal Z180
area

-jg
From: Philipp Klaus Krause on
Tauno Voipio schrieb:
> Philipp Klaus Krause wrote:
>> -jg schrieb:
>>> On Jan 12, 11:07 am, Grant Edwards
>>>> I think we've got a pretty good clue that it won't meet his needs:
>>>> 1KB RAM and 32KB of ROM. :)
>>> After an initial ?!?, I took that to mean a rough application
>>> footprint, NOT the actual compiler resource needed.
>>> The OP does need to provide more info..
>>>
>>> -jg
>>>
>>
>> I intend to develop on a modern GNU/Linux system, and use the sdcc
>> cross-compiler to generate binaries for the Z80 system from C.
>>
>> Philipp
>
>
> Forget it - you cannot squeeze even a Linux kernel into a Z80,
> even with a shoehorn.
>

Sorry, my post was probably a bit confusing (English isn't my native
tongue): The modern GNU/Linux is my development platform. The
Whatever-to-C translator and the C cross-compiler (sdcc) run there. The
resulting binary is to be burnt into an EPROM and run on the target Z80
system. I do not intend to run FNU/Linux, the Whatever-to-C translator
or the cross-compiler on the Z80.

Philipp
From: David Brown on
Philipp Klaus Krause wrote:
> Tim Wescott schrieb:
>> At the risk of starting a flame war -- what's the matter with C?
>
> It's C. It's the language I use most and know best, but I think it would
> be good to try something different, have a look at other programming
> langauages and how things are done in those langauages even if in the
> end C will probably remain the language I use most.
>

If that's what you are looking for, then I strongly recommend changing
platforms. Move to something like an ARM, or any other well-supported
32-bit architecture, and you will have a very much easier time
experimenting and learning. Once you have something that has good gcc
support, you've got C, C++, Ada, Objective C, Fortran, Pascal, Forth,
and D ready to try (libraries and debugging might be issues). You also
have enough power to use scripting languages like Lua.

The Z80 was a nice architecture in its time - but that time was about 20
years ago.
From: David Brown on
Tauno Voipio wrote:
> Philipp Klaus Krause wrote:
>> -jg schrieb:
>>> On Jan 12, 11:07 am, Grant Edwards
>>>> I think we've got a pretty good clue that it won't meet his needs:
>>>> 1KB RAM and 32KB of ROM. :)
>>> After an initial ?!?, I took that to mean a rough application
>>> footprint, NOT the actual compiler resource needed.
>>> The OP does need to provide more info..
>>>
>>> -jg
>>>
>>
>> I intend to develop on a modern GNU/Linux system, and use the sdcc
>> cross-compiler to generate binaries for the Z80 system from C.
>>
>> Philipp
>
>
> Forget it - you cannot squeeze even a Linux kernel into a Z80,
> even with a shoehorn.
>

He means using Linux as the host, not as a target OS.
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10
Prev: USB drives, caching and sync
Next: Which CPU to choose?