improved input detection of disasm quite a lot