fixcing the init-routines!

This commit is contained in:
MHeinrichs
2017-01-18 07:16:05 +01:00
parent 55f79f1b26
commit a1b4c891be
57 changed files with 13348 additions and 14607 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ int SoftReset(APTR *BaseAddress){
{
WRITEREG(BaseAddress,EUDAST, w);
v=READREG(BaseAddress, EUDAST);
printf("Read 0x%x at register 0x%x (should be 0x%x)\n",v,EUDAST,w);
printf("Read 0x%x at register 0x%lx (should be 0x%x)\n",v,(volatile BYTE *)(BaseAddress)+(EUDAST),w);
} while(v != w);
// Issue a reset and wait for it to complete