Re: [hatari-devel] Debbuger - MMU Status register

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 03/04/2022 à 13:06, Thomas Huth a écrit :

FWIW, I've added an "info mmu" command now:

  https://git.tuxfamily.org/hatari/hatari.git/commit/?id=14013d4696b

I hope that's basically what you needed.

Hi

I just noticed that the build on cirrus-ci are now failing for Visual studio since these changes :

10>C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\m68000.c(879,30): error C2146: syntax error: missing ')' before identifier 'PRIx64' [C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\hatari.vcxproj]

10>C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\m68000.c(879,15): warning C4778: 'fprintf' : unterminated format string '%016' [C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\hatari.vcxproj]

10>C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\m68000.c(880,30): error C2146: syntax error: missing ')' before identifier 'PRIx64' [C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\hatari.vcxproj]

10>C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\m68000.c(880,15): warning C4778: 'fprintf' : unterminated format string '%016' [C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\src\hatari.vcxproj]

These are the 2 lines in m68000.c that cause the problem :
                fprintf(fp, "SRP:\t0x%016" PRIx64 "\n", (uint64_t)srp_030);
                fprintf(fp, "CRP:\t0x%016" PRIx64 "\n", (uint64_t)crp_030);

Maybe Visual Studio has a strange PRIx64 macro definition that doesn't accept %<precision> notation ?

Nicolas




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/