Spotlight › Word

Microsoft Word, on an 8086

This is the latest slightly improbable addition to os8088: my own version of Microsoft Word 1.1a. It looks like 1990, saves Word .DOC files, and runs on a 4.77 MHz PC.

the program
43,177 bytes
saves
Word .DOC files
machine
4.77 MHz 8088
Microsoft Word
Microsoft Word open on the os8088 desktop, showing a welcome document with a centred heading, bold and italic text, an indented paragraph and a double-spaced paragraph. A ribbon and a ruler sit above the text and a status bar below it.
Yes, that really is Word 1.1a on os8088. The bold, italics, centred heading and indents are not painted into the screenshot. Save the file, open it again, and they all come back.

The story behind it

I wanted to see how much of 1990 Word I could make comfortable on a tiny old PC.

A familiar face from 1990

Word for Windows 1.1a came out in 1990, when Windows was still a fairly new sight on an office PC. It is recognisably Word, but small enough that you can still get your head around the whole thing.

Why I could not just copy it over

The original program needs Windows, and os8088 is a completely different operating system. There is nowhere for a Windows program to run here. So I wrote a new os8088 program, in assembly, that behaves like Word 1.1a.

I did not recreate it from hazy memories and screenshots. Microsoft shared the original source with the Computer History Museum in 2014, so I could use the real menus, dialogs and keyboard shortcuts as my guide. Even the wonderfully old-fashioned wording in the Sort box comes straight from the 1990 program.

The important distinction: this is my own program, made to look and behave like Word 1.1a and to read its files. It is not Microsoft's code recompiled, and it is not connected to Microsoft.

See it running

Here are a few of my favourite bits.

Page view
The same Word document in page view. The text now sits in a narrower centred column with the edges of the sheet drawn as vertical lines down either side, and the ruler has shrunk to match the column.
You can even see the page. Choose Page from the View menu and the document pulls into a six-inch-wide sheet, with the paper edges running down either side.
The View menu
Word's View menu pulled down. Draft has a tick beside it. Page, Ribbon, Ruler and Status Bar are available. Outline, Footnotes, Annotations, Field Codes and Preferences are greyed out.
The working parts are really working. Draft, Page, Ribbon, Ruler and Status Bar are ready to use. The grey entries are the bits I have not built.
Sort
Word's Sort dialog open over the document, with Sort Order set to Ascending, a Key Field section offering Alphanumeric, Numeric and Date, a separator choice of Comma or Tab, and Sort Column Only and Case Sensitive checkboxes.
Sorting a list, the 1990 way. Select a few paragraphs and Word will put them in order. The wording and layout of the box follow the original program.
The Word disk
The os8088 desktop with a file window open on drive B, listing a DOCS folder, WELCOME.DOC at 3,193 bytes, WORD.O88 at 43,177 bytes and WORD.OVL at 18 bytes.
Of course it comes on a floppy. You get the program, a welcome document to play with, and an empty DOCS folder for your own writing. Word is too large to squeeze onto the usual software disk.

How it fits on a machine this small

One tiny font and a handful of very 1990 tricks go a surprisingly long way.

One typeface

Eight dots by eight dots

os8088 has one font, in one size. Every letter has to fit into a little eight-by-eight square, which does not leave much room for a word processor to show off.

Luckily, Word 1.1a already knew how to live with screens like this. Plenty of PCs in 1990 had the same limitation.

Draft view

Clever little cheats

In Draft view, bold is just each letter drawn twice, one dot apart. Italics lean the same letters over, and underlining rules a line beneath them. It is simple, fast, and surprisingly convincing.

Best of all, these are the same tricks the original Word used on a plain screen.

The ruler

The ruler works, too

The top row has the formatting buttons and the bottom row is a ruler marked in inches. It begins and ends with the text on the page, just like you would expect.

Drag an indent marker and the paragraph follows along. That small detail is especially satisfying on a 4.77 MHz machine.

Two views

Write first, check the page later

Draft view uses the whole window, which is handy while you are writing. Page view lays everything out on the sheet, so you can see where each line will land.

A mark in the margin shows each page break. You can hop between the two views from the View menu.

The .DOC files are not just for show

I wanted the documents to be useful outside this little corner of 1990.

Making up a simple file format would have been much easier, but it would also have spoiled the fun. This version saves documents the way Word for Windows did, including the formatting and paragraph layout. It can also read and write RTF, which plenty of newer word processors still understand.

I checked this more than once

I was nervous enough about the file format that I wrote two separate tools to check it -- one writes a document and the other reads it back. They were built separately from Word, so when all three agree byte for byte it is a useful check. It has already caught four mistakes that looked perfectly fine on the screen.

One thing I have not tried yet: opening one of these files in an actual copy of Microsoft Word 1.1a. The format matches two separate readings of Microsoft's original description, but the old program itself is the test that really counts. If you give it a go, I would love to hear what happens.

What works, and what does not

There is enough here to write with, but it is not every last corner of Word 1.1a.

You will notice plenty of grey menu items: 57 out of 85, if you count them. They mostly fall into three groups:

  • Some are missing their supporting files. The dictionaries were not part of the source Microsoft shared, so spelling and the thesaurus have nothing to look words up in.
  • Some need things os8088 cannot do yet. Printing is the obvious one. No os8088 program can print right now, so Word cannot either.
  • Some are features I have not built. Tables, footnotes, headers and footers are the big ones.

Print Preview is grey as well. I could make the preview appear, but with no way to print the page it felt more honest to leave both commands switched off.

Two more things to know before writing your memoirs: Page view marks the end of each sheet in the margin instead of drawing a gap between pages. And if you open a document with headers, footers or footnotes, this version will neither show nor preserve them when you save.

Try it yourself

Word has a floppy of its own, as any 1990 word processor should.

  1. Grab the Word disk. It is on the download page -- word.img for a 1.44MB drive, or word360.img for the 360KB 5.25-inch kind used by older machines. If you are building from source instead, this makes all three sizes:

    make worddisk
  2. Put the Word disk in the second floppy drive, in place of the usual software disk, and start os8088. The included IBM XT and 386 setups do this for you -- make xt-word and make 386-word.

  3. Double-click the B: disk icon on the desktop to see what is on it.

  4. Double-click WELCOME.DOC. Word starts by itself and the document opens with all its formatting, just like the picture at the top of this page. Save your own masterpiece in the DOCS folder with File › Save As.

Why a separate floppy? Word takes 43,177 bytes. That is tiny now, but on a 360KB disk it would crowd out a good chunk of the other software.