/* * Authors (alphabetical order) * - Bertrand Songis * - Bryan J. Rentoul (Gruvin) * * gruvin9x is based on code named er9x by * Author - Erez Raviv , which is in turn * was based on the original (and ongoing) project by Thomas Husterer, * th9x -- http://code.google.com/p/th9x/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * */ #include #include #include #include "simpgmspace.h" #include "lcd.h" #include "gruvin9x.h" #include "menus.h" volatile unsigned char pinb=0, pinc=0xff, pind, pine=0xff, ping=0xff; unsigned char portb, dummyport; const char *eepromFile = "eeprom.bin"; volatile size_t eeprom_buffer_size = 0; uint8_t eeprom[EESIZE]; void eeWriteBlockCmp(const void *i_pointer_ram, void *pointer_eeprom, size_t size) { #if 0 printf(" eeWriteBlockCmp(%d %d)", size, (int)pointer_eeprom); for(uint8_t i=0; i