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.



Sunday, May 10, 2020

Running FreeDOS in QEMU

As indicated before, I also have a Debian 8 latop, which is perfectly fine for my daily tasks, and hence, I do not have the desire to discard the Linux running on it, in particular since everything, including WLAN is running perfectly on this hardware.
This latop, a HP/Compaq nx6110, was also able to run the FreeDOS live-CD.

Anyway, I installed FreeDOS on a virtual drive on this particular computer. Again, the hardware, i.e. keyboard, is just perfect for my regular use under Linux.

When installing the FreeDOS image, I encountered some minor problems getting the networking to up and running. Finally, I ended up with a script as follows:

#!/bin/bash
qemu-system-i386 -m 32M -drive file=drivec.img,media=disk,format=raw -net nic,model=pcnet -net user


With this script, I am able to browse the internet using Lynx. I am pretty sure that I will be able to use other network services too.

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.



Tuesday, July 30, 2019

Connecting JBL Flip 4 Speaker to a Chromebook

If you follow my other blog, you might know that I lately obtained a pair of JBL Flip 4 speakers. There were a few drivers behind that decision, first of all the sublime sound quality and secondly that a pair can form a stereo pair. While that was all find with my phone, my Chromebooks, while connecting, had troubles accepting the devices as audio sinks.

For convenience, I gave those things names, as this is possible in the JBL Connect App on Android. Maybe that was the cause of all troubles, I don't know.
The speakers, while working fine, refused to present the settings option on the JBL Connect App at some stage. Also, it turned out to be a hit and miss game when connecting the speakers up into a stereo pair.

So, I decided to reset the speakers to factory setting. This is done by pressing the "+" and "play" bottom, while the speaker is powered on, until the speaker powers off.
Of course, this removed my fancy naming scheme. Well, so be it!

As a result, the speakers are now recognized by my Chromebooks.
So, If you have trouble connecting your JBL speaker to a Chromebook, you might want to try to reset your speaker to factory settings.

As a side remark, you will still need your phone to setup stereo mode. Once that is done, you can connect with the Chromebook and enjoy a clean and neat stereo stage setup by really small Bluetooth speakers.


Saturday, May 18, 2019

Down Sizing My Computing

Most likely, I am not the only one who noticed that it is rarely a necessity to maintain high power computing equipment at home. For me, the last resort for this sort of demand would be video editing.
Most of my photo editing is done in the cloud by now, either by moving a finger across the screen of my phone of with the aid of Chromebooks.
While my Chromebooks do a great job, for some applications, I wished to have some other tools available.
So, after a longer struggle, I finally decided to "invest" in a Raspberry Pi. That decision came when I learned that there a at least 2 ways to boot the Pi from USB HDDs. Why is that important, I hear you thinking. Well, first of all I still got a bunch of spinning HDD in my scrap-box, and secondly, SD cards are certainly not the fastest medium in the world what read and write speeds are concerned, but they are the fastest storage medium in the world to wear out. Seen the RAM limitation of a Raspberry Pi, my regular use will heavily rely on swap, resulting in the foreseeable death of many SD cards in the near future.
While my Chromebooks wont be replaced any time soon, the FX-6100 and i7 4770k workstations will see a lot less work soon.
Presently there is a Pi 1 B+ and Pi 3 B+ in my possession.
My junk box further comprises a lot of old USB stuff, e.g. powered hubs, WiFi dongles, sound dongles, etc. So, there are a lot of options to build system around Raspberry Pi boards by recycling obsolete stuff. How exciting!

The Pipe Dreams Driven by Tubes

Dear reader,

please accept my apologies for keeping you in suspense over my latest projects for so long. 2017 was a very intense year for me. During said year, I changed my day-jobs twice, so, the radio hobby and the audio hobby had to take a break. Concerning jobs, I believe to have finally found the position of my dreams with a lot a really nice people in the company... I believe I have never been happier before!
Anyway, this is not about life, this is about driving tubes, PVC that is, with tubes, such as in vacuum.

My pipe dreams, as you know, are employing 3W (8Ohms) broadband drivers, which came with a super-cheap set. By now, I am convinced that those drivers were the most valuable part in the entire kit.

In search for a 2 x 3W class A amplifier, I came across a Chinese kit supplier (Douk Audio, cf. ebay), who sells single-ended class A amp kits based on 6N1 and 6P1 tubes. Said kits are comparably inexpensive and, while provide good quality parts, come without a mains-transformer.

My choice of mains transformer fell on a 100W transformer offered by a supplier in the UK, search for "big.daddy!" on ebay.

The combo works as a charm! The amplifier kit seems to be made for my pipe dreams.

As an audio source, I am presently using a professional grade table top DJ CD player by Numark.
In the future I consider to add a passive equalizer / tone control circuit to the setup in order to allow for compensating deficits from compressed digital audio formats. For now, I am pretty pleased with the raw performance from CDs.