- 30 -
Interchange Program) allows copying of files on the same disk, between disks,
between devices, between devices and disks, etc.
The program “SURVEY” displays information about the system including memory
usage, I/O port usage and disk space. The program “WM” (Word Master) is an
easy to use full-screen text editor. The program “LADDER” is a precursor to
games like “Super-Mario.”
The program “MBASIC” is Microsoft BASIC-80 Version 5.21. ASM and MAC are as-
semblers from Digital Research, Inc. (the author of CP/M). M80 and L80 are
Microsoft’s 8080 assembler and linker.
Assembling and Running Programs
The CP/M disk used in this demonstration has very little free space available
for program development. You can create a more useful development disk by de-
leting the files that aren’t required. For example, here is a directory list-
ing of a disk tailored to use the ASM and MAC assemblers. This disk leaves
204K bytes available for program development.
A>LS
Name Ext Bytes Name Ext Bytes Name Ext Bytes Name Ext Bytes
ASM COM 8K | LS COM 4K | PIP COM 8K | WM COM 12K
DDT COM 6K | MAC COM 12K | STAT COM 6K | WM HLP 4K
DUMP COM 2K | NSWP COM 12K | SUBMIT COM 4K | XSUB COM 2K
FORMAT COM 2K | PCGET COM 2K | SURVEY COM 2K
LOAD COM 2K | PCPUT COM 2K | VIEW COM 2K
18 File(s), occupying 92K of 296K total capacity
46 directory entries and 204K bytes remain on A:
A>
The programs PCGET and PCPUT make it easy to transfer files from a PC into
CP/M (PCGET) and from CP/M to a PC (PCPUT). For example, you might start with
a program source file found on the internet, then use a Windows program like
“notepad” to edit the file. When ready to assemble the program, use PCGET on
the Altair to move the source file from the PC to the Altair, then assemble
the program using ASM. Repeat the edit and transfer cycle until the program
works as required. PCPUT can then be used, for example, to save the program
listing and/or executable file back to the PC.
You can archive an image of the floppy you’ve created back to your PC if de-
sired. See “Save Floppy Content to PC” in the “Floppy Disk Menu” section of
Part 2, “Configuration Monitor”
More Information
These examples just begin to scratch the surface of the huge collection of
CP/M software that is available. Large repositories of CP/M software are
available on the internet. For further reading, start with the CP/M manual
(“CPM 22 Manual.pdf”) in the “Altair Manuals” directory.
Содержание 8800 Clone
Страница 1: ......