--- nono/m680x0/testdis.cpp 2026/04/29 17:04:31 1.1.1.2 +++ nono/m680x0/testdis.cpp 2026/04/29 17:04:34 1.1.1.3 @@ -1,10 +1,9 @@ // // nono -// Copyright (C) 2018 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // -#include "header.h" -#include "m68030.h" #include "m68030disasm.h" #include "mystring.h" #include @@ -827,8 +826,8 @@ struct { { { 0xf350 }, "frestore (a0)" }, }; -uint8 mem[1024]; -int failed; +static uint8 mem[1024]; +static int failed; uint64 vm_phys_peek_8(uint32 addr) @@ -840,6 +839,7 @@ vm_phys_peek_8(uint32 addr) } // リンカを通すためのダミー +extern uint64 m68030_mmu_translate_peek(m68kcpu *, uint32, uint); uint64 m68030_mmu_translate_peek(m68kcpu *cpu, uint32 addr, uint fc) {