Browse Source

Examples:
* rename the on-calc variables so as to avoid name clashes.
It's now possible to transfer e.g. Hello World 1 and Hello World 2 at the same time, without either overwriting the other one.
* Bitmap Test.c: add a newline at EOF, so that GCC is happy;
* Custom DLL Test.c: don't define SAVE_SCREEN, the TPR already takes care of that, and GCC warns about the redefinition.

git-svn-id: file:///var/svn/tigccpp/trunk@1335 9552661e-59e3-4036-b4f2-dbe53926924f

debrouxl 15 years ago
parent
commit
f0fc787482

+ 1 - 1
tigcc/examples/Bitmap Test.c

@@ -21,4 +21,4 @@ void _main(void)
   ngetchx ();
   BitmapPut (0, 0, buffer, &full_screen, A_REPLACE);
   ngetchx ();
-}
+}

+ 0 - 2
tigcc/examples/Custom DLL Test.c

@@ -1,7 +1,5 @@
 #define USE_TI89
 
-#define SAVE_SCREEN
-
 #include <tigcclib.h>
 
 #define HelloFromDLL _DLL_call(void,(void),0)

+ 1 - 1
tigcc/examples/Dialog Items AMS1.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=DialogIt
+Project Name=DlgItAll
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Dialog Items.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=DialogIt
+Project Name=DlgItNew
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Dynamic Popup Example.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=PopupEx
+Project Name=PopupExd
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Folder List.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Folder
+Project Name=FldrList
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Gray Test Project in Assembler.tpr

@@ -1,5 +1,5 @@
 [Settings]
-Project Name=GrayTest
+Project Name=GrayTst
 GCC Switches=-O2 -Wall -W
 Assembler Switches=-g -t
 Linker Switches=

+ 1 - 1
tigcc/examples/Hello World 1.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Hello
+Project Name=Hello1
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Hello World 2.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Hello
+Project Name=Hello2
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Hello World 3.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Hello
+Project Name=Hello3
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Hello World 4.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Hello
+Project Name=Hello4
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Hello World 5.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Hello
+Project Name=Hello5
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Input String Advanced.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=CstInput
+Project Name=CstInAdv
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Menu Example 1.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=MenuEx
+Project Name=MenuEx1
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Menu Example 2.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=MenuEx
+Project Name=MenuEx2
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Popup Menu Example.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=PopupEx
+Project Name=PopupExs
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Sort Floats.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Sort
+Project Name=SortFlt
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Sort Integers.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Sort
+Project Name=SortInt
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Symbolic Add Arguments.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Add
+Project Name=Addsymb
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Window 1.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Window
+Project Name=Window1
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Window 2.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Window
+Project Name=Window2
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Window 3.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Window
+Project Name=Window3
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Window 4.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Window
+Project Name=Window4
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t

+ 1 - 1
tigcc/examples/Window 5.tpr

@@ -2,7 +2,7 @@
 Archive=0
 Pack=0
 Packed Variable=
-Project Name=Window
+Project Name=Window5
 GCC Switches=-Os -Wall -W -Wwrite-strings
 GNU Assembler Switches=
 Assembler Switches=-g -t