While Frank Durda IV developed his custom aftermarket ROM, XROM, he used the extra space in a 16K ROM to add a diagnostic ROM. That ROM is invisible to the system unless a jumper is used.
A detailed disassembly of the diagnostip portion of the XROM is now available on this sites’ Model 4 ROM Explained – XDROM – Diagnostic Part page.