| Click here to select a new forum. |
| Apple II Cross Compiler for 68k Macs? |
Posted by: equant on 2008-06-30 12:36:57 Curious if anyone knows of any cross compiler or Apple II Dev tools that run on 68k macs?
Thanks,
Nathan
|
Posted by: ChristTrekker on 2008-06-30 13:35:00 Have you looked into cc65? You ought to be able to build it on a Mac, and it supports Apple II as a target.
|
Posted by: porter on 2008-06-30 13:45:28 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.
|
Posted by: II2II on 2008-06-30 18:07:01 I think that there is an Orca compiler for the Apple IIgs that is hosted under MPW.
|
Posted by: magnusfalkirk on 2008-06-30 20:14:26
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:
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
|
Posted by: Kallikak on 2008-06-30 22:23:00
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
|
Posted by: porter on 2008-07-02 22:54:27
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".
|
Posted by: equant on 2008-07-03 00:12:25 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
|
Posted by: magnusfalkirk on 2008-07-03 15:34:24
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
|
| 1 |