Thread
Apple II Cross Compiler for 68k Macs?
Curious if anyone knows of any cross compiler or Apple II Dev tools that run on 68k macs?
Thanks,
Nathan
Thanks,
Nathan
Have you looked into cc65? You ought to be able to build it on a Mac, and it supports Apple II as a target.
How does it manage the stack? The basic 6502's 256 bytes in page 1 isn't much. Presumably it manages an additional psuedo 16 bit stack ptr.
I managed to compile my favourite text editor to fit on a PDP/11 which has 16 bit pointers.
I would have thought pascal would have been more common back then, and there are pascal to C convertors.
I managed to compile my favourite text editor to fit on a PDP/11 which has 16 bit pointers.
I would have thought pascal would have been more common back then, and there are pascal to C convertors.
I think that there is an Orca compiler for the Apple IIgs that is hosted under MPW.
The Orca compiler you're thinking of is Orca/C and you can find it here:I think that there is an Orca compiler for the Apple IIgs that is hosted under MPW.
http://store.syndicomm.com/index.php?main_page=product_info&cPath=0&products_id=131&zenid=a77743fe1f6bb3e3e3b17842b5a51103
along with several other programs for writing software for the GS on a Mac.
Just my small contribution,
Dean
The original poster did not indicate which high level language. For C and Pascal, the 6502 hardware stack limitation is an issue and limits recursion, but for Forth, say, there is no real problem since the data and return stacks are separate. (The same "trick" could be built into a 6502 C compiler of course.)How does it manage the stack? The basic 6502's 256 bytes in page 1 isn't much. Presumably it manages an additional psuedo 16 bit stack ptr.
I managed to compile my favourite text editor to fit on a PDP/11 which has 16 bit pointers.
I would have thought pascal would have been more common back then, and there are pascal to C convertors.
On the other hand, maybe the original question implies a desire to program 6502 assembly on a mac? That's certainly possible as well - I think I'd use OrgASM (try searching for that! 8-o ) and MPW.
Ken
I discounted that, otherwise the term "assembler" would have been more appropriate than "compiler".On the other hand, maybe the original question implies a desire to program 6502 assembly on a mac?
Well I appreciate everyone's suggestions. I really didn't mean anything in particular. C, Pascal, Assembly... just curious what options exist.
MPW and OrgASM or DASM looks interesting. So does Orca/c, but I can't find it anywhere.
Thanks,
Nathan
MPW and OrgASM or DASM looks interesting. So does Orca/c, but I can't find it anywhere.
Thanks,
Nathan
I'll give you a second link to the Syndicomm Store website, this time to a CD containing all The ByteWorks programs, for both Apple II and IIGS.Well I appreciate everyone's suggestions. I really didn't mean anything in particular. C, Pascal, Assembly... just curious what options exist.
MPW and OrgASM or DASM looks interesting. So does Orca/c, but I can't find it anywhere.
Thanks,
Nathan
http://store.syndicomm.com/index.php?main_page=product_info&cPath=1&products_id=67&zenid=a77743fe1f6bb3e3e3b17842b5a51103
and Orca/C is on this CD, along with Orca/Pascal, Orca/M and several other programs, along with complete documentation.
Dean