Apple II manual Output PHA, Outall PHA

Models: II

1 257
Download 257 pages 49.17 Kb
Page 164
Image 164

1469

E973

 

 

 

;READ AND ECHO A CHAR FROM KB OR TTY

1470

E973

20

83

FE

REDOUT JSR

CUREAD

 

1471

E976

C9

0D

 

RED2

CMP

#CR

 

1472

E978

F0

C1

 

 

BEQ RCHT1

;DO NOT ECHO <CR>

1473

E97A

 

 

 

 

 

 

 

1474

E97A

 

 

 

;OUTPUTS A

CHAR TO EITHER TTY OR D/P

1475

E97A 48

 

 

OUTPUT PHA

 

;SAVE IT

1476

E97B AD 11 A4

OUT1

LDA

PRIFLG

;IF LSB=1 OUTPUT ONLY TO DISP

1477

E97E 29 01

 

 

AND

#$01

 

1478

E980

F0

04

 

 

BEQ

OUT1A

 

1479

E982

68

 

 

 

PLA

 

 

1480

E983

4C

02

EF

 

JMP OUTDP1

;ONLY TO DISPL

1481

E986

20

42

E8

OUT1A

JSR TTYTST

;TTY OR KB ?

1482

E989

D0

04

 

 

BNE

OUT2

 

1483

E98B 68

 

 

 

PLA

 

 

1484

E98C 4C A8 EE

 

JMP OUTTTY

;TO TTY

1485

E98F 68

 

 

OUT2

PLA

 

 

1486

E990

4C

FC EE

 

JMP OUTDP

;TO DISP & PRINTR

1487

E993

 

 

 

 

 

 

 

1488

E993

 

 

 

;GET A CHR

FROM CURRENT INPUT DEVICE (SET ON INFLG)

1489

E993

AD 12 A4

INALL

LDA

INFLG

 

1490

E996

C9

54

 

 

CMP

#'T'

 

1491

E998

D0

03

 

 

BNE

*+5

 

1492

E99A 4C 3B ED

 

JMP

TIBYTE

;CHAR FROM BUFFER

1493

E99D C9 4B

 

 

CMP

#'K'

;WITH KIM FORMAT

1494

E99F D0 03

 

 

BNE

*+5

 

1495

E9A1 4C 29 EE

 

JMP

GETTAP

;DIRECTLY FROM TAPE

1496

E9A4 C9 4D

 

 

CMP

#'M'

;MEMORY FOR ASM?

1497

E9A6 D0 03

 

 

BNE

*+5

 

1498

E9A8 4C D0 FA

 

JMP

MREAD

 

1499

E9AB C9 55

 

 

CMP

#'U'

;USER ROUTINE?

1500

E9AD D0 04

 

 

BNE

*+6

 

1501

E9AF 38

 

 

 

SEC

 

;SET FLG FOR NORMAL INPUT

1502

E9B0 6C 08 01

 

JMP

(UIN)

 

1503

E9B3 C9 4C

 

 

CMP

#'L'

;TO LOAD PPR TAPE

1504

E9B5 D0 A8

 

 

BNE

RDRUP

 

1505

E9B7 4C DB EB

 

JMP GETTTY

; FROM TTY

1506

E9BA

 

 

 

 

 

 

 

1507

E9BA

 

 

 

;.FILE

A2

 

 

1508

E9BA A9 3B

 

SEMI

LDA #SEMICOLON

;OUTPUT A ";"

1509

E9BC

 

 

 

;WRITE

A CHR TO OUTPUT DEVICE (SET ON OUTFLG)

1510

E9BC 48

 

 

OUTALL PHA

 

 

1511

E9BD AD 13 A4

 

LDA

OUTFLG

 

1512

E9C0

 

 

 

;TAPE BY BLOCKS

 

1513

E9C0 C9 54

 

 

CMP #'T'

;TAPES ?

1514

E9C2 D0 04

 

 

BNE

OUTA1

 

1515

E9C4 68

 

 

 

PLA

 

 

1516

E9C5 4C 8B F1

 

JMP TOBYTE

;OUTPUT ONE CHAR TO TAPE BUFFER

1517

E9C8

 

 

 

;TAPE KIM FORMAT

 

1518

E9C8 C9 4B

 

OUTA1

CMP #'K'

;KIM-1 ?

1519

E9CA D0 04

 

 

BNE

OUTA2

 

1520

E9CC 68

 

 

 

PLA

 

 

1521

E9CD 4C 4A F2

 

JMP

OUTTAP

 

1522

E9D0

 

 

 

;PRINTER

 

 

1523

E9D0 C9 50

 

OUTA2

CMP #'P'

;PRINTER ?

1524

E9D2 D0 0E

 

 

BNE

OUTA3

 

1525

E9D4 38

 

 

 

SEC

 

;TURN PRINTER ON

1526

E9D5 6E 11 A4

 

ROR

PRIFLG

 

1527

E9D8 68

 

 

 

PLA

 

 

1528

E9D9 08

 

 

 

PHP

 

 

1529

E9DA 20 00 F0

 

JSR

OUTPRI

 

1530

E9DD 28

 

 

 

PLP

 

 

 

 

 

 

 

 

 

 

 

Page 164
Image 164
Apple II manual Output PHA, Outall PHA

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.