ascrnet released HW-Detect, an open-source utility that reports video standard, BASIC revision, OS, ANTIC and memory size, refined over several versions with community testing.
Build a start-up hardware report in assembly: PAL or NTSC from both GTIA and ANTIC, 400/800 or XL/XE OS, RAM top, 130XE banks, a second POKEY and a VBXE, tested on four emulated machines.