View previous topic :: View next topic |
Author |
Message |
FluBBa Member

Joined: 12 Jun 2003 Posts: 58 Location: GBG, Sweden
|
Posted: Mon Mar 08, 2010 12:12 am Post subject: Mixing C and asm in HuC? |
|
|
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 |
|
 |
Tomaitheous Elder

Joined: 27 Sep 2005 Posts: 306 Location: Tucson
|
Posted: Tue Mar 23, 2010 8:48 am Post subject: Re: Mixing C and asm in HuC? |
|
|
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 |
|
 |
FluBBa Member

Joined: 12 Jun 2003 Posts: 58 Location: GBG, Sweden
|
Posted: Tue Mar 23, 2010 12:21 pm Post subject: |
|
|
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  _________________ What? |
|
Back to top |
|
 |
|