Skip to main content
Home Forums Apple II Cross Compiler for 68k Macs? Apple II Cross Compiler for 68k Macs?
Thread

Apple II Cross Compiler for 68k Macs?

Apple II Cross Compiler for 68k Macs? Development 9 posts Jun 30, 2008 — Jul 3, 2008
Curious if anyone knows of any cross compiler or Apple II Dev tools that run on 68k macs?

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 think that there is an Orca compiler for the Apple IIgs that is hosted under MPW.

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.
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.)

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

On the other hand, maybe the original question implies a desire to program 6502 assembly on a mac?
I discounted that, otherwise the term "assembler" would have been more appropriate than "compiler".

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

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
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.

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

mp.ls