]> git.sur5r.net Git - cc65/blobdiff - include/lynx.h
Lynx update including file routines that access a file system on a cartridge
[cc65] / include / lynx.h
index 985c33fe94d6662e4ad4e459b63f7aecab888fde..b127b28251db17b595657a48534f08900c64fbf2 100644 (file)
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                           Accessing the cart                              */
 /*****************************************************************************/
 
 
 
+void __fastcall__ lynx_load (int fileno);
+/* Load a file into ram. The first entry is fileno=0. */
+
+void __fastcall__ lynx_exec (int fileno);
+/* Load a file into ram and execute it. */
+
+
+
 /*****************************************************************************/
 /*                           Accessing the EEPROM                            */
 /*****************************************************************************/
@@ -94,10 +102,13 @@ void __fastcall__ lynx_eeprom_erase (unsigned char cell);
 /* Clear the word at the given address */
 
 
+
 /*****************************************************************************/
 /*                           TGI extras                                      */
 /*****************************************************************************/
 
+
+
 #define tgi_sprite(spr) tgi_ioctl(0, spr)
 #define tgi_flip() tgi_ioctl(1, (void*)0)
 #define tgi_setbgcolor(bgcol) tgi_ioctl(2, (void*)(bgcol))
@@ -106,6 +117,8 @@ void __fastcall__ lynx_eeprom_erase (unsigned char cell);
 #define tgi_updatedisplay() tgi_ioctl(4, (void*)1)
 #define tgi_setcollisiondetection(active) tgi_ioctl(5, (void*)(active))
 
+
+
 /* End of lynx.h */
 #endif