MagicEngine
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Japanese English 

Mixing C and asm in HuC?

 
Post new topic   Reply to topic    MagicEngine Forum Index -> General
View previous topic :: View next topic  
Author Message
FluBBa
Member
Member


Joined: 12 Jun 2003
Posts: 58
Location: GBG, Sweden

PostPosted: Mon Mar 08, 2010 12:12 am    Post subject: Mixing C and asm in HuC? Reply with quote

Is there an easy way to mix C and asm with HuC/PCEAS?
Things to think about? How to set up the make file etc...
_________________
What?
Back to top
View user's profile Send private message Visit poster's website
Tomaitheous
Elder
Elder


Joined: 27 Sep 2005
Posts: 306
Location: Tucson

PostPosted: Tue Mar 23, 2010 8:48 am    Post subject: Re: Mixing C and asm in HuC? Reply with quote

FluBBa wrote:
Is there an easy way to mix C and asm with HuC/PCEAS?
Things to think about? How to set up the make file etc...


The short answer, not really. HuC generates ASM for PCEAS. All the library support for HuC is written in ASM. But things like bank management and pointers don't transfer nicely between C and ASM in HuC environment. HuC also natively lacks far pointer support, so that makes things even more difficult. I've done extensive work on the back end of HuC to add more support to the library, so a I have some working knowledge of the system/layout of HuC. Anything in particular that you are looking to do?
_________________
www.pcedev.net
Back to top
View user's profile Send private message
FluBBa
Member
Member


Joined: 12 Jun 2003
Posts: 58
Location: GBG, Sweden

PostPosted: Tue Mar 23, 2010 12:21 pm    Post subject: Reply with quote

I think I got my answer over at the pcedev forum and I think we can continue the discussion over there if need be.
I'm probably just to spoiled having worked on the GBA and NDS Wink
_________________
What?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    MagicEngine Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group