Explorar el Código

Regenerate headers after the changes in the last seven commits.

git-svn-id: file:///var/svn/tigccpp/trunk@1319 9552661e-59e3-4036-b4f2-dbe53926924f
debrouxl hace 15 años
padre
commit
1f713d8a92

+ 3 - 0
tigcc/include/C/alloc.h

@@ -61,6 +61,8 @@ extern void *malloc_throw(long asm("a0"))__ATTR_LIB_ASM__;
 extern void *realloc(void* asm("a0"),long asm("d0"))__ATTR_LIB_ASM__;
 #endif
 extern void *realloc_throw(void* asm("a0"),long asm("d0"))__ATTR_LIB_ASM__;
+#if MIN_AMS>=101
+#define hStrAppend _rom_call_hack(void,(HANDLE,unsigned char*),45F,(((((unsigned char*)_rom_call_addr(110)+0x526))+*((signed short*)_rom_call_addr(110)+0x526/2))),200)
 #if MIN_AMS>=200
 enum HeapWalkCmds{H_WALK_VERIFY=0,H_WALK_STATUS=1,H_WALK_DUMP=2
 #if MIN_AMS>=204
@@ -70,6 +72,7 @@ enum HeapWalkCmds{H_WALK_VERIFY=0,H_WALK_STATUS=1,H_WALK_DUMP=2
 #define HeapShuffle _rom_call(void,(void),474)
 #define HeapWalk _rom_call(short,(short),12C)
 #endif
+#endif
 /* End Auto-Generated Part */
 
 #endif

+ 2 - 0
tigcc/include/C/bascmd.h

@@ -152,6 +152,8 @@ typedef CESI SYM_STR;
 #define cmd_zoomtrig _rom_call(void,(void),3A8)
 #if MIN_AMS>=200
 #define cmd_archive ({__need_in_use_bit;_rom_call(void,(CESI),448);})
+#define cmd_lu_fact ({__need_in_use_bit;_rom_call(void,(ESI,ESI,ESI,ESI,ESI),484);})
+#define cmd_qr_fact ({__need_in_use_bit;_rom_call(void,(ESI,ESI,ESI,ESI),485);})
 #define cmd_unarchiv ({__need_in_use_bit;_rom_call(void,(CESI),449);})
 #endif
 #endif

+ 3 - 0
tigcc/include/C/basfunc.h

@@ -49,6 +49,7 @@ typedef CESI SYM_STR;
 #define push_colnorm ({__need_in_use_bit;_rom_call(void,(CESI),499);})
 #define push_cross_product ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4CE);})
 #define push_cumsum ({__need_in_use_bit;_rom_call(void,(CESI),49A);})
+#define push_cylin_vector ({__need_in_use_bit;_rom_call(void,(ESI),49B);})
 #define push_dense_poly_eval ({__need_in_use_bit;_rom_call(void,(ESI,ESI),49C);})
 #define push_determinant ({__need_in_use_bit;_rom_call(void,(CESI,CESI),49D);})
 #define push_diag _rom_call(void,(CESI),49E)
@@ -69,6 +70,7 @@ typedef CESI SYM_STR;
 #define push_newlist _rom_call(void,(CESI),4AE)
 #define push_newmat _rom_call(void,(CESI,CESI),4AF)
 #define push_ord _rom_call(void,(CESI),4B0)
+#define push_polar_vector ({__need_in_use_bit;_rom_call(void,(ESI),4B1);})
 #define push_prodlist ({__need_in_use_bit;_rom_call(void,(CESI),4B2);})
 #define push_randmat _rom_call(void,(CESI,CESI),4B4)
 #define push_randnorm ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4B5);})
@@ -84,6 +86,7 @@ typedef CESI SYM_STR;
 #define push_sequence ({__need_in_use_bit;_rom_call(void,(CESI,CESI,CESI,CESI,CESI),4BF);})
 #define push_shift ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4C0);})
 #define push_simult ({__need_in_use_bit;_rom_call(void,(CESI,CESI,CESI),4C1);})
+#define push_spher_vector ({__need_in_use_bit;_rom_call(void,(ESI),4C2);})
 #define push_stddev ({__need_in_use_bit;_rom_call(void,(CESI),4C3);})
 #define push_submat _rom_call(void,(CESI,CESI,CESI,CESI,CESI),4C4)
 #define push_sumlist ({__need_in_use_bit;_rom_call(void,(CESI),4C5);})

+ 5 - 0
tigcc/include/C/basop.h

@@ -38,8 +38,13 @@ typedef CESI SYM_STR;
 #define push_dot_div ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4CD);})
 #define push_dot_mult ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4A1);})
 #define push_dot_sub ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4A2);})
+#define push_polar_to_rect_x ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4F9);})
+#define push_polar_to_rect_y ({__need_in_use_bit;_rom_call(void,(CESI,CESI),4FA);})
 #define push_radians ({__need_in_use_bit;_rom_call(void,(CESI),4B3);})
 #define push_substitute_no_simplify _rom_call(void,(CESI,CESI,CESI),489)
+#define push_to_dd ({__need_in_use_bit;_rom_call(void,(CESI),4C6);})
+#define push_to_dms ({__need_in_use_bit;_rom_call(void,(CESI),4C7);})
+#define push_transpose ({__need_in_use_bit;_rom_call(void,(CESI),4D2);})
 #if MIN_AMS>=202
 #define push_and ({__need_in_use_bit;_rom_call(void,(CESI,CESI),5AB);})
 #define push_arg_minus_1 ({__need_in_use_bit;_rom_call(void,(CESI),520);})

+ 4 - 0
tigcc/include/C/cert.h

@@ -19,7 +19,10 @@ typedef unsigned short HANDLE;
 typedef unsigned long size_t;
 #endif
 typedef struct{unsigned short Field;unsigned short HdrLen;unsigned long Len;void*Data;}CERT_FIELD;
+#ifndef __HAVE_CFILE
+#define __HAVE_CFILE
 typedef struct{void*Start,*Pos,*End;short EOFVal;}CFILE;
+#endif
 #define ceof _rom_call(short,(CFILE*),128)
 #define cfindfield _rom_call(short,(CFILE*,short,CERT_FIELD*),12A)
 #define cgetc _rom_call(unsigned char,(CFILE*),12B)
@@ -39,6 +42,7 @@ typedef struct{void*Start,*Pos,*End;short EOFVal;}CFILE;
 #define cwrite _rom_call(short,(CFILE*,CERT_FIELD*),139)
 #if MIN_AMS>=200
 #define CertificateMemory ((unsigned char*const)(_rom_call_addr(43E)))
+#define freeIdList _rom_call(void,(void),4D6)
 #endif
 /* End Auto-Generated Part */
 

+ 4 - 0
tigcc/include/C/error.h

@@ -208,6 +208,10 @@ typedef struct ErrorFrameStruct{unsigned long A2,A3,A4,A5,A6,A7;unsigned long D3
 #define TRY {ERROR_FRAME __errFrame;unsigned short errCode;errCode=ER_catch(__errFrame);if(!errCode){
 #if MIN_AMS>=101
 #define find_error_message _rom_call(const char*,(short),2C1)
+#if MIN_AMS>=200
+#define ERD_dismissNotice _rom_call(void,(void),476)
+#define ERD_notice _rom_call(short,(unsigned char const*,unsigned char const*),475)
+#endif
 #endif
 /* End Auto-Generated Part */
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 9 - 0
tigcc/include/C/estack.h


+ 1 - 0
tigcc/include/C/events.h

@@ -98,6 +98,7 @@ extern short EV_getAppID(const char* asm("a0"))__ATTR_LIB_ASM__;
 #define MO_sendQuit _rom_call(void,(short,short),DF)
 #if MIN_AMS>=200
 #define handleVarLinkKey ({__need_in_use_bit;_rom_call(void,(short),129);})
+#define TIOS_EV_getAppID _rom_call(HANDLE,(const unsigned char*),454)
 #endif
 /* End Auto-Generated Part */
 

+ 3 - 0
tigcc/include/C/flash.h

@@ -6,6 +6,7 @@
 #define __EM_findEmptySlot _rom_call(void*,(long,short),15F)
 
 /* Begin Auto-Generated Part */
+#define FLASH_SECTOR_SIZE (0x10000)
 #define NULL ((void*)0)
 #ifndef __HAVE_Bool
 #define __HAVE_Bool
@@ -34,8 +35,10 @@ typedef struct{unsigned short len;unsigned long hardwareID;unsigned long hardwar
 #define FL_write _rom_call(void,(const void*,void*,long),171)
 #define GetAMSSize() ((*((unsigned long*)(((char*)ROM_base)+0x12002)))+0x49)
 #if MIN_AMS>=200
+#define CappedHW1ArchiveMemoryBeginning ((unsigned char*const)(_rom_call_addr(43C)))
 #define FlashMemoryEnd ((unsigned char*const)(_rom_call_addr(43D)))
 #define BatTooLowFlash _rom_call(short,(short),434)
+#define EM_getArchiveMemoryBeginning _rom_call(unsigned char *,(void),3CF)
 #endif
 /* End Auto-Generated Part */
 

+ 1 - 0
tigcc/include/C/graph.h

@@ -110,6 +110,7 @@ typedef struct{void*ScrAddr;unsigned char XMax,YMax;short CurFont,CurAttr,CurX,C
 #define ClientToScr _rom_call(void,(const SCR_RECT*,const SCR_RECT*,SCR_RECT*),42C)
 #define DrawStrWidthP _rom_call(unsigned short,(const char*,short,short),3EE)
 #define MakeScrRect _rom_call(SCR_RECT*,(short,short,short,short,SCR_RECT*),42D)
+#define sf_width _rom_call(unsigned char,(char),4D3)
 #endif
 /* End Auto-Generated Part */
 

+ 9 - 0
tigcc/include/C/link.h

@@ -38,6 +38,12 @@ typedef struct{unsigned short hVar;union{const void*pVar;struct{unsigned short F
 #define LIO_Send _rom_call(unsigned short,(LIO_CTX*,short),56)
 #define LIO_SendData _rom_call(unsigned short,(const void*,long),5A)
 #define LIO_SendProduct _rom_call(unsigned short,(LIO_CTX*,short),253)
+#define _OSCheckLinkOpen _rom_call(unsigned short,(void),5E3)
+#if MIN_AMS>=205
+#define OSCheckLinkOpen _OSCheckLinkOpen
+#elif !defined(UNOFFICIAL_OS_SUPPORT)
+#define OSCheckLinkOpen() (TIOS_entries>0x5E3?_OSCheckLinkOpen():((!!(*(unsigned char*)(unsigned long)*((unsigned short*)_rom_call_addr(24A)+7)))))
+#endif
 #define OSCheckSilentLink _rom_call(short,(void),24A)
 #define OSLinkClose _rom_call(void,(void),24E)
 #define OSLinkCmd ({__need_in_use_bit;_rom_call(void,(short),24B);})
@@ -53,6 +59,9 @@ typedef struct{unsigned short hVar;union{const void*pVar;struct{unsigned short F
 #define OSWriteLinkBlock _rom_call(short,(const char*,short),250)
 #define transmit OSWriteLinkBlock
 #define sendcalc ({__need_in_use_bit;_rom_call(unsigned short,(SYM_STR,short,short,unsigned char*),55);})
+#if MIN_AMS>=200
+#define LIO_SendIdList _rom_call(unsigned short,(short),3D0)
+#endif
 /* End Auto-Generated Part */
 
 #endif

+ 2 - 0
tigcc/include/C/string.h

@@ -10,6 +10,7 @@
 typedef unsigned long size_t;
 #endif
 #define _memset _rom_call(void*,(void*,short,long),27B)
+#define CharNumber _rom_call(unsigned char,(char,char,unsigned char*),113)
 #define cmpstri _rom_call(short,(const unsigned char*,const unsigned char*),16F)
 #define memchr _rom_call(void*,(const void*,short,long),273)
 #define memcmp _rom_call(short,(const void*,const void*,long),270)
@@ -33,6 +34,7 @@ typedef unsigned long size_t;
 #define strstr _rom_call(char*,(const char*,const char*),279)
 #define strtok _rom_call(char*,(char*,const char*),27A)
 #if MIN_AMS>=200
+#define FirstNonblank _rom_call(unsigned char*,(unsigned char*),4DE)
 #define memucmp _rom_call(short,(const void*,const void*,long),3CC)
 #define stricmp _rom_call(short,(const unsigned char*,const unsigned char*),407)
 #endif

+ 3 - 14
tigcc/include/C/unknown.h

@@ -141,6 +141,7 @@ typedef short WIN_COORDS;
 #define __HAVE_WIN_RECT
 typedef struct{short x0,y0,x1,y1;}WIN_RECT;
 #endif
+typedef struct{unsigned char tag_version;unsigned char min_max_args;unsigned char proc_args;void(*CALLBACK arg_simp)(ESI);void(*CALLBACK cmd_proc)(void);unsigned long tag_str;}cmd_info;
 typedef enum{SELECT_ON,SELECT_OFF,SELECT_TOGGLE}EQU_SELECT;
 typedef unsigned long pFrame;
 typedef struct{unsigned char tag_order;unsigned char tag_version;unsigned char min_max_args;unsigned char proc_args;void(*CALLBACK tag_proc)(void);unsigned long tag_str;}tag_info;
@@ -149,7 +150,6 @@ typedef unsigned short unknown_retval;
 #define EV_appA (*((short*)(_rom_call_addr_hack(452,(((unsigned long)*(signed short*)((unsigned char*)_rom_call_addr(D8)+0x20))),200))))
 #define EV_appB (*((short*)(_rom_call_addr_hack(453,(((unsigned long)*(signed short*)((unsigned char*)_rom_call_addr(D8)+0x26))),200))))
 #define EV_appSide (*((unsigned short*)(_rom_call_addr_hack(458,(((unsigned long)*(signed short*)((unsigned char*)_rom_call_addr(D8)+0x1A))),200))))
-#define CharNumber _rom_call(unsigned char,(char,char,unsigned char*),113)
 #define CheckGraphRef _rom_call(short,(const SYM_ENTRY*),7D)
 #define ck_valid_float _rom_call(short,(float*),1E5)
 #define cleanup_de_mem ({__need_in_use_bit;_rom_call(unknown_retval,(),1EC);})
@@ -162,7 +162,6 @@ typedef unsigned short unknown_retval;
 #define CptFuncX(x,y) _tios_float_2(1B9,x,y,float,GR_WIN_VARS*)
 #define CptIndep _rom_call(unsigned char,(float*,float*,short),1C9)
 #define CptLastIndepDE _rom_call(unknown_retval,(),1EF)
-#define CreateEmptyList _rom_call(HANDLE,(void),1E6)
 #define CustomBegin _rom_call(void,(void),14A)
 #define CustomEnd _rom_call(void,(void),14C)
 #define CustomFree _rom_call(void,(void),150)
@@ -373,18 +372,12 @@ typedef struct SymPrivateGlobals{unsigned char SPG_Ver;unsigned short SymTempFol
 #define clear_error_context _rom_call(void,(void),44C)
 #define DataTypeNames _rom_call(unsigned char*,(char),43B)
 #define ER_throwFrame _rom_call(void,(short,pFrame),507)
-#define ERD_dismissNotice _rom_call(void,(void),476)
-#define ERD_notice _rom_call(short,(unsigned char const*,unsigned char const*),475)
 #define estack_to_float(x) _tios_float_1(469,x,CESI)
 #define EV_quit ({__need_in_use_bit;_rom_call(void,(void),48E);})
-#define FirstNonblank _rom_call(unsigned char*,(unsigned char*),4DE)
 #define ForceFloat(x) ({__need_in_use_bit;_tios_float_1(47D,x,ESI);})
-#define freeIdList _rom_call(void,(void),4D6)
 #define GetTagStr _rom_call(char*,(ESI,char*),46C)
-#define hStrAppend _rom_call(void,(HANDLE,unsigned char*),45F)
 #define is_cFloat_agg _rom_call(short,(ESI),465)
 #define is_complex_Float _rom_call(short,(CESI),48B)
-#define LIO_SendIdList _rom_call(unsigned short,(short),3D0)
 #define OO_appGetPublicStorage _rom_call(unsigned long,(void),425)
 #define OO_appIsMarkedDelete _rom_call(short,(short),426)
 #define OO_appMarkDelete _rom_call(void,(short),427)
@@ -413,11 +406,9 @@ typedef struct SymPrivateGlobals{unsigned char SPG_Ver;unsigned short SymTempFol
 #define push_negate_quantum_as_negint _rom_call(void,(ESQ),4F1)
 #define push_simplify_statements ({__need_in_use_bit;_rom_call(void,(ESI),44F);})
 #define QstatRcl _rom_call(short,(void),40B)
-#define sf_width _rom_call(unsigned char,(char),4D3)
 #define statEnd _rom_call(void,(void),409)
 #define statFree ({__need_in_use_bit;_rom_call(void,(void),40A);})
 #define statStart ({__need_in_use_bit;_rom_call(void,(void),408);})
-#define TIOS_EV_getAppID _rom_call(short,(unsigned char const*),454)
 #define TIOS_strtol _rom_call(long,(const char*,char**,short),4FF)
 #define TokenizeName _rom_call(unsigned short,(const char*,unsigned char*),3E9)
 #if MIN_AMS>=202
@@ -437,9 +428,7 @@ typedef struct SymPrivateGlobals{unsigned char SPG_Ver;unsigned short SymTempFol
 #define index_rmng_fctrs_start_fctr_tag _rom_call(ESI,(ESI,ESQ),562)
 #define is_equivalent_to ({__need_in_use_bit;_rom_call(short,(ESI,ESI),578);})
 #define is_neg_lead_numr_coef_re_part _rom_call(short,(ESI),56D)
-#define is_pos_int_and_eq_quantum _rom_call(short,(CESI,ESQ),509)
 #define is_real ({__need_in_use_bit;_rom_call(short,(ESI),5A9);})
-#define is_reciprocal_of_quantum _rom_call(short,(CESI,ESQ),50A)
 #define is_term_improper ({__need_in_use_bit;_rom_call(short,(ESI),556);})
 #define lead_conjunct_factor_index _rom_call(ESI,(ESI),580)
 #define lead_disjunct_term_index _rom_call(ESI,(ESI),57E)
@@ -488,8 +477,8 @@ typedef struct SymPrivateGlobals{unsigned char SPG_Ver;unsigned short SymTempFol
 #define times_top ({__need_in_use_bit;_rom_call(void,(ESI),522);})
 #if MIN_AMS>=204
 typedef enum{EV_OFF=0x0001,EV_SUSPEND_PAINTING=0x0002}EV_FLAGS;
+#define command_tag_list ((const cmd_info*const)(_rom_call_addr(5D8)))
 #define errno (*((short*)(_rom_call_addr(5D9))))
-#define estack_max_index (*((ESI*)(_rom_call_addr(5BF))))
 #define EV_flags (*((EV_FLAGS*)(_rom_call_addr(5DF))))
 #define Float0Index (*((ESI*)(_rom_call_addr(5D0))))
 #define Float1Index (*((ESI*)(_rom_call_addr(5D1))))
@@ -514,7 +503,7 @@ typedef enum{EV_OFF=0x0001,EV_SUSPEND_PAINTING=0x0002}EV_FLAGS;
 #define TIOS_labs _rom_call(long,(long),5BC)
 #define TIOS_ldiv _rom_call(ldiv_t,(long,long),5BD)
 #if MIN_AMS>=205
-#define OSCheckLinkOpen _rom_call(unsigned short,(void),5E3)
+#define secondary_tag_list ((const tag_info*const)(_rom_call_addr(5EE)))
 #endif
 #endif
 #endif

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio