Auto boot and Device #8 and new ideas

From: Ted <ejohnson.ed_at_gmail.com>
Date: Mon, 08 Apr 2013 08:58:06 -0400
Message-ID: <5162BEDE.20008@gmail.com>
OK, I set the default load device to 8. This gave me 2 more bytes to use 
the file name "0:?*"


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 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.


So far I have made and published these mods.
; CS00005 - CHANGE DEFAULT BOOT DEVICE TO 8
; CS00004 - RUN AUTOBOOT CODE AT RESET
; CS00003 - ADDED AUTO BOOT CODE TO BOOT FILE NAMED BOOT - SYS 48979
; CS00002 - CHANGE BASIC VERSION NUMBER DISPLAYED
; CS00001 - USE WHITE AS THE DEFAULT TEXT COLOR, EASIER TO READ.


; SET PARAMETERS FOR LOAD/VERIFY/SAVE
LE1D4:  LDA     #$00                            ; E1D4 A9 
00                    ..
         JSR     LFFBD                           ; E1D6 20 BD 
FF                  ..
.IF (CS00005 || CS99999)
         LDX     #$08      ; USE DEVICE #8 AS DEFAULT
.ELSE
         LDX     #$01                            ; E1D9 A2 
01                    ..
.ENDIF
         LDY     #$00                            ; E1DB A0 
00                    ..
         JSR     LFFBA                           ; E1DD 20 BA 
FF                  ..
         JSR     LE206                           ; E1E0 20 06 
E2                  ..
         JSR     LE257                           ; E1E3 20 57 
E2                  W.


- Ted

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

Archive generated by hypermail 2.2.0.