Hi Brian,
For starters, the floppy disk drives are called 0 and 1
(rather than A and B like in MS-DOS or MS-Windows).
(a) To get a directory listing of disk 0
DIR 0
(b) To get a directory listing of disk 1
DIR 1
(c) To run a BASIC program "XXXX.BAS" in drive 0
RUN "0:XXXX.BAS"
Don't forget the quote marks around the file.
(d) To load a BASIC program "YYYY.BAS" in drive 1,
without running it at the same time
LOAD "1:YYYY.BAS"
(e) To run a machine language program "ZZZZ.BIN" on drive 2
(if you use 3 floppy disk drives, the third one is drive 2)
LOADM "2:ZZZZ.BIN" : EXEC
Cheers,
Ralph.
--
Please reply to the newsgroup. That is why it exists.
For e-mail address: replace repeated letters (like "aaabbbcccxxxyyyzzz")
with single letters (like "abcxyz").
The complete filespec is FILENAME/EXT:D for the various Tandy DOSes,
including Color Disk BASIC, where D is the drivespec (0 through 3
can be installed.)
>
> (a) To get a directory listing of disk 0
>
> DIR 0
>
> (b) To get a directory listing of disk 1
>
> DIR 1
>
> (c) To run a BASIC program "XXXX.BAS" in drive 0
>
> RUN "0:XXXX.BAS"
RUN "XXXX/BAS:0"
> Don't forget the quote marks around the file.
>
> (d) To load a BASIC program "YYYY.BAS" in drive 1,
> without running it at the same time
>
> LOAD "1:YYYY.BAS"
LOAD "YYYY/BAS:1"
>
> (e) To run a machine language program "ZZZZ.BIN" on drive 2
> (if you use 3 floppy disk drives, the third one is drive 2)
>
> LOADM "2:ZZZZ.BIN" : EXEC
LOADM "ZZZZ/BAS:2":EXEC
> The complete filespec is
The CoCo will accept _ANY_ of the following file specifications...
"0:FILE.EXT" -- similar to MS-DOS
"0:FILE/EXT"
"FILE.EXT:0"
"FILE/EXT:0" -- like Z80-based TRS-DOS
> > RUN "0:XXXX.BAS"
>
> RUN "XXXX/BAS:0"
_BOTH_ will work on the CoCo.
It makes sense when you remember that CoCo Disk BASIC was written
by Microsoft. As a result, ...
1. The disk system supports file specifications similar to MS-DOS,
as well as the Z80-based TRS-DOS style.
2. The CoCo disk format uses a FAT (File Allocation Table) more
similar to MS-DOS than to the Z80-based TRS-DOSes.