Links:
Home Page:
https://sites.google.com/view/electricfarm/home
All Google Drive C# Program Downloads
https://sites.google.com/view/electricfarm/home/downloads
Examples in C# starting with "Hello World" in a C# Windows
https://sites.google.com/view/electricfarm/home
All Google Drive C# Program Downloads
https://sites.google.com/view/electricfarm/home/downloads
Examples in C# starting with "Hello World" in a C# Windows
My first exposure to programming was during the 1960’s when I learned some of the basics in Cobol and Fortran but I never used any of this as computers then were vacuum tube and punch card devices. In the 1980’s I became involved with computers due to my interest in photography. The Amiga was the first computer that could do primitive photography and I became involved with that community of users.
While attending a convention of Amiga users I met one of the prime developers of the Amiga, Jay Minor. During a discussion with him about my dislikes in software he suggested that I should learn to program. He said it’s easier to program than to be constantly learning other peoples programs. This advice turned out to be prophetic and to this day I try to largely use my own programs. The primary advantage of this is that if I don’t like how it works I can change it.
The dedicated languages for the Amiga were “Assembly” and “C” so I began learning “C” which is a lot easier than “Assembly”. In 1990 the hand writing was on the wall and the demise of the Amiga was immenent. I had a friend who was in the Home Inspection business and he wanted a program to do inspections with on a laptop so I purchased a copy of Borlandc and embarked on my first adventure writing code for the MS platform.
The MS platform at that time had only limited ability to do graphics and since I had come out of the Amiga community I had some experience with relatively advanced graphics programs. I had written the basic interface for a mushroom identifier on the Amiga and my friend Dick who is a botanist wanted to create a identifier for ferns on the MS platform. We wanted to use images but MS at that time did not have tools sufficient to create the graphics so we used the Amiga to develop the graphics and wrote a program in “C” to do the search, logic, and used a display device called VPIC by Bob Montgomery to display the graphics.
We started on this project in 1992 and did not complete it until 1998. During this time technology changed vastly. MS Win became SVGA compatible and the MS platform for the first time could do real photography. We started using a graphics library written in assembly by Dan Sill called SVGACC.lib. This library had a large volume of example source code written by Steven Baulkum. Steve’s source code is piece of real art. Clear, concise, well commented, and very instructive I learned “C” programming from this more than anywhere else.
Using the SVGACC.lib to do display of .PCX 256 color images allowed me to write programs with graphic displays and I wrote a paint program, an animation display program and integrated this display into the fern program.
At the same time I had become interested in doing sound on the computer. The Sound Blaster was the primary sound device in the beginning and Creative offered free source code to developers. After a short time I was able to do picture displays with SVGACC.lib accompanied by sound “WAV” files from my own source code.
During the late 1990’s after the introduction of Windows XP my Borlandc compiler became outdated and I migrated to Linux operating system. This was primarily motivated by the high cost of the MS compiler as Linux offered a free GNU compiler which used the “C plus, C plus plus ” programming languages. During that period open source code in the Linux environment provided the opportunity to develop picture display devices and a MP3 player. MP3 was a newly emerging technology which I felt was going to revolutionize the way we listen to music. I started encoding my Jazz collection to MP3 and this has become an ongoing activity, which continues to this day. We no longer encode and save the raw .wav files for archival.
In recent years I have concentrated my programming on multi media software for home theater systems (HTPC) creating 1080p programs that operate with various control devices (IR, RC, Keyboard, Mouse, Speech Commands). I also like writing software for every day tasks which I can custom design to my needs.
Programming C#
In the fall of 2004 the NYS Museum made a request of me to update the NE Fern Program for the new versions of Windows and my son who is also a programmer convinced me that I should set up a machine with Windows XP and the Studio .NET compiler. I had resisted this because of the costs involved in both hardware and software but I finally gave in buying a new machine, XP, and a compiler. I wrote a few command line programs with the compiler but soon discovered that to derive maximum benefit from this new system it would be necessary to adopt the C# programming language.
C# is a language dedicated to the Windows operating system and it greatly simplifies writing programs to do multi-media. The first project was a rewrite of the "Fern Identification Program".
Now in the past twelve years I have written over 100 programs in C# many of which are for display and processing of images, video, and sound. That effort continues to date.
I have now written many pieces of software in C#. For complete list see my downloads page: