xmame  

patch for m68k asm core

AGAWA Koji
Tue, 12 Dec 2000 06:49:42 -0800

I made a small patch to correct the error at assembling the m68k asm core.
I think that m68k asm core operates normally by this correction.

Moreover, other patches were made (update of Cave driver by Shiriru, and
addition of autofire).
http://www.self-core.org/~kaoru-k/pub/

--- old/src/cpu/m68000/make68k.c        Sun Dec 10 06:54:09 2000
+++ new/src/cpu/m68000/make68k.c        Sun Dec 10 06:54:09 2000
@@ -1372,7 +1372,9 @@
    fprintf(fp, "%s_f:\n",Label);
    fprintf(fp, "\t\t pop   eax\n");
    fprintf(fp, "\t\t test  dl,3\n");
-   fprintf(fp, "\t\t jz    short %s_7a\n",Label);
+   fprintf(fp, "\t\t jnz    short %s_hack\n",Label);
+   fprintf(fp, "\t\t jmp    %s_7a\n",Label);
+   fprintf(fp, "%s_hack:\n",Label);
 /* pre or post indirect */
    fprintf(fp, "\t\t test  dl,4\n");
    fprintf(fp, "\t\t jnz   short %s_g\n",Label);

-- 
AGAWA Koji
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]
  • patch for m68k asm core AGAWA Koji