]> git.sur5r.net Git - cc65/commitdiff
Added eeprom routines
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 14 Oct 2004 17:31:23 +0000 (17:31 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 14 Oct 2004 17:31:23 +0000 (17:31 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3248 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/lynx.h

index 7f3f34b5b388ca5d9ab1e8d1304aede0c6eb2ad7..365bcebb43c8079c6baef70c1d1d23d62d8481c4 100644 (file)
@@ -83,6 +83,23 @@ void __fastcall__ lynx_change_framerate (unsigned char rate);
 
 
 
+/*****************************************************************************/
+/*                           Accessing the EEPROM                            */
+/*****************************************************************************/
+
+
+
+unsigned __fastcall__ lynx_eeprom_read (unsigned char cell);
+/* Read a 16 bit word from the given address */
+
+unsigned __fastcall__ lynx_eeprom_write (unsigned char cell, unsigned val);
+/* Write the word at the given address */
+
+void __fastcall__ lynx_eeprom_erase (unsigned char cell);
+/* Clear the word at the given address */
+
+
+
 /* End of lynx.h */
 #endif