/* Hey EMACS -*- linux-c -*- */ /* libcalcfiles - file format library, a part of the CalcForge project * Copyright (C) 1999-2005 Romain Lievin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef CALCFILES_TYPES86_H #define CALCFILES_TYPES86_H #include #define TI86_MAXTYPES 48 #define TI86_REAL 0x00 #define TI86_CPLX 0x01 #define TI86_VECTR 0x02 #define TI86_CVECT 0x03 #define TI86_LIST 0x04 #define TI86_CLIST 0x05 #define TI86_MATRX 0x06 #define TI86_CMATR 0x07 #define TI86_CONS 0x08 #define TI86_CCONS 0x09 #define TI86_EQU 0x0A #define TI86_STRNG 0x0C #define TI86_GDB 0x0D #define TI86_OGDB 0x0E #define TI86_AGDB 0x0F #define TI86_DGDB 0x10 #define TI86_PICT 0x11 #define TI86_PRGM 0x12 #define TI86_RANGE 0x13 #define TI86_SCRN 0x14 #define TI86_DIR 0x15 #define TI86_FUNC 0x17 #define TI86_POL 0x18 #define TI86_PARAM 0x19 #define TI86_DIFEQ 0x1A #define TI86_ZRCL 0x1B #define TI86_BKUP 0x1D #define TI86_UNKN 0x1E // libcalcfiles: for internal use only, not exported! extern const char *TI86_CONST[TI86_MAXTYPES + 1][4]; const char *ti86_byte2type(uint8_t data); uint8_t ti86_type2byte(const char *s); const char *ti86_byte2fext(uint8_t data); uint8_t ti86_fext2byte(const char *s); const char *ti86_byte2desc(uint8_t data); const char *ti86_byte2icon(uint8_t data); #endif