Re: non-x86 development
- Posted by martin.stachon at worldonline.cz Jul 21, 2001
- 359 views
> hey, i have an idea. as long as euphoria PD source is being sold, why > not try development for other platforms or architectures? 68k and old > PowerPC Macintoshes are cheap and easy to find on eBay(i bought a > Centris 610 and monitor on eBay for $45 total, but then i got the > speakers from a linux box that couldn't use em ;). Before I got this PC, I've worked on Mac a lot (we've got three Macs at home) I am not sure if coding for 68k architecture is a good idea. AFAIK, 68k is now not supported by Apple. (The new OSes requirre at least G3). It is problem to port Eu to another Unix, so porting it to Mac would be a big problem. Translating the Eu code to other architecture would be difficult, because some parts of code are in ASM, and there are differences between the OSes - MacOS <9 have no STDIN / STDOUT - so you have to emulate console. And you will have to add all this Mac specific code to libraries - calling ROM routines (QuickDraw), calling OS, working with resources etc. > with a certain level > of coding knowlege, it could be recoded to work on a mac, and you > wouldn't have to give up standard functions like fopen() either. the Mac > standard C library has just about all of them. but before you start > looking at me...i'm just beginning and i can't even open a movable > window in the MacOS, but SIOW would probably be a suitable alternative > for a console(besides the fact it's just plain text w/o colors) I looked at few pieces of code, and MacOS API seems more complicated to me than WIN32 API. You will have to read the Mac Programming Bible. (very fat book) You may get to run some currnet generic Eu progs, (after modifications like using ':' instead of '\\', but creating GUI apps would be dfficult. I wouldn't do this. It requires a lot work. Matin