Musashi icon indicating copy to clipboard operation
Musashi copied to clipboard

Error when running m68kmake on ubuntu

Open Zelex opened this issue 11 years ago • 2 comments

In m68k_in.c, near or on line 2650: Unknown M68KMAKE directive

Zelex avatar Jul 02 '14 04:07 Zelex

Problem with

M68KMAKE_OP(bfextu, 32, ., d) { if(CPU_TYPE_IS_EC020_PLUS(CPU_TYPE)) { uint word2 = OPER_I_16(); uint offset = (word2>>6)&31; uint width = word2; uint64 data = DY; if(BIT_B(word2)) offset = REG_D[offset&7]; if(BIT_5(word2)) width = REG_D[width&7]; offset &= 31; width = ((width-1) & 31) + 1; data = ROL_32(data, offset); FLAG_N = NFLAG_32(data); data >>= 32 - width; FLAG_Z = data; FLAG_V = VFLAG_CLEAR; FLAG_C = CFLAG_CLEAR; REG_D[(word2>>12)&7] = data; return; } m68ki_exception_illegal(); }

Zelex avatar Jul 02 '14 04:07 Zelex

Which Ubuntu? I compiled 3.3 that was bundled with dgen just fine using gcc 5 on xenial. What commands are you using to compile?

Lewiscowles1986 avatar Apr 23 '17 08:04 Lewiscowles1986