• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Apple II Cross Compiler for 68k Macs?

equant

Well-known member
Curious if anyone knows of any cross compiler or Apple II Dev tools that run on 68k macs?

Thanks,

Nathan

 

porter

Well-known member
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.

 

II2II

Well-known member
I think that there is an Orca compiler for the Apple IIgs that is hosted under MPW.

 

Kallikak

Well-known member
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

 

porter

Well-known member
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".

 

equant

Well-known member
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

 

magnusfalkirk

Well-known member
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

 
Top