fixes suggested on #mac68k

This commit is contained in:
Romain Dolbeau 2022-09-20 08:39:35 +02:00
parent 09f456cae3
commit b8bd914a0b
2 changed files with 2 additions and 4 deletions

View File

@ -82,9 +82,7 @@ interruptRoutine:
movel %a1,%d0
roll #8,%d0
andiw #15,%d0
moveal #0xd28,%a0 /* JVBLTask */
/* other codes don't need the intermediate moveal, what's the proper syntax ? */
moveal (%a0),%a0
moveal 0xd28,%a0 /* JVBLTask */
jsr (%a0)
moveq #1,%d0
rts

View File

@ -138,7 +138,7 @@ OSErr cNuBusFPGARAMDskClose(IOParamPtr pb, /* DCtlPtr */ AuxDCEPtr dce)
/* write_reg(dce, GOBOFB_DEBUG, 0xDEAD0001); */
if (dce->dCtlStorage) {
HUnlock(dce->dCtlStorage);
/* HUnlock(dce->dCtlStorage); */ /* not needed before DisposeHandle */
DisposeHandle(dce->dCtlStorage);
dce->dCtlStorage = NULL;
}