[net.micro.cbm] [wrong] Answer: I/O to 1541 and BASIC tokens

lenoil@mit-eddie.UUCP (Robert Scott Lenoil) (12/15/84)

> 3. Disk drive channels 0 and 1 are used by kernel when load or save
>    operations are called for. There is no real reason not to use them in your
>    programs unless your program calls for one of those operations (except
>    that it is usually advisable to respect your OS and not use something that
>    it reserves for itself - especially if you can just as easily avoid doing
>    so). This is mostly useful in machine language applications wher calls to
>    kernel's LOADRAM and SAVERAM might be common.
> 
>                                              - Jeff Rosenfeld,
>                                                jdr@cmu-cs-speech2.ARPA.

This is NOT true.  There IS a significance to secondary addresses 0 and 1.
I have seen it when writing a routine to read the directory off the disk by
opening 1,8,0,"$0".  This does act differently if I use a different secondary
address.  Perhaps someone with a copy of "Inside Commodore DOS" could look
this up and provide a (correct) answer as to the specific differences when
using secondary addresses 0 and 1.

Robert Lenoil
USENET: {ihnp4,decvax!genrad,godot,harvard}!mit-eddie!lenoil
ARPANET: lenoil@mit-xx.arpa

mrr@rayssd.UUCP (12/19/84)

It is my understanding that channels 0/1 load/save the directory
in program image format (implying some conversion by DOS) rather than passing
the binary image (which contains more information but requires more
formatting by the application).

Mark Rinfret
SofTech, Inc.