i need a c++ program for programming am29f040b(which is in another environment) using parallel port. could you give atleast the logic of the same?