nesdev.com
http://forums.nesdev.com/

ObjC compiler for 6502, GBA Arm and others - WIP
http://forums.nesdev.com/viewtopic.php?f=19&t=9640
Page 1 of 1

Author:  erana [ Fri Dec 28, 2012 10:01 am ]
Post subject:  ObjC compiler for 6502, GBA Arm and others - WIP

Hi,
I am working on a ObjC compiler for 6502 and arm systems.
The project is hosted (in svn) here : http://soft.vub.ac.be/svn-gen/objc-underground/

The directory of the compiler is libobjcgbarm.

Enjoy, more work later on.

Author:  Bregalad [ Fri Dec 28, 2012 1:17 pm ]
Post subject:  Re: ObjC compiler for 6502, GBA Arm and others - WIP

Compiler ? Will it actually compile HLL code into 6502 asm, for real ? Will it be any more efficient than CC65 ?

Author:  Shiru [ Fri Dec 28, 2012 4:01 pm ]
Post subject:  Re: ObjC compiler for 6502, GBA Arm and others - WIP

An extra question, will it support 65816? CC65 works quite well for 6502, compared to available free 65816 compilers, would be cool to have another option.

Author:  erana [ Sun Dec 30, 2012 6:10 am ]
Post subject:  Re: ObjC compiler for 6502, GBA Arm and others - WIP

Bregalad wrote:
Compiler ? Will it actually compile HLL code into 6502 asm, for real ? Will it be any more efficient than CC65 ?


The classes available in the beginning would be NSString, NSMutableArray and NSObject. The rest can be extended in the run time by shared objects.

It still needs a lot of work, but there's optimization planned, yes.

I plan to do 6502 for a start then move on to GBA and ARM. There will be a library system such as SmallTalk with widgets, you can have a look for it in libcarm for libc features, and other libs for graphics. I'm not sure however if this will be a feature for 6502.

Author:  erana [ Sun Dec 30, 2012 12:06 pm ]
Post subject:  Re: ObjC compiler for 6502, GBA Arm and others - WIP

Shiru wrote:
An extra question, will it support 65816? CC65 works quite well for 6502, compared to available free 65816 compilers, would be cool to have another option.


IIRC this is the super famicom/snes/super nintendo. I will have to look into that and might put it on my list.

Author:  erana [ Sun Feb 03, 2013 10:04 am ]
Post subject:  Re: ObjC compiler for 6502, GBA Arm and others - WIP

The project is now hosted here :
http://code.google.com/p/libobjcgbarm/

There's a small libc for arm and a 6502 assembler target now. It needs a classlocator for runtime objC types still. You can compile it on MacOS X as it needs #import <Cocoa/Cocoa.h>.

A GNUStep objC port will follow.

There's some small ARM7 asm target. It needs optimization for all 32 registers also. Then the number system of return types must also be altered.

Enjoy,
B

Author:  zzo38 [ Mon Jun 10, 2013 8:39 am ]
Post subject:  Re: ObjC compiler for 6502, GBA Arm and others - WIP

Does it have a capability to omit the Objective-C runtime if you aren't using those features, so that only C runtime libraries are used?

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/