광고
광고
Chapter
1
General Information
About Commodore BASIC
1.1 INITIALIZATION
Cold start may be accomplished in any of three ways which all have the same resulting display as shown in Figure 1. The first, power-on, generates a system reset and initializes
BASIC and OS variables. A reset signal may also be generated without power-on by a connection on the memory expansion connector. Finally, a SYS or branch to initialization code may be accomplished under program control.
Figi
1.2 MODES OF OPERATION
In direct mode, BASIC commands and statements are not preceded by line numbers. They are executed as they are entered. Results of arithmetic and logical operations may be displayed immediately and stored for later use, but the instructions themselves are lost after execution. This mode is useful for debugging and for using BASIC as a "calculator" for quick computations that do not require a complete program.
The indirect mode is the mode used for entering programs. Program lines are preceded by line numbers and are stored in memory. The program stored in memory is executed by entering the RUN command.
1
다운로드
광고