REM File: AUTOEXEC.BAS Date: 07/22/92 REM REM /* (c) Copyright BLUE EARTH RESEARCH, MANKATO, MN 1992. */ REM /* All rights reserved. */ REM REM This program will initialize the controller for the autoexecute REM mode. This mode is particularly useful for dedicated applications REM where it is not possible to input a space character at reset. In the REM autoexecute mode, the controller will automatically execute the REM first program in ROMSim on reset. This program configures the REM controller to operate at 9600 baud. For other baud rates, refer to REM the User's Manual page 18-11. Note: This program only needs to be REM executed once to invoke the autoexec mode. It does NOT need to be REM executed each time that the controller is reset. REM To implement the autoexecute mode, the following procedure REM should be followed: REM 1. This program should be executed (once) to initialize the REM controller in the autoexec mode. REM 2. The program to be autoexecuted must be the first program in REM ROMsim. The controller's ROMsim should be write protected. REM 3. Reset the controller. The first program in ROMSim will execute. REM NOTE: If you wants to provide a way of exiting the autoexecute REM mode, the file AUTOEXIT.BAS posted in this SIG may be of interest. 1 REM AUTOEXEC.BAS REM LOAD FIXED BAUD RATE OF 9600 BAUD 10 XBY(6002H)=0FFH 20 XBY(6003H)=0D9H REM LOAD USER FIXED BAUD RATE TAG 30 XBY(6001H)=0BBH REM LOAD AUTO EXECUTE TAG 40 XBY(6007H)=0DDH