Showing posts with label abandonware. Show all posts
Showing posts with label abandonware. Show all posts

Monday, May 25, 2020

FreeDOS I16GCC vs WATCOM-C

This post, referring to two very different C-compilers, feels a little unfair. However, we are not comparing a commercial product with a hobbyist product eihter.

On my low powered ACER Aspire ONE I compiled the program listed below with both compilers...
No, I am not writing about the result, I want to encourage you to find out yourself which compiler will suite your needs.

Here is the code of my test program:

#include <stdio.h>
#include <stdlib.h>
int main(void)
{
  unsigned long int i,h[20];
  int rnd;
  srand(43558);
  for (i=0;h[i]=0,i<19;i++);
  for (i=0; i<10000000; i++){
    rnd=rand()%20;
    h[rnd]++;
    if(i%10000==0)printf(".");
  }
  printf("\n");
  for(i=0;printf("count of [%02ld] is %ld\n",i,h[i]),i<19;i++);
  return 0;
}

As you see, this is very simple code...
Test the compilers yourself, and you will see which one wins...


Tuesday, May 12, 2020

As-Easy-As spreadsheet legally for free

One of the most popular office tools are certainly spreadsheet calculators.
Lotus 1-2-3 was certainly one of the most popular programs. Some versions of 1-2-3 are apparently available as abandonware, maybe I will some of those later.
There were, however, alternatives programs to Lotus 1-2-3. One of the shareware options was As-Easy-As.

The owner of As-Easy-As, TRIUS Inc., decided to release the DOS version of their spreadsheet by providing the necessary codes.
Here is a link to TRIUS Inc's very own forum post on their forum page, providing downloads for the program and the user manual, as well as license codes for the DOS version of As-Easy-As and the respective documentation for free!

Please note that the codes for the program and the manual are different.


Monday, May 11, 2020

MS WORD for DOS

Having a word processor on your FreeDOS machine is certainly a very important issue. Former DOS users might still have a box of floppies containing once purchased programs.

In case you are not so lucky, or you could not be bothered keeping obsolete stuff, sometimes on get lucky, very lucky indeed.

Searching the internet about ways to legally obtain old DOS programs, here is a gem: MS WORD directly from Microsoft:
http://download.microsoft.com/download/word97win/Wd55_be/97/WIN98/EN-US/Wd55_ben.exe

The file is a PKSFX archive which self-extracts to the active directory. It creates a bunch of EX$, CS$, PR$ and so forth files. Some of the printer driver files appear to have long names, since I am not running DOSLFN.COM, I got a few warnings.

SETUP.EXE lets you install Microsoft Word 5.5A for DOS on your HDD in a directory of your liking. Nothing to report about that process, other than to manually edit the PATH settings in FDAUTO.BAT yourself, since the installer modifies AUTOEXEC.BAT, which is not relevant in FreeDOS.

Text and VGA modes work perfectly fine. Playing with both, I settled on using the graphics mode with 30 lines and 80 columns. 34 lines looked still OK on the screen, so maybe I will switch to that later. 43 lines looks pretty painful and 60 lines, while still working fine, feels pretty squeezed and unnatural.

Concerning printing, I mentioned the problem with the long file names before. I no longer have any of those printers. In order to have something for WORD to think about concerning fonts, I chose the POSTSCRIPT driver.
However, printing is not my main objective using the netbook on FreeDOS. I will create files, e.g. DOC, which will then be transferred to the cloud and used as such. Another option would be to write Postscript files and convert those in PDF.



Saturday, May 9, 2020

Hardware to run FreeDOS

In my earlier post, I stated that I intended to run FreeDOS directly on bare hardware, meaning, without virtualization.

Using the FreeDOS 1.3 Live CD, I tried a different systems at my disposal. Most modern ones failed, one way or the other.

An IBM 380Z laptop booted the CD fine, however, only the center of the screen was used. The system would work, however, the experience would be disappointing since the real estate of the screen is severely underused. The mouse-nipple, or however the red thing in the middle of the keyboard is called, worked find under FreeDOS.

My HP/Compaq nx6110 booted the live CD fine, screen fully used. The touchpad did what it was supposed to do, right away. This could be the perfect candidate for running FreeDOS on bare silicon. However, this laptop is my goto-PC for Debian/LINUX. So, for now. FreeDOS will live in qemu on this one.

Actually, the first hardware I tried FreeDOS on was one of my Acer ASPIRE ONE 110 netbooks. One that I had given an HDD years ago. Here is a link to a post on my RF related blog, concerning the HDD in the Aspire ONE netbook. To the time, I had not thought about an IT related blog, so, it was called "off-topic", seen the radio-frequency electronics content of my other blog.

Here is the netbook during the install of OpenWatcom FORTRAN on FreeDOS.
Acer ASPIRE ONE 110
The install files are on the USB thumb-drive on the right hand side of the netbook.
While the device is equipped with Ethernet, I had not set up or tested networking by the time of writing this post.
The touchpad on the Acer does not work with FreeDOS yet. I tried various options with the USB-mouse-driver, all of the attempts ended in crashes.

As a pure DOS computer, the netbook does a great job.
Several programming languages are available, through the FreeDOS-CD and also by installation using the USB thumb-drive and a USB floppy drive.
My old DOS version of Maple V runs just fine and so does a MathCAD student edition I happen to own.

Unfortunately, the Aspire ONE does is not fully supported in FreeDOS what APM is concerned. However, dictating processor speed does work fine.
I created the following aliases in fdauto.bat

alias slow=fdapm speed1
alias fast=fdapm speed8

Those commands set the processor speed to 1/8 and 8/8 (full) processor speed. In the case of the Aspire ONE, the native processor speed is 1.6GHz. Running the netbook at 1/8th of that, will still deliver a very decent 200MHz. This is plenty of fast for a DOS computer.

In fact, when editing code, I set my netbook to run at lowest speed. Only when I compile and run my programs, I will ramp the CPU up to max.

In conclusion, the Acer ASPIRE ONE 110 is the perfect DOS machine, I never was able to dream about.
In my nest post, I will compare the ASPIRE ONE to machines of that past, which I still own today.


Thursday, May 7, 2020

Taking every day computing a step back

Due to the present situation, a lot of my own professional use of computer is vastly reduced. Presently, there is not need and apparently no funds left for my clients to order polished illustrated reports nicely presented in PDF files.
So, that gives me the opportunity to reflect on how I did my personal computing in the eighties and nineties. At that time, computer mice were around, however, nobody really knew what to do with them, even CAD was done with console input. Many of the structures and devices designed that way are still standing and/or in operation.

Back in the day, I used an 8088 with two 5in floppy drives.
Later, I was able to buy a no-name 286/287 based PC with a 20MB hard-drive. OS of the time was MS-DOS, I believe it was version 4.01, not sure about that.
Remember those time? You switched the PC on and seconds later, you could start with your work.

Latest advances in the FreeDOS project got me back to those times. Jim Hall started the project in 1994 and still keeps improving this opensource MS-DOS compatible OS.
Some hardware support of modern hardware is present already.
While FreeDOS can run in a virtual machine, I am personally more interested in running a native DOS PC.

Why DOS, you might ask yourself. One reason I mentioned above already. But, there are additional reasons such as

  • easy administration and programming
  • tons of old freeware and shareware available
  • abandonware
  • some commercial software being turned into freeware, e.g. OpenWatcom and Borland compilers
  • one or the other software one has bought back in the day
In the next post, I will write about my first steps using mondern-ish hardware with FreeDOS.