diff --git a/nubus-to-ztex-gateware/DeclROM/NuBusFPGADrvr.s b/nubus-to-ztex-gateware/DeclROM/NuBusFPGADrvr.s index 1add7f2..ca8a108 100644 --- a/nubus-to-ztex-gateware/DeclROM/NuBusFPGADrvr.s +++ b/nubus-to-ztex-gateware/DeclROM/NuBusFPGADrvr.s @@ -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 diff --git a/nubus-to-ztex-gateware/DeclROM/NuBusFPGARAMDskDrvr_OpenClose.c b/nubus-to-ztex-gateware/DeclROM/NuBusFPGARAMDskDrvr_OpenClose.c index 53713d6..eb60cc5 100644 --- a/nubus-to-ztex-gateware/DeclROM/NuBusFPGARAMDskDrvr_OpenClose.c +++ b/nubus-to-ztex-gateware/DeclROM/NuBusFPGARAMDskDrvr_OpenClose.c @@ -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; }