Merge branch 'cc65:master' into master

This commit is contained in:
rumbledethumps
2025-09-15 20:57:21 -07:00
committed by GitHub
460 changed files with 7356 additions and 3335 deletions

View File

@@ -294,6 +294,12 @@ unsigned char get_tv (void);
unsigned char get_ostype (void);
/* Get the machine type. Returns one of the APPLE_xxx codes. */
int __fastcall__ file_set_type(const char *pathname, unsigned char type);
/* Sets the ProDOS type for the file, returns 0 on success, sets errno on failure */
int __fastcall__ file_set_auxtype(const char *pathname, unsigned int auxtype);
/* Sets the ProDOS auxtype for the file, returns 0 on success, sets errno on failure */
void rebootafterexit (void);
/* Reboot machine after program termination has completed. */

View File

@@ -318,5 +318,7 @@
extern unsigned char _filetype; /* Default: PRODOS_T_BIN */
extern unsigned int _auxtype; /* Default: 0 */
/* End of apple2_filetype.h */
#endif

View File

@@ -79,6 +79,7 @@ void* __fastcall__ __bzero (void* ptr, size_t n);
#if __CC65_STD__ == __CC65_STD_CC65__
void __fastcall__ bzero (void* ptr, size_t n); /* BSD */
char* __fastcall__ strdup (const char* s); /* SYSV/BSD */
char* __fastcall__ strndup (const char* s, size_t maxlen); /* SYSV/BSD */
int __fastcall__ stricmp (const char* s1, const char* s2); /* DOS/Windows */
int __fastcall__ strcasecmp (const char* s1, const char* s2); /* Same for Unix */
char* __fastcall__ strcasestr (const char* str, const char* substr);