BEYLe 11/06/2014 à 10:38
Thx CosmicR,
for get NeoPhoenix to run fullspeed there are only two solutions:
1.Hack the PHOENIX original code. I have already made it with some good results but still far from final target (You'll see in the next release)
2.Rewrite in 68K Assembler the C macro Z80 emulator, Ex.
C (some emu macro I use):#define M_POP(Rg) \
R.Rg.D=M_RDSTACK(R.SP.D)+(M_RDSTACK((R.SP.D+1)&65535)<<8); \
R.SP.W.l+=2
#define M_PUSH(Rg) \
R.SP.W.l-=2; \
M_WRSTACK(R.SP.D,R.Rg.D); \
M_WRSTACK((R.SP.D+1)&65535,R.Rg.D>>8)
#define M_CALL \
{ \
int q; \
q=M_RDMEM_OPCODE_WORD(); \
M_PUSH(PC); \
R.PC.D=q; \
Z80_ICount-=7; \
}
68K ???