NeXTcommunity

Everything => Virtualization => Topic started by: andreas_g on Oct 20, 2026, 09:31 AM

Title: Disassembling NeXT hardware diagnostics utility
Post by: andreas_g on Oct 20, 2026, 09:31 AM
Hello all,

the NeXT hardware diagnostics utility is a great tool for testing and improving Previous through reverse engineering.

Unfortunetely some of the tests are very complex and especially for Ethernet it is almost impossible to understand what is expected by the test. Therefore the test still fails when run under Previous.

There are two known variants of the tool: One for the original 68030 based NeXT Computer (filename "diagnostics") and one for non-Turbo 68040 based NeXTcube and NeXTstation (filename "dvt040").

Is someone capable of disassembling these binaries using some modern tools? I am more interested in the 68030 (diagnostics) variant because it supports more tests. Ideally the binary would be converted to some C-like code that makes it possible to understand what the tool expects from real hardware.
Title: Re: Disassembling NeXT hardware diagnostics utility
Post by: cuby on Oct 20, 2026, 11:46 AM
The 68030 diagnostics tool is still in a.out format, otool doesn't handle this.

I disassembled the dvt040 diagnostics tool on the NeXT machine on my desk -> PM...
Title: Re: Disassembling NeXT hardware diagnostics utility
Post by: jade_nekotenshi on Oct 21, 2026, 12:50 AM
I'd think turning an AI loose on it could at least produce ASM code, if not C (or some other HLL/MLL), I'm not sure if that helps.
Title: Re: Disassembling NeXT hardware diagnostics utility
Post by: ZombiePhysicist on Oct 21, 2026, 03:48 AM
https://x.com/0xDeniAi/status/2111433889587527770?s=20

This REALLY area is developing so fast. Curious how this evolves.
Title: Re: Disassembling NeXT hardware diagnostics utility
Post by: andreas_g on Oct 24, 2026, 10:23 PM
Thank you very much for all offers! With the help of cuby I was able to partially understand how the Ethernet test works. I will soon add a patch to make Previous finally pass the test.
Title: Re: Disassembling NeXT hardware diagnostics utility
Post by: andreas_g on Nov 03, 2026, 06:49 PM
Do we know if there has ever been a diagnostics tool for Turbo systems?
Title: Re: Disassembling NeXT hardware diagnostics utility
Post by: ZombiePhysicist on Nov 07, 2026, 07:10 AM
I take it that the regular 040mtools don't work on the turbos?
Title: Re: Disassembling NeXT hardware diagnostics utility
Post by: andreas_g on Nov 07, 2026, 07:15 AM
Quote from: ZombiePhysicist on <strong>Today</strong> at 07:10 AMI take it that the regular 040mtools don't work on the turbos?
Yes, they are for non-Turbo 68040 only.