Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hcrvax.UUCP Path: utzoo!hcrvax!petera From: petera@hcrvax.UUCP (Smith) Newsgroups: net.micro Subject: Re: Converting 8080/z80 to C? Message-ID: <1994@hcrvax.UUCP> Date: Sat, 5-Oct-85 11:02:59 EDT Article-I.D.: hcrvax.1994 Posted: Sat Oct 5 11:02:59 1985 Date-Received: Sun, 6-Oct-85 03:19:09 EDT References: <1864@brl-tgr.ARPA> Organization: Human Computing Resources, Toronto Lines: 15 Converting from 8080 or Z80 to C would be pretty simple. The actual C code produced could just be a sequence of simple assignments, logical operations and jumps. The resulting code produced by the C compiler would not be as good as the original code but it could be done. The only hard thing would me getting the operating system interface correct. I suppose that a CPM to MSDOS translator could be written for well behaved programs but it would be a bit tricky to get correct. The format of file names, info that goes into FCB's etc. would all cause real headaches. So: Well behaved Z80/8080 to C using say single character I/O and simple file I/O would be quite possible but any fancy programs that do things like modify their own code (like an 8080 16 bit multiply may do) would not work. Peter Ashwood-Smith Human Computing Resources, Toronto, Ontario. Brought to you by Super Global Mega Corp .com