Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!sirius.ucs.adelaide.edu.au!levels!etrmg From: etrmg@levels.sait.edu.au (What a Guy!) Newsgroups: comp.os.cpm Subject: Re: PD Z80-crosscompilers Message-ID: <15705.274a844e@levels.sait.edu.au> Date: 21 Nov 90 13:42:37 GMT References: Distribution: comp Organization: Sth Australian Inst of Technology Lines: 23 In article , puhuri@niksula.hut.fi (Markus Peuhkuri) writes: > find people hacking with z80> > > I am working on a small controller that is based on Sinclar Spectrum. > I was wondering if anyone has an (PD) crosscompiler for z80 assembler. > I would prefer one runing under UNIX (bsd 4.3) or AmigaDos, thought > MeSsyDos-version will work if no other alternatives exists. > > Also c/pascal-source of one (I can try to port it) will work ok. CUG276 & CUG292 are C sources of Assemblers for the Z80 and 64180. You can obtain them thru the C User's Group, or I can Email them to you. They are PD and have been run thru a number of compilers already. It's easy to select which to compile for since all you have to do is uncomment a define which selects your flavor of C. Although I've had trouble with the 6805 assembler under Aztec CII 1.05 (still am struggling) Your compiler needs calloc() which mine don't have!!! Also, I have to define void as int type and rename getc & putc to agetc & aputc. . . .. etc. Ronn