It is currently Mon Oct 23, 2017 12:12 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Dec 28, 2012 10:01 am 
Offline
User avatar

Joined: Thu Jan 27, 2011 3:08 am
Posts: 33
Location: Europe
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.


Top
 Profile  
 
PostPosted: Fri Dec 28, 2012 1:17 pm 
Offline
User avatar

Joined: Fri Nov 12, 2004 2:49 pm
Posts: 7235
Location: Chexbres, VD, Switzerland
Compiler ? Will it actually compile HLL code into 6502 asm, for real ? Will it be any more efficient than CC65 ?


Top
 Profile  
 
PostPosted: Fri Dec 28, 2012 4:01 pm 
Offline

Joined: Sat Jan 23, 2010 11:41 pm
Posts: 1161
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.


Top
 Profile  
 
PostPosted: Sun Dec 30, 2012 6:10 am 
Offline
User avatar

Joined: Thu Jan 27, 2011 3:08 am
Posts: 33
Location: Europe
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.


Top
 Profile  
 
PostPosted: Sun Dec 30, 2012 12:06 pm 
Offline
User avatar

Joined: Thu Jan 27, 2011 3:08 am
Posts: 33
Location: Europe
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.


Top
 Profile  
 
PostPosted: Sun Feb 03, 2013 10:04 am 
Offline
User avatar

Joined: Thu Jan 27, 2011 3:08 am
Posts: 33
Location: Europe
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


Top
 Profile  
 
PostPosted: Mon Jun 10, 2013 8:39 am 
Offline
User avatar

Joined: Mon Feb 07, 2011 12:46 pm
Posts: 930
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?

_________________
.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group