1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
/* Hey EMACS -*- linux-c -*- */
/* $Id: types85.h 368 2004-03-22 18:42:08Z roms $ */
/* libtifiles - Ti File Format library, a part of the TiLP project
* Copyright (C) 1999-2004 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 __TIFILES_DEFS85__
#define __TIFILES_DEFS85__
#include "stdints.h"
#define TI85_MAXTYPES 48
#define TI85_REAL 0x00
#define TI85_CPLX 0x01
#define TI85_VECTR 0x02
#define TI85_CVECT 0x03
#define TI85_LIST 0x04
#define TI85_CLIST 0x05
#define TI85_MATRX 0x06
#define TI85_CMATR 0x07
#define TI85_CONS 0x08
#define TI85_CCONS 0x09
#define TI85_EQU 0x0A
#define TI85_STRNG 0x0C
#define TI85_GDB 0x0D
#define TI85_OGDB 0x0E
#define TI85_AGDB 0x0F
#define TI85_DGDB 0x10
#define TI85_PICT 0x11
#define TI85_PRGM 0x12
#define TI85_RANGE 0x13
#define TI85_SCRN 0x14
#define TI85_DIR 0x15
#define TI85_FUNC 0x17
#define TI85_POL 0x18
#define TI85_PARAM 0x19
#define TI85_DIFEQ 0x1A
#define TI85_ZRCL 0x1B
#define TI85_BKUP 0x1D
#define TI85_UNKN 0x1E
// libtifiles: for internal use only, not exported !
extern const char *TI85_CONST[TI85_MAXTYPES + 1][4];
const char *ti85_byte2type(uint8_t data);
uint8_t ti85_type2byte(const char *s);
const char *ti85_byte2fext(uint8_t data);
uint8_t ti85_fext2byte(const char *s);
const char *ti85_byte2desc(uint8_t data);
const char *ti85_byte2icon(uint8_t data);
#endif
|