--
Jason Dyer - jd...@indirect.com
> Choose to edit the file and carry on going until you hit [slot 6] where
> the floppy drive setup is. The two disk images used are entered under
> A= and B=. Unfortunately there is no way short of multitasking to
> change the disk images after loading,
> so you can only run two-disk programs.
Well, here are a coupla tips that might help. I rummaged through my
closet until I found my trusty ol' _Apple ][ The DOS Manual_ ( (c) 1980
by Apple Computer, Inc.) complete with instructions for swapping out the
PROMS on your drive controller to upgrade it from 13-sector to
16-sector. Ahh, the days of open architecture! But I digress...
First of all, just because the default APPLE.INI file contains nothing
useful for the other slots doesn't mean you can't make use of 'em. You
can easily hang a disk drive off slot 5, and I can't see why you can't
add another pair from other slots. Then just CATALOG Sx,Dy to get the
right slot/drive catalog (yup, here it says you can have a fifth and
sixth drive, "... and so on.")
Now, by default Apple will boot from S6D1. Once there, however, you can
force it to boot from another drive with the command PR#x where x is the
slot; of course only disk 1 will boot from that slot. Still, it means
you can have controllers in slots 4-7 and use S6D1 for a standard DOS
master, and then boot different games from different slots.
I had to look up that PR#6 stunt: All I remembered was the machine
language monitor hack (type CALL -151 from the Applesoft prompt and
you'll find yourself at the machine language prompt) of typing 6 then
ctrl-P {ENTER} to boot from slot 6.
This manual is a wealth of history: "A single diskette can hold over
1,146,000 bits of information." (that's about 143K). Everybody here
remember using disks that small?
As someone mentioned earlier, programs saved as Applesoft (BASIC) can be
run with the RUN programname (or RUN programname,Sx,Dy, where x is the
optional slot # and d is the optional drive #) and programs saved as
binary can be run with the BRUN command. Do a CATALOG of the disk in
question and look for an "A" (or, rarely, "I" for Integer BASIC) or a "B"
at the leftmost part of the catalog listing. If the file name has an
asterisk between the language flag and the filename, that's the read-only
indicator. For whatever that's worth.
Also, the manual notes that there is no way to tell which is the startup
(autoexec, if you will) program; the INIT command stores DOS on a
diskette and saves whatever program is currently in memory as the startup
program. And while I'm on the subject of quirks, any and all ASCII codes
are valid as filenames, which means that sneaky programmers may very well
have saved files with hidden control-code characters embedded.
Hmmmm. On a whim, I tried storing extra language cards to other slots to
see if it would buy me more memory. No chance...
On the other hand, is there any reason we couldn't take the typical disk
image, multiply it by 10 or 20 meg, and get a PRODOS-formattable hard disk?
pbs, having serious Applesoft flashbacks
That was 63K bigger than the 80K standard of that time for 5.25 (on CP/M boxes
mostly), due to the clever GCR coding. Yes, I remember using 80K disks.
--
==========================================
Jean-Marc Tanzi - <j...@cma.cma.fr >
I still can remember 3 more commands, that worked in DOS 3.2 and DOS 3.3.
They worked on Text-Files:
EXEC <filename>[,S<slot>][,D<drive>]
This one read the contents of a text file (remember: the letter for a text
file was 'T') and interpreted the contents of the file as if the text was
typed in on the keyboard. This worked in Integer-Basic as well as in
Applesoft-Basic.
This command can be used to do something like a batch-program. If you have
for example a text file named "DO IT" with the following contents:
NEW
10 HOME
20 PRINT "HELLO, WORLD"
30 END
RUN
SAVE HELLO WORLD
RENAME HELLO WORLD,HELLO APPLE
and then type "EXEC DO IT" (while being in Applesoft-Basic), every program
in memory will be deleted (NEW), a new program is typed in (just as if you
typed the lines on your keyboard), the program is run (which should produce
the line 'HELLO, WORLD' to be written to screen), it is saved to disk with
the name "HELLO WORLD" and after that the name is changed to "HELLO APPLE".
(It is an other problem to produce such a textfile!)
This will also work in Integer-Basic, but the program won't run. (The
command
HOME doesn't exist in Integer-Basic. I think you have to use a "CALL
...."!)
On the DOS 3.2 Master Disk there was a nice example of this command. I think
it was called "DO'ER" or so.doesn't run in integer
MON [C][I][O]
NOMON [C][I][O]
These commands turn on/off the monitoring of text file operations.
Monitoring
means, that the textual information of every read or write operation
to a text
file is also written to the screen.
There are three types of monitoring:
C command monitoring Dumps everything read by an EXEC-Command
to screen
I input monitoring Dumps everything read from a text file
to screen
(but not which is read by EXEC)
O output monitoring Dumps everything written to a text file
to screen
So use "MON C" to turn command monitoring on, "NOMON C" to turn it off,
"MON CIO" to turn all of them on etc.
"MON C" and "NOMON C" have a similar function as "echo on" and "echo
off" in
MS-DOS.
If you used "MON C" before typing "EXEC DO IT" in the example above, every
line of the textfile would have been dumped to the screen before interpreta-
tion. Using "NOMON C" instead, would show nothing on the screen but 'HELLO
WORLD', that is printed by the BASIC program.
The combination of these three commands can help you to have a quick
(and dirty)
dump of a text file: Simply type "MON CIO" and after that "EXEC
<filename>". If
the text file contains a normal text, this will produce a lot of beeps
and
"SYNTAX ERROR" messages, because the text is no valid
Applesoft-BASIC-Program,
but you will have a glance at the text file.
I think I read this tricky tip in "Apple ][ The DOS Manual". It was a
very funny
manual. I remember it said: "A floppy disk can store the information for
a long
time, unless you play frisbee with it or the dog bites it!" (I don't
know what
it sounds exactly).
Does anyone else remember any jokes in the manual?
And the original Apple II disks weren't even that large -- they used 13
instead of 16 sectors per track, which means they were able to hold only
108K of data. The 143K disks were introduced with the Apple Pascal system
and later included in DOS 3.3.
But expressing the data size in bits may of course look more impressive
to some. Why not use milli-bits or micro-bits instead? Suppose we had
that 80K standard 5.25" disk, then we could say:
"This disk holds 80,000,000,000,000 nano-bits of information"
:-)