BTW...

INCLUDE "MODEDEFS.BAS"
is not needed.

And your code only worked with the other chips when the VARs were defined.