ED-IT for the Model 4
Advertisement for ED-IT from the September 1991 issue of Computer News 80
There were many capable editors for the Model 4. Most Z80 assembler packages included their own editors (ALEDIT in ALDS and SAID in MRAS were notable examples). The LS-DOS 6.3 operating system even included a simple text editor named TED/CMD.
But ED-IT contains many useful features for programmers and is suitable for use with multiple programming languages or simple word processing. Despite its many features, it has one of the largest text buffers of any Model 4 editor.1 As Harold J. Hendriks wrote in the January 1996 issue of Computer News 80:
ED-IT is the CHAMP when it comes to editing large files. It can accept, load and edit ASCII text files up to 47K in size.
Especially when combined with the command line editing utilities CMDEDIT and CMDSTORE (which were available separately in Mark Reed’s Model 4 Utility Disk), ED-IT made Model 4 programming a pleasure. In my opinion, it is the best text editor ever written for the Model 4.2 As David Goben wrote in his June 1993 review in Computer News 80:
If you do ANY file editing, you are wasting your time if you are not using ED-IT. This is a professional class program that is beyond any other text editor I have ever used. I can even use it as a mini word processor, as I am right now as I write this review. I also use it exclusively for building all my JCL, assembly, and C programs. This is a definite “must have”.
ED-IT has four different modes for different types of source files:
- ASM mode: This uses a tab interval of 8, all instructions are automatically uppercased upon save3, and the default file extension is /ASM. This is suitable for an assembler such as MRAS.
- BAS mode: This uses a tab interval of 4, all text is automatically uppercased upon save, and the default file extension is /BAS. This is suitable for a BASIC compiler such as EnhComp.
- C mode: This uses a tab interval of 4 and the default file extension is /CCC. This is suitable for a C compiler such as MC or David Goben’s Small-C.
- Text mode: This uses a tab interval of 8 and turns on word-wrap. This is suitable for normal text editing.
The different editing modes can be selected either from the command line or within ED-IT. The individual parameters, such as tab interval, can be changed independently from the menus.
One of the most distinctive features of ED-IT is its menuing system. The normal ED-IT screen displays just the text being edited. Pressing the BREAK key activates the ED-IT main menu, which displays on the bottom line of the screen. Commands are activated by pressing the first letter of the command. For example, the main menu is:
File Block Search Print Other Quit
Pressing the F key will display the File menu on the bottom line. The File menu has further commands:
Load Save New
This makes it easy to use ED-IT without referring to the manual.
ED-IT also makes the best use of the Model 4 function keys of any editor I have tried:
- F1 inserts a tab character
- F2 deletes the character to the right of the cursor
- F3 toggles insert and overtype mode
Version 1.1 of ED-IT (released July 22, 1991) added printing support. ED-IT can print the current file with control of margins, headers, and footers. This is useful for printing out program listings.
One nice feature of ED-IT is the ability to insert arbitrary character values into a file by pressing CONTROL+C followed by the decimal value of the character. For example:
CONTROL+C, followed by 1, followed by 9, followed by 1
will insert the character corresponding to decimal 191 into the file.
Another nice feature is the ability to shell to LS-DOS to run a command. Unlike similar commands in some other programs, ED-IT temporarily saves itself in high memory to allow as much memory for the running program as possible.
As David Goben wrote in his review:
A person may wonder why they should go out and buy another editor when LS-DOS comes supplied with TED, which at first seems to be an adequate text editor. To understand why, just use ED-IT once, and the next DOS command you will enter will be REMOVE TED/CMD.
I used (and still use) ED-IT for all of my Model 4 development.
This is especially impressive when you consider that ED-IT runs on a 64K system with the operating system in memory. ↩︎
Some might question my impartiality because the author is my brother, but I stand by my assessment. ↩︎
This is useful because most Model 4 assemblers, such as MRAS, require instructions to be uppercased. You can program in lowercase and let ED-IT uppercase everything except comments and quoted strings. ↩︎