I've discovered some useful information about the ISP versions of these devices as I've been using them for my ROM X product (
http://www.theromexchange.com).
It
IS possible to use the JTAG pins as general I/O by adding the following property to your source :
PROPERTY ATMEL {JTAG=OFF};
With that in there, the code should compile, the fitter should then re-use the JTAG pins as you intend, and create a .JED file for programming. Once programmed (you'll be prompted to set the JTAG Port Check Override option in the ATMISP options menu), the JTAG will be locked out, but you've got 4 more pins to play with!
Now, if in your design you ensure that you can isolate the OE1 pin on the CPLD from any other circuitry (so that you can safely apply +12V to the OE1 pin without blowing the crap out of anything attached to it!) then you can re-enable the JTAG port in this manner. Applying +12V to the OE1 pin through a resistor (1k8 is fine) whilst attemting to reprogram the chip in ATMISP should yield results. I initially get a verify error, but after that the JTAG is unlocked again and usable
I suppose you also best ensure that nothing is going to be driving the JTAG pins while you are programming the thing else include links (jumpers or smd resistors etc) to disconnect other circuitry from the JTAG pins.
Anyway, this may possibly free up some pins for you.
Secondly, it is also possible to develop for these devices in VHDL or Verilog using Altera's Quartus software (web editiion 13.0sp1 is the last one to support the MAX 7000 series chips on which the ATF1500 series devices are based) - you select the equivalent Altera device :
EPM7032 = ATF1502
EPM7064 = ATF1504
EPM7128 = ATF1508
Once you have compiled your design (.POF file generated) you can use Microchips POF2JED utility to convert it to a .JED file for programming via ATMISP
I wonder this trick can be use on the MAX7000S CPLD. I currently have 4 used EPM7128S with the JTAG disabled. Really would like to factory reset them. From searching on the Internet, it mentioned that the only way is to use a Parallel Programmer (which is almost impossible to find).