Re: Auto Boot

From: Spiro Trikaliotis <ml-cbmhackers_at_trikaliotis.net>
Date: Sat, 6 Apr 2013 20:13:41 +0200
Message-ID: <20130406181341.GF30300@trikaliotis.net>
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>
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
Received on 2013-04-06 19:00:04

Archive generated by hypermail 2.2.0.