Unfortunately, it does not compile anymore:
gcc -O2 -g -Wall -Werror -c -o flash_rom.o flash_rom.c cc1: warnings being treated as errors flash_rom.c: In function 'main': flash_rom.c:525: warning: pointer targets in passing argument 2 of 'flash->read' differ in signedness flash_rom.c:539: warning: pointer targets in passing argument 2 of 'flash->write' differ in signedness make: *** [flash_rom.o] Error 1
Remove the -Werror and it should be ok. Those are probally going to be a buch of issues related to (char *) and (unsigned char *) which gcc issues warnings about now.
Is there a copy floating around that works? This is an AMD64 box.
That however maybe a problem. Dunno if the V1 version is 64 bit clean. Of course it dosen't sound like you can do any worse.
-- Richard A. Smith