Re: Auto Boot

From: William Levak <wlevak_at_SDF.ORG>
Date: Fri, 5 Apr 2013 18:00:14 +0000 (UTC)
Message-ID: <Pine.NEB.4.64.1304051756550.28213@sdf.lonestar.org>
On Fri, 5 Apr 2013, Spiro Trikaliotis wrote:

> Hello,
>
> * On Fri, Apr 05, 2013 at 05:42:36PM +0200 Anders Carlsson wrote:
>
>> Hm, doesn't the VIC-1540 have some rarely used feature with a USR
>> file named "&" that would automatically boot when turning on the
>> VIC-20?
>
> Unfortunately, it autoloads a file in the floppy drive, not in the
> computer.
>
> This autoboot-feature is there for the 1540 drive and early 1541 drives
> (the ROMs -01, -02 and -03) had this autoboot routine. Even the 2031
> drive had it.
>
> The routine is at $E77F (in the 1540 and 1541 drives), IIRC.
>
> However, this feature was removed with the -05 ROMs of the 1541; later
> drives like the 1541C, 1541-II, 1570 and 1571 do not have it, either.
>
>> I've never had the chance to try it myself, so it is very
>> hazy memories. Otherwise * as mentioned would load the first (1)
>> file from the floppy disk.
>>
>> (1) In case you just loaded a file, would * load the same file
>> again? Again I have very hazy memories of reading that, but I never
>> tried it as well.
>
> Exactly. That's why the file ":*" or "0:*" (which specifies exactly the
> same) is a better choice: This is always the first file.

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.  The pattern matching ? forces it to go 
back to the beginning of the directory to do the search.


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-05 19:00:03

Archive generated by hypermail 2.2.0.