[Coco] Coco BASIC files
arikboke at yahoo.com
arikboke at yahoo.com
Fri Dec 19 05:40:45 EST 2003
William,
--- Willard Goosey <goosey at virgo.sdc.org> wrote:
(snip)
> You may have end-of-line problems. Both Color BASIC and OS-9 use
> carriage return, control-m, ascii $0D, as EOL. DOS/Windoze uses
> linefeed and carriage return, ^j^m as EOL. If your ASCII BASIC got
> saved as a DOS text file at some point, this would be a problem. If it
> got saved on a UNIX box, you've got real trouble, 'cause they use bare
> linefeeds.
Ah, I see.
> The other thing I can think of is that BASIC needs the ASCII/Binary
> flag and the file type set correctly. Tokenized BASIC should be type
> 0, binary. ASCII BASIC can be type 0 or 3, ASCII. Type 1, BASIC
> data, may also work.
> For reference:
> 0 BASIC program
> 1 BASIC data file
> 2 machine-language file
> 3 text file
How would I set the flags on the BASIC files in question? Do I need I hex
editor?
Sincerely,
David
More information about the Coco
mailing list