The way to program the MAX 7000S is by using Jam. Jam is a language
for manipulating the JTAG chain - you can actually use it to do pretty
much anything JTAG related, but it's optimized for programming CPLDs.
The advantage is that the process of programming through JTAG is
somewhat complicated, and this makes it quite easy.
The basic idea is like this:
1. You use Quartus II (or MAX+PLUS II) to make the Jam file after
2. Altera supplies source code for the "Jam Player". You compile this
for your microprocessor.
3. You load the Jam file into your system memory.
4. The microprocessor runs the Jam player, which reads the Jam file,
and executes it. While executing, it manipulates the JTAG pins on the
MAX device to program it. The Jam player can also verify the
There's a lot more detail behind this, so there's info on the Altera
This page has all the Jam downloads:
This app note gives general info about ISP (In-System Programming) for
This app note gives more details about using Jam for ISP.