Cold Start Code
In order to start the program in the EPROM (at power-on and reset), you need code to set up the Forth machine. The word InitProgram takes care of this. It is called by the reset vector. -- Next
- This is the final EPROM code.You are ready to generate the code file for burning the EPROM. But you probably prefer to test the cold start first.
- Usually the reset vector points to the monitor and lets you regain control when the program runs wild. If the reset vector is set to the start of the application, you can't return to the monitor -- unless you provide for this case. See how this is done in the word InitProgram in the image.
- If the monitor contact is completely lost, bootload the monitor to the target again.