Re: Auto boot and Device #8 and new ideas

From: silverdr_at_wfmh.org.pl
Date: Mon, 8 Apr 2013 15:20:11 +0200
Message-Id: <7E034FF7-9822-4A11-93A7-C03FCB34523C@wfmh.org.pl>
On 2013-04-08, at 14:58, Ted wrote:

> OK, I set the default load device to 8. This gave me 2 more bytes to use the file name "0:?*"

Really "0:?*"? :-) I see you wanted to make William happy at the cost of an extra byte ;-)

> I think the next thing should be a 'key combo' that will sys48979, to the autoboot routine without having to power of and on the machine.
> Any suggestions on the key combo, maybe 'CONTROL' & some other key.

I think, I'd go the "Apple way" and use a single letter for boot options. They e.g. use 'c' on boot for booting off an optical drive (presumably because some time ago it was only C[D-ROM] drive). And other single letter combinations for other boot options.

Why not use a single letter or digit (for device #)? How about '8' for booting off drive #8? Or 'b' for autoBoot?


> I was also thinking... Instead of command error, (?SYNTAX  ERROR), attempt to load and run the file from disk, if not found then,  goto ?syntax error.
> This would make the BASIC interpreter a DOS like command processor.

I am not sure if I understand this.. Do you want to display "?SYNTAX  ERROR" when the boot fails? I don't think this to be good idea. I think I'd rather use KERNAL message like I/O ERROR #x. This would clearly distinguish boot errors from BASIC errors. Besides - I believe KERNAL can do it by itself with proper MSGFLG setting.

-- 
SD!
       Message was sent through the cbm-hackers mailing list
Received on 2013-04-08 14:00:14

Archive generated by hypermail 2.2.0.