View Single Post
Old 29 April 2012, 05:57   #15
vivvvi
 
Posts: n/a
Can't compile on a real device either

I have an iPhone 4, which is jailbroken and experiencing the same 6 errors as above in fame_arm.cpp

one of them:

../manomio-iAmiga-dbe2c91/uae4all_gp2x_0.7.2a/src/m68k/sgc/fame_arm.cpp:108:25: error: global register variables are not supported [3]


all being thrown for each line of code beginning below with 'register';

Code:
#define INLINE_MEMORY_HANDLERS

#include "fame_arm.h"

typedef unsigned char byte;

struct M68KCONTEXT_t M68KCONTEXT;
#define m68kcontext M68KCONTEXT

m68kcontext_t m68k_context;

#pragma mark -
#pragma mark static CPU state
// ------------------------
// local statics
register u16* PC asm("r4"); 

#ifndef FAMEARM_USE_VFP_REG_FOR_CYCLES
register s32 cycles asm("r5"); 
#endif
register void** jt asm("r6");
register u16 Opcode asm("r8");
register unsigned int flags asm("r11");
register m68kcontext_t *ctx asm("r10");

s32 cycles_needed;
Hope someone can help, looks really good in the simulator.

vivvvi.
 
 
Page generated in 0.04424 seconds with 11 queries