

 ͷ
  Tight and nice CUP386 detection  
  by Christoph Gabler              
 ͼ


This routine is able to detect CUP386 /1, /3 and /7.




PUSH 0000                               ;; buggy, what is FS??  (rar)
POP [FS:0004]                           ;; FS != CS ???         (rar)
CMP Cs:Word ptr [04],0000
JE CUP_FOUND


 ͷ
  TR 1.xx LockUp routine!  
  by Christoph Gabler      
 ͼ



Against TR 2.52 and lower/higher. TR will simply crash if it traces this,
other debugger will not interpret the instructions correctly because they
only push 2 bytes as a normal 16 bit register.





db 66h         ; 32bit prefix for TR irritation.
Push FS        ; Will cause to push 4 byte from stack.
db 66h         ; 32bit prefix for TR irritation.
Pop FS         ; Will cause to pop 4 byte from stack.


edited by Ralph Roth

