From: Bill Chatfield Date: Fri, 28 Jul 2017 16:01:57 +0000 (-0400) Subject: Corrected copyright and moved file type globals X-Git-Tag: V2.17~112^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9459f11688542104c2dbb4d32d9b6e0ec59ecc25;p=cc65 Corrected copyright and moved file type globals The file type globals., _filetype and _auxtype, were moved from apple2.h to this file. --- diff --git a/include/apple2_filetype.h b/include/apple2_filetype.h index 96cf49581..bdfa93093 100644 --- a/include/apple2_filetype.h +++ b/include/apple2_filetype.h @@ -6,8 +6,7 @@ /* */ /* */ /* */ -/* (C) 2000 Kevin Ruland, */ -/* (C) 2003 Ullrich von Bassewitz, */ +/* (C) 2017 Bill Chatfield, */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -304,5 +303,12 @@ /* BAS auxiliary types */ #define PRODOS_AUX_T_BAS_PGM_LOAD_ADDR 0x0801 /* Applesoft pgm load addr */ +/* The file stream implementation and the POSIX I/O functions will use the +** following variables to determine the file type and auxiliary type to use. +** This applies specifically to the fopen and open functions. +*/ +extern unsigned char _filetype; /* Default: PRODOS_T_BIN */ +extern unsigned int _auxtype; /* Default: 0 */ + /* End of apple2_filetype.h */ #endif