Double-cross compiler? (was: CP/M programming for the C128?)

From: Anders Carlsson (anders.carlsson_at_mds.mdh.se)
Date: 2003-01-29 09:58:15

  • Next message: Baltissen, R (Ruud): "RE: Double-cross compiler? (was: CP/M programming for the C128?)"
    On Wed, 29 Jan 2003, Mikael Holm wrote:
    
    > Thanks Niklas... It gave me some new ideas...
    
    I also had some ideas yesterday when I was participating in the newsgroup
    comp.sys.sinclair (yes, I read and post there as well as in comp.*.cbm).
    
    The C compiler environment Z88DK for the Z80 was discussed, and it was
    mentioned it even had some support for the "Commode 128" as the Speccy
    people tend to call our beloved Commodores.
    
    This had me thinking: if CC65 etc supports the C128 in 8502 mode and
    Z88DK supports it in Z80 mode, would it be possible to link those two
    together into one C compiler which could optimize and do neccessary
    processor switching automatically?
    
    Not that it would analyse a whole program and generate code for one of the
    two, but whenever possible decide this subroutine is better suited in Z80
    than 6502 and vice versa. I have absolutely no idea how hard it would be
    to link together the two compilers in the first place, and the optimizing
    would probably be even harder to do, but it might be really cool.
    
    What other retro computers were there with two different CPUs which could
    be activated during the program? Another other 6502 + Z80 setup?
    
    -- 
    Anders Carlsson
    
    
    
           Message was sent through the cbm-hackers mailing list
    
  • Next message: Baltissen, R (Ruud): "RE: Double-cross compiler? (was: CP/M programming for the C128?)"

    Archive generated by hypermail 2.1.6.