Browse Source
Merge pull request #604 from mggates39/feature/UpdateProgrammingDemos
Update programming demos
pull/609/head
Wayne Warthen
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with
25 additions and
4 deletions
-
Source/Images/d_aztecc/u0/HELLO.C
-
Source/Images/d_bascomp/u0/HELLO.BAS
-
Source/Images/d_hitechc/Readme.txt
-
Source/Images/d_hitechc/u0/HELLO.C
-
Source/Images/d_hitechc/u1/HELLO.C
-
Source/Images/devDemo.def.example
|
|
@ -5,5 +5,3 @@ main() |
|
|
printf("Hello World, from Aztec C line %d\n", i); |
|
|
printf("Hello World, from Aztec C line %d\n", i); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2,5 +2,3 @@ |
|
|
20 PRINT "Hello World from BASIC, line"; I |
|
|
20 PRINT "Hello World from BASIC, line"; I |
|
|
30 NEXT I |
|
|
30 NEXT I |
|
|
40 END |
|
|
40 END |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -51,3 +51,14 @@ warning and error messages. The code number for each of these |
|
|
messages will still be printed. The textual description for all of |
|
|
messages will still be printed. The textual description for all of |
|
|
these warnings/errors can be found in the Doc/Language directory, |
|
|
these warnings/errors can be found in the Doc/Language directory, |
|
|
HI-TECH Z80 C Compiler Messages.txt. |
|
|
HI-TECH Z80 C Compiler Messages.txt. |
|
|
|
|
|
|
|
|
|
|
|
== Sample Application == |
|
|
|
|
|
|
|
|
|
|
|
This disk image includes a very small sample application called |
|
|
|
|
|
HELLO.C that can be used to demonstrate the build process. The |
|
|
|
|
|
following commands will build this sample application. |
|
|
|
|
|
|
|
|
|
|
|
C -V HELLO.C |
|
|
|
|
|
|
|
|
|
|
|
Then run it by typeing |
|
|
|
|
|
HELLO |
|
|
|
|
|
@ -0,0 +1,7 @@ |
|
|
|
|
|
main() |
|
|
|
|
|
{ |
|
|
|
|
|
int i; |
|
|
|
|
|
for( i = 1; i <= 10; i++ ) { |
|
|
|
|
|
printf("Hello World, from HiTech C line %d\n", i); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
@ -0,0 +1,7 @@ |
|
|
|
|
|
main() |
|
|
|
|
|
{ |
|
|
|
|
|
int i; |
|
|
|
|
|
for( i = 1; i <= 10; i++ ) { |
|
|
|
|
|
printf("Hello World, from HiTech C line %d\n", i); |
|
|
|
|
|
} |
|
|
|
|
|
} |