From 9459f11688542104c2dbb4d32d9b6e0ec59ecc25 Mon Sep 17 00:00:00 2001 From: Bill Chatfield Date: Fri, 28 Jul 2017 12:01:57 -0400 Subject: [PATCH] Corrected copyright and moved file type globals The file type globals., _filetype and _auxtype, were moved from apple2.h to this file. --- include/apple2_filetype.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5