From 090d26b2af18c566df2c0aef685b800b9c8345f0 Mon Sep 17 00:00:00 2001 From: Marshall Gates Date: Sat, 9 Aug 2025 18:50:29 -0400 Subject: [PATCH 1/3] Rename development demo combo defintion example file so that it actually works --- Source/Images/{demo_dev.def.example => devDemo.def.example} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Source/Images/{demo_dev.def.example => devDemo.def.example} (100%) diff --git a/Source/Images/demo_dev.def.example b/Source/Images/devDemo.def.example similarity index 100% rename from Source/Images/demo_dev.def.example rename to Source/Images/devDemo.def.example From 2d2696d22c8df3b785c06ace747c72a1dae8e831 Mon Sep 17 00:00:00 2001 From: Marshall Gates Date: Sat, 9 Aug 2025 19:09:49 -0400 Subject: [PATCH 2/3] Add HiTech C Sample source code --- Source/Images/d_hitechc/Readme.txt | 11 +++++++++++ Source/Images/d_hitechc/u0/HELLO.C | 7 +++++++ Source/Images/d_hitechc/u1/HELLO.C | 7 +++++++ 3 files changed, 25 insertions(+) create mode 100644 Source/Images/d_hitechc/u0/HELLO.C create mode 100644 Source/Images/d_hitechc/u1/HELLO.C diff --git a/Source/Images/d_hitechc/Readme.txt b/Source/Images/d_hitechc/Readme.txt index 2fd60e7f..85b4e07d 100644 --- a/Source/Images/d_hitechc/Readme.txt +++ b/Source/Images/d_hitechc/Readme.txt @@ -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 these warnings/errors can be found in the Doc/Language directory, 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 diff --git a/Source/Images/d_hitechc/u0/HELLO.C b/Source/Images/d_hitechc/u0/HELLO.C new file mode 100644 index 00000000..177f2c7f --- /dev/null +++ b/Source/Images/d_hitechc/u0/HELLO.C @@ -0,0 +1,7 @@ +main() +{ + int i; + for( i = 1; i <= 10; i++ ) { + printf("Hello World, from HiTech C line %d\n", i); + } +} diff --git a/Source/Images/d_hitechc/u1/HELLO.C b/Source/Images/d_hitechc/u1/HELLO.C new file mode 100644 index 00000000..177f2c7f --- /dev/null +++ b/Source/Images/d_hitechc/u1/HELLO.C @@ -0,0 +1,7 @@ +main() +{ + int i; + for( i = 1; i <= 10; i++ ) { + printf("Hello World, from HiTech C line %d\n", i); + } +} From 1a8f03b322b88a4f839ff4af3b3938e9cd4d90f2 Mon Sep 17 00:00:00 2001 From: Marshall Gates Date: Sat, 9 Aug 2025 19:10:24 -0400 Subject: [PATCH 3/3] Clean up bad end of file markers --- Source/Images/d_aztecc/u0/HELLO.C | 2 -- Source/Images/d_bascomp/u0/HELLO.BAS | 2 -- 2 files changed, 4 deletions(-) diff --git a/Source/Images/d_aztecc/u0/HELLO.C b/Source/Images/d_aztecc/u0/HELLO.C index 0e412aca..42f89e8d 100644 --- a/Source/Images/d_aztecc/u0/HELLO.C +++ b/Source/Images/d_aztecc/u0/HELLO.C @@ -5,5 +5,3 @@ main() printf("Hello World, from Aztec C line %d\n", i); } } - - \ No newline at end of file diff --git a/Source/Images/d_bascomp/u0/HELLO.BAS b/Source/Images/d_bascomp/u0/HELLO.BAS index 73f6b845..d652f431 100644 --- a/Source/Images/d_bascomp/u0/HELLO.BAS +++ b/Source/Images/d_bascomp/u0/HELLO.BAS @@ -2,5 +2,3 @@ 20 PRINT "Hello World from BASIC, line"; I 30 NEXT I 40 END - - \ No newline at end of file