In this case V=0 will be executed,

STATEMENT

SYNTAX/FUNCTION

RESTORE

RESTORE

 

Allows the re-reading of DATA statements,

 

After a RESTORE, the next piece of data

 

read will be the first piece listed in the first

 

DATA statement of the program. The

 

second piece of data read will be the second

 

piece listed in the first DATA statement,

 

and so on as in a normal READ operation.

STATEMENT

SYNTAX/FUNCTION

RETURN

RETURN

 

Causes a subroutine to return to the state-

 

ment after the most recently executed

 

GOSUB.

STATEMENT

SYNTAX/FUNCTION

STOP

STOP

 

Causes a program to stop execution and to

 

enter command mode.

 

Prints BREAK IN LINE 900. (As per this

 

example.) CONT after a STOP branches

 

to the statement following the STOP.

STATEMENT

SYNTAX/FUNCTION

USR

USR (argument)

 

Calls the user's machine language subroutine

 

with the argument. See PEEK and POKE in

 

Subject 303, and Appendix F.

SYMBOL

SYNTAX/FUNCTION

WAIT

WAIT (address, mask [, select] )

 

This statement reads the contents of the

 

addressed location, does an Exclusive-OR

 

with the select value, and then ANDs the

 

result with the mask. This sequence is

 

repeated until a non-zero result is obtained,

 

at which time execution continues at the

 

statement that follows WAIT. If the WAIT

 

statement has no select argument, the

 

select value is assumed to be zero. If you

 

are waiting for a bit to become zero, there

 

should be a "one" in the corresponding

 

bit position of the select value. The select

 

value (K) and the mask value (J) can range

 

from 0 to 255. The address (I) can range

 

from 0 to 65535.

305INPUT/OUTPUT STATEMENTS

STATEMENT SYNTAX/FUNCTION

DATA

DATA item [, item...]

 

 

Specifies data, read from left to

right.

 

Information appears in data statements in

 

the same order

as it will be read

in the

 

program.

 

 

 

Strings may be read from DATA state-

 

ments. If you

want the string to

contain

 

leading spaces

(blanks), colons (:) or

505 V=0: REM SET V=0

EXAMPLE

510 RESTORE

EXAMPLE

50 RETURN

EXAMPLE

900 STOP

EXAMPLE

200 V=USR(W)

EXAMPLE

805 WAIT I,J,K

806 WAIT I,J

EXAMPLE

10 DATA 1,3,-1E3,.04

20 DATA "FOO",Z1

Page 242
Image 242
Apple II manual Statement SYNTAX/FUNCTION Restore, Statement SYNTAX/FUNCTION Return, Statement SYNTAX/FUNCTION Stop

II specifications

The Apple II, launched in April 1977, was one of the first highly successful mass-produced microcomputer products. It marked a significant leap in personal computing, setting standards for future developments in the industry. Created by Steve Wozniak and Steve Jobs, the Apple II differentiated itself with its user-friendly design, appealing aesthetics, and robust capabilities.

One of the standout features of the Apple II was its open architecture, which allowed users to expand and enhance the computer's functionality. This design enabled hundreds of third-party hardware and software developers to contribute to its ecosystem, resulting in an array of peripherals, including printers, modems, and storage devices. The Apple II utilized a MOS Technology 6502 microprocessor running at a clock speed of 1 MHz. Initially equipped with 4 KB of RAM, the machine could be expanded to 48 KB, accommodating more complex applications and programs.

The Apple II was also notable for its colorful graphics. It was one of the first computers to support color display, offering a 6-color palette with a resolution of 280x192 pixels in 16 colors when using its Color Graphics Card. This feature significantly enhanced the visual appeal of games and educational software developed for the platform, making computing more accessible and entertaining for various audiences.

Apple's commitment to user experience was evident in the design of the machine. It featured an integrated keyboard and a plastic case, which was both durable and visually appealing. The self-contained design included drive bays for floppy disk drives, allowing for quicker data access than traditional tape drives. It also supported audio output, enabling sound effects and music, a novelty at the time.

The introduction of the Apple DOS operating system further underscored the machine's capabilities. DOS streamlined file management and made it easier for users to navigate and manage their data. The combination of hardware and software positioned the Apple II as an educational tool and a gaming platform, fostering a vibrant software ecosystem.

The Apple II family continued to evolve, with variations like the Apple II+, IIe, and IIgs being introduced over the years. These iterations brought enhancements in memory, processing power, and graphics capabilities. The legacy of the Apple II endures, not only as a foundational product in personal computing but also as a symbol of innovation that paved the way for future advancements in technology. Its impact is still felt today, as it inspired countless developers and shaped the trajectory of the computer industry.