Opening CP/M files (.asm/.bas)

From: gpine_at_gri.org <(gpine_at_gri.org)>
Date: Wed Apr 26 11:35:00 2000

It's been a long time since I used my Apple II with CP/M, but I'll give you the
dubious benefit of my decaying knowledge of the subject.

First, I don't see anything obviously wrong with what you're doing to try to run
the basic program. I don't remember the exact syntax, but I assume that you've
got that correct from the MBasic book.

As far as the ASM files are concerned, you should be able to use your EDIT
program, which should be on your CP/M boot disk to look at the files in a
somewhat more leisurely manner that allowed by using TYPE. For that matter, any
editor that you may have that can display ASCII files (Wordstar in the
"non-document" mode, for example) can be used to examine the files. I don't
know what assembler you have with the Apple CP/M disks, but you should have at
least ASM, the 8080 assembler, and perhaps M80 as well. I'm not an assembly
language programmer, but if you can find an old reference on assembly language
programming under CP/M, it should tell you the steps necessary to compile, link
(to libraries), and run the programs. You may even already have the executable
files ready to run. Look on the disk for a file with the same name as for the
ASM files, but with a .com extension.

I hope this helps get you started.





"Ernest" <ernestls_at_home.com> on 04/26/2000 11:08:32 AM

Please respond to classiccmp_at_classiccmp.org

To: classiccmp_at_classiccmp.org
cc: (bcc: Gerald Pine/GRI)
Subject: Opening CP/M files (.asm/.bas)



I have an Apple II with a Z80 card, and lots of CP/M disks for it but I'm
having a problem opening the .ASM and .BAS files. I thumbed through a book
on both Mbasic and CP/M but neither of these books clearly describe how to
work with these files.

The Mbasic books says to open Mbasic, and at the "OK" prompt type RUN
"B:MAINT.BAS" (for example)but when I do that, it gives me a "Direct
Statement in file" message, and then it goes back to the "OK" prompt.

I don't have a clue how to work with the .ASM files -like SUPRTRK3.ASM or
BLKFRI2.ASM. I can see that they are games by typing TYPE SUPRTRK3.ASM but
the text flies by so fast that I can't see much else.

I have a lot of disks that have nothing but .BAS and .ASM files so any help
that you can give me would be appreciated.

Also, I have one disk that has a single large file called PILOTA.LST. What
do I do with that?

Thanks for your help.

Ernest
Received on Wed Apr 26 2000 - 11:35:00 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:32:42 BST