Re: Auto Boot

From: William Levak <wlevak_at_SDF.ORG>
Date: Sun, 7 Apr 2013 03:59:22 +0000 (UTC)
Message-ID: <Pine.NEB.4.64.1304070358450.10906@sdf.lonestar.org>
On Sat, 6 Apr 2013, Spiro Trikaliotis wrote:

> Hello,
>
> * On Sat, Apr 06, 2013 at 09:45:23AM +0000 William Levak wrote:
>> On Fri, 5 Apr 2013, silverdr@wfmh.org.pl wrote:
>
>>>> 0:* is NOT always the first file.  It's the last file referenced.  It's the first file only if the drive has not referenced a file previously.
>>>>
>>>> 0:?* always gives the first file.
>>>
>>> Can you back this claim up with something?
>>
>> Just try it.  Load a file that is not the first one on the disk, and
>> then try the both commands.
>
> <insert empty disk"
> oPEN 1,8,15,"N0:TEST,00":CLOSE1
> NEW
> 10 PRINT"FILE1"
> SAVE "FILE1",8
> 10 PRINT"FILE2"
> SAVE "FILE2",8
> <reset>

Eliminate the reset and try it again.

> lOAD"*",8
> RUN
> --> output: FILE1
> LOAD"FILE2",8
> RUN
> --> output: FILE2
> LOAD"*",8
> --> output: FILE2
> LOAD":*",8
> --> output: FILE1
>
> Tested with 1541 (with -05 ROM).
>
> Now, have YOU tested it?
>
> Ingo Korb is absolutely correct: The special behaviour of "*" is
> hard-coded into the drive, it is a special test for exactly this one
> case.
>
> Regards,
> Spiro.
>
> -- 
> Spiro R. Trikaliotis
> http://www.trikaliotis.net/
>
>       Message was sent through the cbm-hackers mailing list
>

wlevak@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

       Message was sent through the cbm-hackers mailing list
Received on 2013-04-07 06:00:12

Archive generated by hypermail 2.2.0.