Lynx update including file routines that access a file system on a cartridge

by Karri Kaksonen.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4892 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2010-12-29 10:37:57 +00:00
parent 4a92522c82
commit d993b332a4
10 changed files with 447 additions and 1 deletions

View File

@@ -73,11 +73,19 @@
/*****************************************************************************/
/* 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