--- nono/m680x0/m68030fpu.cpp 2026/04/29 17:04:34 1.1.1.2 +++ nono/m680x0/m68030fpu.cpp 2026/04/29 17:05:12 1.1.1.4 @@ -165,10 +165,10 @@ readSRC(m68kcpu *cpu, int size_id, struc uint32 data[3]; // 68881 本(p6-13) にはクロック数はこう書いてあるので - // Inst | src=FPn | memory source or dst operand format - // | | Int Sgl Dbl Ext Pakced - // ---- +---------- +------ ------- ------- ------- ------- - // FABS | 35 | 62 54 60 58 872 + // Inst | src=FPn | memory source or dst operand format + // | | Int Sgl Dbl Ext Pakced + // ---- +---------- +------ ------- ------- ------- ------- + // FABS | 35 | 62 54 60 58 872 // (差分) +27 +19 +25 +23 +837 // FADD | 51 | 80 72 78 76 888 // (差分) +29 +21 +27 +25 +837 @@ -287,7 +287,7 @@ readSRC(m68kcpu *cpu, int size_id, struc void fpu_op_illg(m68kcpu *cpu) { - cpulog(1, "FPU 不当命令 %04X", RegIR); + cpulog(1, "FPU illegal instruction %04X", RegIR); m68030_exception(cpu, M68K_EXCEP_FLINE); } @@ -295,7 +295,7 @@ fpu_op_illg(m68kcpu *cpu) static void fpu_op_illg2(m68kcpu *cpu) { - cpulog(1, "FPU 不当命令 %04X %04X", RegIR, RegIR2); + cpulog(1, "FPU illegal instruction %04X %04X", RegIR, RegIR2); m68030_exception(cpu, M68K_EXCEP_FLINE); } @@ -1342,7 +1342,7 @@ fpu_op_fsave(m68kcpu *cpu) case 4: // -(An) // これだけ処理が違うので、ここでやる m68030_save_reg_pd(cpu, rr); - for (int i = framelen; i >= 0; i--) { + for (int i = framelen - 1; i >= 0; i--) { RegA(rr) -= 4; m68030_write_32(cpu, RegA(rr), frame[i]); }