I created a DOA decryption patched ROM. After completing the final stage the ending sequence worked well without a security board.
Even if I bypassed the decryption 'phrase' check stored in 0x54B3B0, it continued to freeze, so I looked into it and found that frequently checked that the 'fff0' value was being output from the security chip. I bypassed this and it works fine.
Because the crc value of the patched ROM was not modified, 'bad' appears in the ROM test. I will edit this part when I have time.