Re: [Sdcc-user] Z80 / Z180 / eZ80 support

2008-02-13 Thread Dave McGuire
On Feb 13, 2008, at 7:52 PM, Peter Townson wrote: > On the general topic of Z80 development/support: > > Is anyone out there targeting the eZ80 with SDCC ? Heh, I wish. I do a lot of stuff with the eZ80F91 in particular, and programming it is a painful experience because their all-singin

Re: [Sdcc-user] Z180

2008-02-13 Thread Jacques Pelletier
On February 13, 2008 06:27:22 pm Peter Townson wrote: > Pedro, > > > > Yes SDCC most certainly does support the Z180 - I'm playing with one > (HD64180 really, but same difference) in my spare time. > > > > HOWEVER, there is no inherent support for the Memory Management/Bank > Switching mechanisms t

Re: [Sdcc-user] Fail on warnings

2008-02-13 Thread Berwyn Hoyt
Title: -- Aha!  My Oct '07 manual didn't have this in it, but the manual two months later does!  Cutting edge. Many thanks. - Berwyn Maarten Brock wrote: >From the manual: --Werror Hello, Is there any way to tell SDCC to fail (non-zero exit code) on warnings? Thanks, Berwyn

[Sdcc-user] Z80 / Z180 / eZ80 support

2008-02-13 Thread Peter Townson
Guys, On the general topic of Z80 development/support: Is anyone out there targeting the eZ80 with SDCC ? Peter Townson ## CONFIDENTIALITY NOTE: Please consider our environment before printing this email.This email and

Re: [Sdcc-user] cdb files for Z80 target

2008-02-13 Thread Peter Townson
On Feb 14, 2008, at 9:38 AM, Dave McGuire wrote: >I'd love to see that get done; I plan to do some Z180/HD64180 > stuff later this year. Dave When I was playing with the port access stuff I made contact with this gentleman - this is his web-site: home.comcast.net/~mcatudal His particular i

Re: [Sdcc-user] cdb files for Z80 target

2008-02-13 Thread Dave McGuire
On Feb 13, 2008, at 6:34 PM, Peter Townson wrote: >> There don't seem to be that many people using or working >> on the Z80 port of SDCC. > > I use it (infrequently) :-> > > Some years ago I implemented the SFR port access methods for the Z80 > (others kindly made my initial klunky attempts work pr

Re: [Sdcc-user] cdb files for Z80 target

2008-02-13 Thread Peter Townson
On Feb 13, 2008, at 6:06 PM, Maarten Brock wrote: > There don't seem to be that many people using or working > on the Z80 port of SDCC. I use it (infrequently) :-> Some years ago I implemented the SFR port access methods for the Z80 (others kindly made my initial klunky attempts work properly) -

Re: [Sdcc-user] Z180

2008-02-13 Thread Peter Townson
Pedro, Yes SDCC most certainly does support the Z180 - I'm playing with one (HD64180 really, but same difference) in my spare time. HOWEVER, there is no inherent support for the Memory Management/Bank Switching mechanisms that are available to the Z180/HD64180. As far as I know (I am ha

Re: [Sdcc-user] cdb files for Z80 target

2008-02-13 Thread Art
Dave McGuire wrote: > On Feb 13, 2008, at 6:06 PM, Maarten Brock wrote: > >> There don't seem to be that many people using or working >> on the Z80 port of SDCC. >> > >[raises hand] > >I use it periodically, just FYI. > > -Dave > > [ and another hand ] I

Re: [Sdcc-user] cdb files for Z80 target

2008-02-13 Thread Philipp Klaus Krause
Maarten Brock schrieb: > Ernst, > > See also our oldest still open bug: 817589 > > There don't seem to be that many people using or working > on the Z80 port of SDCC. > > Sorry, > Maarten I use it. I worked on the Z80 peepholes last year and intend to improve dead code elimination this year.

Re: [Sdcc-user] pitfalls

2008-02-13 Thread Jan Waclawek
Reminds me of a couple of my favourite threads on 8052.com: http://www.8052.com/forum/thread.phtml?thread=130415 http://www.8052.com/forum/thread.phtml?thread=137677 So, the conclusion is, everything clear, so it's now just simple coding, that's all... :-) Jan Waclawek PS. Berwyn, the usual Open

Re: [Sdcc-user] cdb files for Z80 target

2008-02-13 Thread Dave McGuire
On Feb 13, 2008, at 6:06 PM, Maarten Brock wrote: > There don't seem to be that many people using or working > on the Z80 port of SDCC. [raises hand] I use it periodically, just FYI. -Dave -- Dave McGuire Port Charlotte, FL ---

Re: [Sdcc-user] cdb files for Z80 target

2008-02-13 Thread Maarten Brock
Ernst, See also our oldest still open bug: 817589 There don't seem to be that many people using or working on the Z80 port of SDCC. Sorry, Maarten > Hi! > > I am looking for a possibility to debug SW compiled by SDCC when running on > a Z180. The NoICE debugger seems interesting, also because

Re: [Sdcc-user] pitfalls

2008-02-13 Thread Maarten Brock
Hi Berwyn, > 1. Atomic access (see 3.8.1.2). It sure would be nice if the critical keyword > worked on variable > declarations. It would make access to the variable atomic. For example, a > typical timer interrupt > would run a long msec counter, and main() would check it to see if >1000 ms >

[Sdcc-user] HC08 math library not functioning for me

2008-02-13 Thread Kustaa Nyholm
Hi, my SDCC installation and tool chain for HC08 seem to be working pretty much okey, I can compile, link and run small C-programs. However, when ever write code that involves the compiler suppor C integer math functions the math comes out bad, mosty result is 1. The code does not chras and the

Re: [Sdcc-user] Fail on warnings

2008-02-13 Thread Maarten Brock
>From the manual: --Werror > > Hello, > > Is there any way to tell SDCC to fail (non-zero exit code) on warnings? > > Thanks, > Berwyn > > -- > > Berwyn Hoyt, Senior Hardware Engineer: [EMAIL PROTECTED] > Ph: +64 3 359 2101; Mobile: +64 21 045 7830 > Brush Technology: www.brush.co.nz >