Re: REL record length 42?

From: Hans Liss <Hans_at_Liss.pp.se>
Date: Sun, 24 Jan 2021 22:29:20 +0100
Message-ID: <49ca5c86-6b8e-2c55-98e4-1a00207a1218_at_Liss.pp.se>
It's definitely something to do with the filename scanning code at $C268 
(http://www.ffd2.com/fridge/docs/1541dis.html#C268).

I get the same error with chr$(63) = '?', in fact. And it works if I 
prepend "0:" to the filename in that case, as well.

/Hans

On 2021-01-24 22:19, Hans Liss wrote:
>
> Can you check if it works if you prepend "0:" to the file name?
>
>     open 2,8,2,"0:relfile,l,"+chr$(42)
>
> /Hans
>
> On 2021-01-24 20:55, Jim Brain wrote:
>>
>> Someone on Facebook just asked why creating a REL file with record 
>> length 42 generated a syntax error DOS error code, and I thought they 
>> must be putting in the command wrong.
>>
>> I tried it on real HW here (64/1541) and to my surprise, it fails.  
>> 41 and 43 work, but 42 (chr$(42) = '*', BTW) fails to create the file.
>>
>> Is this a known bug, or is there a better way to create a REL file (I 
>> used the 1541 manual's open 2,8,2,"relfile,l,"+chr$(42)) that does 
>> not cause the issue?
>>
>> Jim
>>
>> -- 
>> Jim Brain
>> brain_at_jbrain.com  
>> www.jbrain.com
Received on 2021-01-24 23:01:36

Archive generated by hypermail 2.3.0.