So we could write Chip8 programs on ClassPad ? (maybe I misunderstood the word "interpreter")
It would be interesting that I (we) see the source code of Chip8, because It seems to be the only program which was compiled with .src files.
Please Brian, could you give me (us) the source code of Chip8
The chip8 game source is literally compiled byte-code. The interpreter is more like a Java interpreter reading precompiled byte-code. It doesn't have to do any parsing. That has already been done by another program on the PC to create the byte-code.
I cheated a bit on the Chip8 add-in.
Since it's just byte-code I converted the binary image for each game to an array of hex characters in a "C" source file, which is then compiled directly into the add-in.
There really isn't any reason why the chip8 add-in couldn't be improved so anyone could write their own game and then upload it to the ClassPad. Since the add-in doesn't do the parsing you'd have to compile it to byte-code on a PC or Mac. I'd also have to write a program on the PC that imports this file to either an MCS image or sends it directly via the USB cable to the ClassPad. Nobody has asked for this feature though. There are chip8 interpreters for the PC, Mac, TI and HP calculators, and I haven't seen a new game written for years, so I'm guessing there isn't a big demand for this.
Who needs chip8 now that we have CPLua.